cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for returns Sales Order

Former Member
0 Kudos

Hi,

I have a BAPI for sales order creation.

Can I use the same BAPI for returns process of sales order and how because it asks for some business object(BUS2032 or something like that) when the file we are using having document type as RE(Returns)

If the business object is required then how can we find that or get it ?

Please suggest ASAP

Regards,

manOO

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

We can find the business objects in the transaction sw01.

Path : - sw01 -> Business object repository -> all object types.

Then you need to select the object that you need to create.

For example if you need to create a debit memo request.

path : - Sales and Distribution -> Sales -> Debit memo request . Here you can find that ur business object is BUS2096.

You can double click on it and you can check if there are any methods avaiable.

As per the conversation above the ur object is BUS2102.

Please note that BAPI_CUSTOMERRETURN_CREATE is not released by sap as of 4.7.

So, we actually need to use BAPI_SALESDOCU_CREATEFROMDATA which is also not released but supported by SAP.

Please refer to the OSS note 93091.

Former Member
0 Kudos

Hi, you need to use the business object BUS2102 and the BAPI to be used is

BAPI_CUSTOMERRETURN_CREATE. But, please check if the bapi is released in your SAP version (as of 4.7 its not released).

reward if it helps

Krishna

Former Member
0 Kudos

Hi,

Thanks for the feedback.I am a functional consultant.Can you please let me know something more about this object.I mean in BAPI, is the business object similar to Reference object type ?

How can we find a business object in general in SAP ? Any idea?

Thanks in advance.

Regards,

manOO

Former Member
0 Kudos

Hi,

Business object is like grouping of related business processes. Like BUS2032 is for sales order process and it contails create/change/get list etc.

You can check the list of business objects from t.code BAPI.

Reward if it helps

Krishna