Application Development and Automation 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: 
Read only

Screen Exit at(cs02 -tcode) bom item level not able to implement

Former Member
0 Likes
2,641

hi,

I am having one requirement.

ie. i need to create two fields in bom level item

but i fallow the steps correctly and i activated it.

everything is fine.

the exit name is...PCSD0003 .

i develop a small screen in screen painter and  acvated it..

1) i open the se11-> table -> stpo i append the structure two fields

    fid -> kunnr

   fname -> name1_gp.

2) i open cmod and create the project with exit name  pcsd0003.

3) i just open the screen painter and then open the data dictionary then pick the two fields from stpo.

4) i double click on the function code. 002 i again append the structure..

fid -> kunnr

fname -> name1_gp.

TABLES: STPO.

STPO-FID = USERDATA-FID.

STPO-FNAME = USERDATA-FNAME.

5)at 003 function exit.

USERDATA-FID = STPO-FID.

USERDATA-FNAME = STPO-FNAME.

i written the above code..

plz have a look on below attached images..

but after that i open the bom item but

i am not abel to see the custom screen..

can anybody plz tell me what is the mistake i have done..

hi,

I am having one requirement.

ie. i need to create two fields in bom level item

but i fallow the steps correctly and i activated it.

everything is fine.

the exit name is...PCSD0003 .

i develop a small screen in screen painter and  acvated it..

1) i open the se11-> table -> stpo i append the structure two fields

    fid -> kunnr

   fname -> name1_gp.

2) i open cmod and create the project with exit name  pcsd0003.

3) i just open the screen painter and then open the data dictionary then pick the two fields from stpo.

4) i double click on the function code. 002 i again append the structure..

fid -> kunnr

fname -> name1_gp.

TABLES: STPO.

STPO-FID = USERDATA-FID.

STPO-FNAME = USERDATA-FNAME.

5)at 003 function exit.

USERDATA-FID = STPO-FID.

USERDATA-FNAME = STPO-FNAME.

i written the above code..

plz have a look on below attached images..

but after that i open the bom item but

i am not abel to see the custom screen..

can anybody plz tell me what is the mistake i have done..

4 REPLIES 4
Read only

JarosBaw
Active Participant
0 Likes
2,333

Hi,

Please read carefully exit documentation (in SMOD trans.). You appended CSCI_STPO structure, not STPO table. You should change CI_STPO apppend.

Put break-point in exit function and check if program stop.

Screen will display in item data screen, not in item data list.

Jarek

Read only

Former Member
0 Likes
2,333

hi,

Jaroslaw kosik

Thanks for your reply...

and

Sorry for the late reply..

i will check it and i will update to u..

Plz give me some time.....

Read only

Former Member
0 Likes
2,333

HI,

Custom Screen Exit at bom Item level...i would like to implement.

I Tried  at Header level i was seen below post.

SAPTechnical.COM - Adding custom fields to CS01, CS02 and CS03 (BOM)

Successfully i implemented. now I need  to Implement the same logic at Row Level Also.

but

i have  not done any thing..

Please have a look at my attached images..

i open the cmod at create i create a new project

i given the exit name then i activate it.

First i want to see the folder/tab screen at bom item level........ i will develop later.. data saving and data fetching i will write the code later.

but at bom item level i have not seen any custom tab..

Can any body tell me what is the mistake i have done..

Whether i am seeing at correct place or not.

I need your valuable suggestions....

Read only

Former Member
0 Likes
2,333

Actually i need  to attach at  item level.

but till now i am seeing at wrong place.

if i write the code for cs02 the screen will be come to below screen..

thanks...