Application Development 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: 

Return Order creation with reference to Billing Doc

former_member192971
Participant
0 Kudos

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

maciej_domagaa
Contributor
0 Kudos

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

1 REPLY 1

maciej_domagaa
Contributor
0 Kudos

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