Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8538

Re: How to make the field VBEP-LIFSP = Y2' whenever sales order is created.

$
0
0

Hi Jyothi,

 

SAVE_DOCUMENT_PREPARE it's ok too

 

Some notes and remarks

  • Suggestion, instead of TCODE, you can test variable  t180-trtyp = 'H', it means i'm in creation mode (so you intercept both VA01 and VA21 for example)
  • Remarks: you debugged your code? i doubt it could works. Try to apply mine and let me know if ok,

FIELD-SYMBOLS: <f_vbep> LIKE LINE OF xvbep.

 

if SY-TCODE = 'VA01'.

     LOOP AT xvbep ASSIGNING <f_vbep>.

          <f_vbep>-lifsp  = 'Y2'.

     ENDLOOP:

ENDIF.


Viewing all articles
Browse latest Browse all 8538

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>