‎2009 May 06 4:14 PM
Hello Experts ,
i want to calculate the Return Order for the materials .
so i am plan to use BAPI_CUSTOMERRETURN_CREATE .i want to know what are the inputs for this BAPI
when i search in SCN i got this thread . but it not clear to me .
in that below thread in first select query they fetching some fields from /bmw/atl_zu_i455 . but i hope that is not a table . what is that ?
and i also searched the documentation for this bapi in NAPI t-code . but i dint get that .
please provide your help .
regards
chinnaiya P
‎2009 May 06 4:30 PM
For your reference copied from the program : RBUS2102
CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
EXPORTING
INT_NUMBER_ASSIGNMENT = INTNUMBERASSIGNMENT
BEHAVE_WHEN_ERROR = BEHAVEWHENERROR
LOGIC_SWITCH = LOGICSWITCH
TESTRUN = TESTRUN
CONVERT = CONVERT
SALESDOCUMENTIN = SALESDOCUMENTIN
RETURN_HEADER_IN = RETURNHEADERIN
RETURN_HEADER_INX = RETURNHEADERINX
SENDER = SENDER
BINARY_RELATIONSHIPTYPE = BINARYRELATIONSHIPTYPE
IMPORTING
SALESDOCUMENT = OBJECT-KEY-SALESDOCUMENT
TABLES
RETURN_CFGS_VK = RETURNCFGSVK
RETURN_CFGS_BLOB = RETURNCFGSBLOB
RETURN_CFGS_VALUE = RETURNCFGSVALUE
RETURN_CFGS_PART_OF = RETURNCFGSPARTOF
RETURN_CFGS_REFINST = RETURNCFGSREFINST
RETURN_TEXT = RETURNTEXT
RETURN_KEYS = RETURNKEYS
EXTENSIONIN = EXTENSIONIN
PARTNERADDRESSES = PARTNERADDRESSES
RETURN = RETURN
RETURN_ITEMS_IN = RETURNITEMSIN
RETURN_ITEMS_INX = RETURNITEMSINX
RETURN_PARTNERS = RETURNPARTNERS
RETURN_SCHEDULES_IN = RETURNSCHEDULESIN
RETURN_SCHEDULES_INX = RETURNSCHEDULESINX
RETURN_CONDITIONS_IN = RETURNCONDITIONSIN
RETURN_CFGS_REF = RETURNCFGSREF
RETURN_CFGS_INST = RETURNCFGSINST
EXCEPTIONS
OTHERS = 01.Ask your functional consultant to get the correct data and test BAPI in se37 itself, so that you can come to clear idea then you can do the coding based on your testing results.
Satyasuresh
‎2009 May 06 5:21 PM
Check out on function module documentation.
See which are the mandatory fields for the function module.
Pass those values properly and then see if you get success.
Also function module documentation explains structures detail.
Regards,
Lalit Mohan Gupta.