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_CUSTOMERRETURN_CREATE

Former Member
0 Likes
1,544

Hi Friends,

I have a requirement to create return sales order with reference to invoice, for this i used BAPI_CUSTOMERRETURN_CREATE, i passed all the values in Header, Item and parner.

by executing this , i will get this status

T ID NUM MESSAGE

S V4 233 SALES_HEADER_IN has been processed successfully

S V4 233 SALES_ITEM_IN has been processed successfully

W V1 555 The sales document is not yet complete: Edit data

S V1 261 FBIL Customer Return 10000896 has been saved (no delivery created)

here it shows Sales order created with number 10000896, but i open this sales order, it shows order is not created.

but by doing manual(VA01) sales order is created successfully.

please tell me where i'm Wrong, and how can i solve this problem?

Thanks and regards

Giridhar Reddy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,229

Hi,

After BAPI_CUSTOMERRETURN_CREATE use the funciton module BAPI_TRANSACTION_COMMIT.

Then your problem will solve.

Thanks,

radha.

4 REPLIES 4
Read only

Former Member
0 Likes
1,230

Hi,

After BAPI_CUSTOMERRETURN_CREATE use the funciton module BAPI_TRANSACTION_COMMIT.

Then your problem will solve.

Thanks,

radha.

Read only

0 Likes
1,229

Thanks for your reply.

Now i am facing new problem.

for some billing documents successfully create the SO and delivery.

But for some it shows the following error

T ID NUM MESSAGE

S V4 233 SALES_HEADER_IN has been processed successfully

E V1 320 No item category available (Table T184 ZRE TEXT )

E V4 248 Error in SALES_ITEM_IN 000010

E V4 219 Sales document was not changed .

and also one more thing....

for items more than 10....1 item is for freee.....

in this case for free goods ,shows the same error mentioned above.

please help me in these errors..

most urgent...

Regards

Giridhar reddy

Edited by: Giridhar Reddy on Sep 1, 2008 2:36 PM

Read only

0 Likes
1,229

my problem is solved by myself.

How to create PGR and Credit Memo for return orders. i already crested So and delivery for return orders.

Please provide the code and necessary bapis for those.

Thanks & Regards

Giridhar Reddy

Read only

0 Likes
1,229

Hi

[Credit MEmo|]

Regards

Pavan