Application Development and Automation 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: 
Read only

BAPI

Former Member
0 Likes
531

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
Read only

Former Member
0 Likes
487

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
Read only

Former Member
0 Likes
488

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

Read only

0 Likes
487

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.

Read only

0 Likes
487

Yes. Exactly.

Regards,

Ravi