2007 May 10 12:11 PM
I have a situation where I have to copy external HU no.( VEKP-EXIDV ) to SU no. (LEIN-LENUM) within a badi DELIVERY_PUBLISH.
2007 Jun 14 9:22 AM
Hi
If you solved your problem
could you tell me how could I customise HU Type of External Handling Unit Identifier that Indicates how the external handling unit identifier is determined?
ed
I have a situation where I have to copy external HU no.( VEKP-EXIDV ) to SU no. (LEIN-LENUM) within a badi DELIVERY_PUBLISH.
2007 Jun 14 9:22 AM
Hi
If you solved your problem
could you tell me how could I customise HU Type of External Handling Unit Identifier that Indicates how the external handling unit identifier is determined?
ed
2007 Jun 14 9:28 AM
Hi,
Methods of this BADI don't have any parameters and documentation(<b>OSS note 787285</b>) but anyway you can get delivery number using well-known trick:
METHOD if_ex_delivery_publish~publish_after_save.
CONSTANTS:
c_program_variable(32) TYPE c VALUE '(SAPMV50A)XLIKP'.
FIELD-SYMBOLS:
<fs_symbol> TYPE ANY.
ASSIGN (c_program_variable) TO <fs_symbol>.
DATA:
likpvb_val TYPE likpvb,
vbeln_val TYPE likp-vbeln.
likpvb_val = <fs_symbol>.
vbeln_val = likpvb_val-vbeln.
your READ_TEXT logic for delivery vbeln_val
ENDMETHOD.
<b>*Reward points</b>
Regards