Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI

Former Member
0 Kudos

Hello Friends,

I am Using BAPI_PLANNEDORDER_CHANGE to change the quantity of the order.

IN the exporting parameters i am a bit confused,

EXPORTING

plannedorder = '1234567890'

headerdata =

headerdatax =

Basically I am confused between the headerdata and the headerdatax.

Whats the purpose of this structures. Where do I pass values.

ANy suggestions...

MAdhu...

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

HI madhu,

The actual data is to be passed to Headerdata structure.

To whichever fields you are passing values, you should pass an 'X' in the HEADERDATAX structure.

For example there is a field with name field1 in the header data,

header-data-field1 = <value>.

headerdatax-field1 = 'X'.

Regards,

Ravi

3 REPLIES 3

former_member181962
Active Contributor
0 Kudos

HI madhu,

The actual data is to be passed to Headerdata structure.

To whichever fields you are passing values, you should pass an 'X' in the HEADERDATAX structure.

For example there is a field with name field1 in the header data,

header-data-field1 = <value>.

headerdatax-field1 = 'X'.

Regards,

Ravi

0 Kudos

Thanks Ravi.

So I need not pass the exisiting quantity, All I need to pass the quantity that I want ( new quantity) to my order.

Thanks Again.

Madhu.

0 Kudos

Yes. Exactly.

Regards,

Ravi