cancel
Showing results for 
Search instead for 
Did you mean: 

Setting UPDATE FLAG for BAPI_SALESORDER_CHANGE

Former Member
0 Kudos

Hi all experts ,

I am developing application in Web Dynpro(Java) for changing sales order using BAPI_SALESORDER_CHANGE.

Can anyone please let me know how do set update flag for this.I am using like

wdContext.currentOrder_Item_InxElement().UPDATEFLAG.equals("U");

But that gives me error

-


Field header_inx-updateflag is not an input field

ant help is appreciated.

Thanks

Sunil Pawar

Accepted Solutions (1)

Accepted Solutions (1)

PradeepBondla
Active Contributor
0 Kudos

Hi,

is Update flag is under input/import parameters? error shows its not an import parameter.

check in the back end what are the import paramters, if updateflag is import paramter then check the type / value of that attribute. if its a import parameter you will be setting a value to it like this....

wdContext.currentOrder_Item_InxElement().setUPDATEFLAG.equals("U");

set will come before the attribute name (automatically)

If it is not an import / input parameter you can not set the value to it.

regards,

Pradeep

Former Member
0 Kudos

Hi Pradeep,

Thanks your help.

I am trying with your code snip.but having same problem.

Bye the way can you please let me know from where do I get examples of handling BAPI in webdynpro JAVA.

currently I have only one .pdf file link

[/docs/DOC-8061#19|/docs/DOC-8061#19]

[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c]

Please do let me know if there are any other source for help.

Regards

Sunil Pawar

( Pune-Maharashtra )

Answers (0)