Skip to Content

How to get data from initial screen of tcode CS01.

Hi everybody,

I want to write a logic on SAVE of BOM in CS01 transaction. I have used BADI BOM_UPDATE to trigger my code when user saves data in CS01.

In the method of BADI I need to put condition based on BOM Usage entered by user in initial screen of CS01.

So please help me, how do i get data from initial screen of CS01 and use it in method.

Field name for BOM usage is STLAN.

Thanks in advance,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 08, 2015 at 11:44 AM


    Hi Patil,

    To get the control on intial screen of CS01 tcode, we have to go for userexits, instead of BADI.

    PCSD0003  BOMs: Customer fields in header

    Hope it may helps u..

    Regards,

    Krishna

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 08, 2015 at 11:32 AM

    hi frnd,

         try using field symbol..

    FIELD-SYMBOLS <LS> TYPE ANY.

         ASSIGN ('(SAPLCSDI)RC29N-STLAN') TO <LS>.



    it works fine for me...


    regards

    sudip

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 03, 2015 at 01:35 PM

    You can get STLAN field from inside the CS01 too, by clicking on .


    Add comment
    10|10000 characters needed characters exceeded

  • Jan 31, 2015 at 03:30 AM

    Thanks everyone for your replies. All suggestion are really helpful.

    Add comment
    10|10000 characters needed characters exceeded