cancel
Showing results for 
Search instead for 
Did you mean: 

Passing RFC output structure to another RFC input structure.

Former Member
0 Kudos

Hello Friends,

I have 2 views (i.e. SearchView & ResultView). In search view, I pass input parameter (PO Number) to BAPI_PO_GETITEMS and get back the output table PO_ITEMS correctly. I display this table in the ResultView correctly. Now, after displaying the order details, I need to pass this input to BAPI_GOODSMVT_CREATE in its GOODSMVT_ITEM structure to create a Good Movement Note.

Can somebody help me as to how could I pass values from PO_ITEMS to GOODSMVT_ITEM structure?

Thanking you in advance,

Maulin

Accepted Solutions (1)

Accepted Solutions (1)

roberto_tagliento
Active Contributor
0 Kudos

Look to "copy node".

In this days there are alot of topic about it.

You must copy the nodes.

Look <b>WDCopyService</b>

exist also WDCopyService with <b>moveCorrespondingField</b>

Message was edited by:

Roberto Tagliento

Answers (1)

Answers (1)

Dheerendra
Participant
0 Kudos

Hi,

You can pass the input of BAPI_PO_GETITEMS to the BAPI_GOODSMVT_CREATE .

For this u need to first understand and read the BAPI throughly, means u must read how your two bapi's are working and what are the relation ship b/w them.

Also, i assume that in a ur webdynpro application u already imported all required BAPI and just simple take the user Input from the context and pass it to the next Bapi.

Hope so it can solve ur pb,If there is any more query, put in forum.

Thanks

Dheerendra Shukla