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: 

How to get data from initial screen of tcode CS01.

0 Kudos

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,

1 ACCEPTED SOLUTION

Former Member
0 Kudos


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

4 REPLIES 4

jogeswararao_kavala
Active Contributor
0 Kudos

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

former_member221194
Participant
0 Kudos

hi frnd,

     try using field symbol..

FIELD-SYMBOLS <LS> TYPE ANY.

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



it works fine for me...


regards

sudip

Former Member
0 Kudos


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

0 Kudos

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