cancel
Showing results for 
Search instead for 
Did you mean: 

Trasferring context from bapi

Former Member
0 Kudos

Hi all,

I'm making a web dynpro progect that makes a list of the sales orders with BAPI_SALESORDER_GETLIST and changing the value of SHORT_TEXT with BAPI_SALESORDER_CHANGE.

I've used the first bapi output to fill the ChangeSalesOrderView but how can i copy the context node values from the GETLIST output to the CHANGE input?

thanks,

Daniele

p.s. i've another doubt why does NetWeaver makes 2 models for each BAPI? It's because the fist is in display mode and the other in modify?

View Entire Topic
Yashpal
Active Contributor
0 Kudos

Hi Daniele,

I think in ur program u select any salesorder and then modify it okay u can get the selected data through the current selected node

like wdContext.nodeName().CurrentNodeNameElement().getAttributeNaem()....using this set the input for the change parameter u want......

Now answer to ur second question ......

In RFC u have Import ,Export and Tables Parameter.....

so in Dynpro Side......

Import->RFCName_Input

Export->Output

tables->present in both Input and Output

Classes-> if structure is used as any of the types...above

Regards,

yash