08-17-2009 12:53 PM
Hi Gurus,
Can anyone please help me to update the VBEP-LIFSP (Delivery Block) using the FM - 'BAPI_SALESORDER_CHANGE'. This is for a CRM order. For Normal order the below code works, but for CRM order the ETENR value is changed to 4001 in program - SAPFV45E --FV45EF0V_VBEP-ETENR_ERMITTELN (SEarch for Set etenr from CRM Order). There the exisitng value is changed to 4001. Please let me know if there is any other FM /BAPI to update the VBEP-LIFSP. Thanks in advance for your help.
Regards
08-18-2009 10:44 AM
Hi
Try changing the value of following schedule lines internal table
SCHEDULE_LINESX-REQ_DLV_BL = 'X'
SCHEDULE_LINES-REQ_DLV_BL = 2 digit value
any of the following values
01-Credit limit
02 - Political reasons
03 - Bottleneck material
04 Export papers missng
05 Check free of ch.dlv
06 No printing
07 Change in quantity
08 Kanban Delivery
09 JIT delivery (PDS)
30 Price Chng Approval
Regards
Madhan D
08-18-2009 11:22 AM
hii,
try using Function Module SD_SALES_SCHEDULE_MAINTAIN
CALL FUNCTION 'SD_SALES_SCHEDULE_MAINTAIN'
EXPORTING
FVBEPKOM = VBEPKOM
EXCEPTIONS
ERROR_MESSAGE = 01.
regards,
Shweta