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

Problem in Sales Return bapi..

Former Member
0 Likes
1,105

Dear Gurus,

I m Using Bapi BAPI_CUSTOMERRETURN_CREATE for creating return sales order...which is working perfectly,

But here the problem is when i am giving quantity value in TARGET_QTY, the sales return order is creating with the 0 quantity.

when i try manually with VA01 transaction quantity is coming in the order....

Please help me in this..

-Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
533

Hi,

U pass the QTY to Schedule Lines

RETURN_SCHEDULES_IN-REQ_QTY = Qty value.

and

RETURN_SCHEDULES_IN-REQ_QTY = 'X'.

U try this it will work.

OR

Check the update flag

RETURN_ITEMS_INX-TARGET_QTY = 'X'.

Reward if useful...

Thanks,

Durai.V

Edited by: Durai V on Jun 27, 2008 12:24 PM

Edited by: Durai V on Jun 27, 2008 12:31 PM

4 REPLIES 4
Read only

Former Member
0 Likes
533

chk with all parameters(manadatory) for the BAPI..

u may have missed a small think

Read only

Former Member
0 Likes
534

Hi,

U pass the QTY to Schedule Lines

RETURN_SCHEDULES_IN-REQ_QTY = Qty value.

and

RETURN_SCHEDULES_IN-REQ_QTY = 'X'.

U try this it will work.

OR

Check the update flag

RETURN_ITEMS_INX-TARGET_QTY = 'X'.

Reward if useful...

Thanks,

Durai.V

Edited by: Durai V on Jun 27, 2008 12:24 PM

Edited by: Durai V on Jun 27, 2008 12:31 PM

Read only

0 Likes
533

Thanks Durai..its working fine....

Read only

0 Likes
533

Hi Raj,

i am working on salesorder return BAPI ie same one BAPI_CUSTOMERRETURN_CREATE

can u please tell me wat are the essenial input.

Regards

Sagar