‎2008 Aug 31 6:27 AM
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
‎2008 Sep 01 5:16 AM
Hi,
After BAPI_CUSTOMERRETURN_CREATE use the funciton module BAPI_TRANSACTION_COMMIT.
Then your problem will solve.
Thanks,
radha.
‎2008 Sep 01 5:16 AM
Hi,
After BAPI_CUSTOMERRETURN_CREATE use the funciton module BAPI_TRANSACTION_COMMIT.
Then your problem will solve.
Thanks,
radha.
‎2008 Sep 01 1:21 PM
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
‎2008 Sep 02 5:08 AM
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
‎2008 Sep 02 6:28 AM