‎2006 Aug 20 1:57 PM
Hi ALL,
I have a requirement in which i have to automate the Returns order creation .. should "BAPI _ CUSTOMERRETURN _ CREATE" be used for this .. i have with me VBELN(Billing document) from VBRP (table) and i have a fixed payer with me, how do i use this BAPI .please please help its urgent and important .
Thanx a ton in advance!!
Balwant
‎2006 Aug 20 2:21 PM
Hi,
Yes you can use the BAPI to create the sales return.
you may need to pass
REF_DOC = Invoice no..
REFDOC_CAT = 'M'. category m is for invoice.
USe the following parameters::
RETURN_HEADER_IN
-DOC_TYPE RE
-SALES_ORG 0010
-DISTR_CHAN 10
-DIVISION 10
-PURCH_DATE 07/13/2004
-INCOTERMS1 3-5
-INCOTERMS2 ORIGIN
-PMNTTRMS NT00
-DLVSCHDUSE QA1
RETURN_ITEMS_IN -ITM_NUMBER 000000
-MATERIAL 20409-03-11
-TARGET_QTY 1.000
RETURN_PARTNERS -PARTN_ROLE SP
-PARTN_NUMB 1002
-ITM_NUMBER 000000
Hope this helps.
Cheers
VJ
Message was edited by: Vijayendra Rao
‎2006 Aug 20 2:21 PM
Hi,
Yes you can use the BAPI to create the sales return.
you may need to pass
REF_DOC = Invoice no..
REFDOC_CAT = 'M'. category m is for invoice.
USe the following parameters::
RETURN_HEADER_IN
-DOC_TYPE RE
-SALES_ORG 0010
-DISTR_CHAN 10
-DIVISION 10
-PURCH_DATE 07/13/2004
-INCOTERMS1 3-5
-INCOTERMS2 ORIGIN
-PMNTTRMS NT00
-DLVSCHDUSE QA1
RETURN_ITEMS_IN -ITM_NUMBER 000000
-MATERIAL 20409-03-11
-TARGET_QTY 1.000
RETURN_PARTNERS -PARTN_ROLE SP
-PARTN_NUMB 1002
-ITM_NUMBER 000000
Hope this helps.
Cheers
VJ
Message was edited by: Vijayendra Rao
‎2006 Aug 20 2:38 PM
I GET AN ERROR "Sales document type is not defined"
DO I NEED TO PASS SOMETHING ELSE ??
THANX IN ADVANCE
BALWANT
‎2006 Aug 21 1:51 PM
HI VIJAYENDRA,
Thanx a lot for your prompt help..
i am able to create automatic return order creation ..
but with small error "vehicle usage" missing data.
i had passed all the parameters except DLVSCHDUSE(RETURN_HEADER_IN ), since i couldnt find usage indicator field value ,in any of the tables , i searched. Kindly help in this regard.. i will award u full points :).
Thanx a lot
Balwant
‎2010 Nov 15 9:25 AM
Hi,
I am trying to create a return with reference to an invoice.
I am able to create the return but the item pricing does not match the invoice item pricing.
It is taken fresh from pricing master
Can you assist?
Thanks
‎2010 Nov 15 9:52 AM
It's good that you searched, but you should open your own question, perhaps linking to this one. Thread locked.
matt