‎2011 Jul 12 9:01 AM
Greetings, colleagues!!!
I have written BATCH-INPUT on transaction VT02. I try to remove delivery from transportation. But for me does not work BATCH-INPUT because function of "Positioning" does not work in BATCH-INPUT. Prompt please. How I can remove delivery from transportation in my program using functionality of transaction VT02?
Thanks for the help.
Sergey Kozymaev.
‎2011 Jul 12 11:06 AM
Hi Sergey;
Why do you use Batch Input method?
I think If there are any BAPI our process We should use BAPI.
If you want use below BAPIs for VT02 / VT02N process.
Best regards.
BAPI_SHIPMENT_CREATE
BAPI_SHIPMENT_CHANGE
‎2011 Jul 13 3:31 AM
I am sorry for that I have not told about version SAP of system. I work in system of the version 4.6C and there was not present BAPI_SHIPMENT_CHANGE.
‎2011 Jul 13 4:30 PM
Do you have FM SD_SHIPMENT_PROCESS_EXT_CHANGE? That's all that BAPI calls pretty much...
Otherwise tough luck, I'm affraid. Time for an upgrade.
‎2011 Jul 14 3:12 AM
There was not present FM SD_SHIPMENT_PROCESS_EXT_CHANGE in system of the version 4.6C. I shall think. Thanks all.
‎2011 Jul 12 8:01 PM
I used this in a program a while ago, worked like a charm.
s_header-shipment_num = <shipment #>.
i_item-delivery = <delivery #>.
APPEND i_item.
i_itemaction-delivery = 'D'.
i_itemaction-itenerary = 'D'.
APPEND i_itemaction.
CALL FUNCTION 'BAPI_SHIPMENT_CHANGE'
EXPORTING
headerdata = s_header
headerdataaction = s_headeraction
TABLES
itemdata = i_item
itemdataaction = i_itemaction
return = i_return.