8

How to convert a parameter of type ANY to internal table , so that we can perfor...

 1 year ago
source link: https://answers.sap.com/questions/13738276/how-to-convert-a-parameter-of-type-any-to-internal.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
2 hours ago

How to convert a parameter of type ANY to internal table , so that we can perform table operation

19 Views

I have a class has a changing parameter of type 'ANY' .I am trying to assign the internal table in a Field symbol and delete two records which match certain conditions .

But I am facing some issues .Not sure where I am going wrong .

image.png

image.png

image.png

Created a field symbol of <ITAB> of type ANY .

Assigned CS_ENTITY to <ITAB>

After that created two filed symbols of type ANY TABLE and type ANY .

And wrote this piece of code .

I was trying to access Item deep structure as <FS>-SalesOrderItem or <FS>-Material .

But that is not working ,

And once after reading I am writing the statement

DELETE TABLE <fs> from <lwa> , It deletes the wrong record

I want to delete by Index , can somebody tell me where I am going wrong

image.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK