Application Development and Automation 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: 
Read only

BATCH-INPUT On transaction VT02 does not work.

Former Member
0 Likes
850

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.

5 REPLIES 5
Read only

former_member212713
Contributor
0 Likes
736

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

Read only

0 Likes
736

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.

Read only

0 Likes
736

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.

Read only

0 Likes
736

There was not present FM SD_SHIPMENT_PROCESS_EXT_CHANGE in system of the version 4.6C. I shall think. Thanks all.

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
736

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.