2005 Nov 02 11:57 AM
Hi,
I am using BAPI_CUSTOMERRETURN_CREATE for customer returns in sales order.
i am passing the parameters as shown below.
LW_LOGIC_SWITCH-PRICING = 'G'.
SORT LT_ITEM_IN1 BY ITM_NUMBER.
IF G_DATAR = C_SET AND NOT T_TC_0200[] IS INITIAL.
Call BAPI FM to Create Sales order.
CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
EXPORTING
RETURN_HEADER_IN = LW_HEADER
RETURN_HEADER_INX = LW_RETURN_HEADER_INX
BINARY_RELATIONSHIPTYPE = L_RELTYPE
LOGIC_SWITCH = LW_LOGIC_SWITCH
IMPORTING
SALESDOCUMENT = G_ORDER_NUMBER
TABLES
RETURN = LT_RETURN
RETURN_ITEMS_IN = LT_ITEM_IN1
RETURN_PARTNERS = LT_PARTNER2
RETURN_SCHEDULES_IN = LT_SCHEDULES
RETURN_CONDITIONS_IN = LT_ORDER_CONDITIONS_IN.
but the freight values are not being populated into the sales order.
can anybody please suggest me the solution.
thanks in advance,
Srikanth.
Hello,
Was there any solution to this problem?
I am facing the same issue - the return order is populated but the pricing conditions saved manually are not reflected in the return order created using bapi_customerreturn_create.
Any help?
Thanks in advance.
2005 Nov 02 12:03 PM
Hi Srikanth,
Did you use the Bapi_Transaction_Commit after this BAPI call?
Ravi
2005 Nov 02 1:14 PM
Hi Ravi,
i am using it.
i can see the sales order(Return) created but when it comes to the Pricing it is showing differently from the referenced order.
regards,
srikanth.
2010 Feb 02 2:20 PM
Hello,
Was there any solution to this problem?
I am facing the same issue - the return order is populated but the pricing conditions saved manually are not reflected in the return order created using bapi_customerreturn_create.
Any help?
Thanks in advance.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |