IF t180-trtyp = 'H'. " H represents Create mode for Inb delivery .
* your condition on the basis of which during creation distribution has to be suspended
IF sy-subrc eq 0.
* Set VLSTK as D , if an entry exists.
cf_likp-vlstk = chard.
ENDIF.
ELSEIF t180-trtyp = 'V'.
* Also the change mode has to be handled here. otherwise vlstk is set to status B [Distributed] . V represents the change mode through vl32N. [Change through idoc has to be tested.]
* your condition on the basis of which during change distribution has to be suspended or set for release after the checks
IF sy-subrc eq 0.
IF checks_done EQ 'X'.
cf_likp-vlstk = chara.
ELSE.
cf_likp-vlstk = chard.
ENDIF.
ELSE.
* this delivery is not relevant. No intervention .
ENDIF.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 | |
1 |