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

Return Order creation with reference to Billing Doc

Former Member
0 Likes
823

Hello Experts ,

     I want to create a  Function Module for Return Order Creation with reference to Billing Document .   For this , Which Standard BAPI we need to include to pass the Parameters of Billing Document Information,Invoice Number . And what are the Mandatory Parameters to pass in creation of Return Order . Could Anyone please Update me...

      Appreciate your help.

Thanks,

Uday.

1 ACCEPTED SOLUTION
Read only

Maciej_DomagaBa
Contributor
0 Likes
686

You can make it with the following fm and params:

CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'

  EXPORTING

    RETURN_HEADER_IN              =

    RETURN_HEADER_INX             =

    BEHAVE_WHEN_ERROR             =

    LOGIC_SWITCH                  =

  IMPORTING

    SALESDOCUMENT                 =

  TABLES

    RETURN                        =

    RETURN_ITEMS_IN               =

    RETURN_ITEMS_INX              =

    RETURN_PARTNERS               =

    RETURN_SCHEDULES_IN           =

    RETURN_SCHEDULES_INX          =

    RETURN_CONDITIONS_IN          =

    PARTNERADDRESSES              =

    .

good luck

regards

Hello Experts ,

     I want to create a  Function Module for Return Order Creation with reference to Billing Document .   For this , Which Standard BAPI we need to include to pass the Parameters of Billing Document Information,Invoice Number . And what are the Mandatory Parameters to pass in creation of Return Order . Could Anyone please Update me...

      Appreciate your help.

Thanks,

Uday.

1 REPLY 1
Read only

Maciej_DomagaBa
Contributor
0 Likes
687

You can make it with the following fm and params:

CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'

  EXPORTING

    RETURN_HEADER_IN              =

    RETURN_HEADER_INX             =

    BEHAVE_WHEN_ERROR             =

    LOGIC_SWITCH                  =

  IMPORTING

    SALESDOCUMENT                 =

  TABLES

    RETURN                        =

    RETURN_ITEMS_IN               =

    RETURN_ITEMS_INX              =

    RETURN_PARTNERS               =

    RETURN_SCHEDULES_IN           =

    RETURN_SCHEDULES_INX          =

    RETURN_CONDITIONS_IN          =

    PARTNERADDRESSES              =

    .

good luck

regards