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 USAGE .. URGENT !!

Former Member
0 Likes
817

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
725

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

5 REPLIES 5
Read only

Former Member
0 Likes
726

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

Read only

0 Likes
725

I GET AN ERROR "Sales document type is not defined"

DO I NEED TO PASS SOMETHING ELSE ??

THANX IN ADVANCE

BALWANT

Read only

0 Likes
725

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

Read only

0 Likes
725

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

Read only

matt
Active Contributor
0 Likes
725

It's good that you searched, but you should open your own question, perhaps linking to this one. Thread locked.

matt