Application Development 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: 

LE_SHIPMENT_BADI : method : At_Save, modify fields

Former Member
0 Kudos

Hi,

We can not change the vtrlk-trmtyp field.

We can use the LE_SHIPMENT_BADI, method is at_save.

Where is fault ?

if CHA_SHIPMENTS_AT_SAVE is initial.

CHA_SHIPMENTS_AT_SAVE = IM_shipments_AT_SAVE.

loop at cha_SHIPMENTS_AT_SAVE-new_vtrlk into waa_vtrlk .

waa_vtrlk-trmtyp = 'Z700'.

modify CHA_SHIPMENTS_AT_SAVE-new_vtrlk from waa_vtrlk.

endloop.

endif.

Thanks.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Check & Pass the correct indicators in FLAG_TRA_COMPLETE.

A Shipment data incomplete

B Changed shipment data complete, incomplete data missing

C All shipment data complete and available

No statement on completeness

__________ ____________________________________________________________

__________ ____________________________________________________________

Check & Pass correct vaue in TRA_SAVE_CALLER

FC Update of shipment costs

MASS Mass change for shipment VT06

LREG Register list

LCOM Complete list

IDOC IDoc inbound

TPS Transportation planning interface

CFP Freight planning by forwarding agent

IAC0 Tendering (old)

IAC Planning and tendering via Internet

MOB Status message via mobile devices

DIA Shipment dialog

DIA0 Shipment dialog (old)

COLR Collective processing for shipment

BAPI BAPI access

APO APO transportation planning

MOB_RF Radio frequency in shipment

__________ ____________________________________________________________

__________ ____________________________________________________________

__________ ____________________________________________________________

__________ ____________________________________________________________

0 Kudos

Hi again,

We check the variables ,

CHA_SHIPMENTS_AT_SAVE-FLAG_TRA_COMPLETE is 'C' and

CHA_SHIPMENTS_AT_SAVE-TRA_SAVE_CALLER is 'DIA'.

But the value of internal table NEW_VTRLK-TRMTYP can not change.

I think "updkz" is problem for me,

There is a "updkz" field of NEW_VTRLK. Is there a problem wtih "updkz" field

NEW_VTRLK-UPDKZ = 'U' or NEW_VTRLK-UPDKZ = ''.

0 Kudos

Hi,

I want to change VTRLP table at this method.

Could you please advise me what is correct indicator in this case?