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

PCSD0002 not save data

Former Member
0 Likes
2,029

Hi People!

I´ve implemented user exit  PCSD0002 in order to add a customer field (A checkbox) in CS01, cs02 and cs03 tcodes. (Before this I create an append in STPO table with this Xflag field)

Field is displayed rigth , but if I select the checkbox and save this change is not updated and I don´t know what is missing

Any Ideas?

Thanks in advance and regards!

Carla

1 ACCEPTED SOLUTION
Read only

SwadhinGhatuary
Active Contributor
0 Likes
1,458

Hi Carla,

In each screen exit sap provide 2 FM one for PBO and Other for PAI .You do the screen change fine.

Weather u use these 2 fm for move data to str so later save in DB and Fetch Data from DB display to user in non editable mode.

Function module                Short Text

EXIT_SAPLCSDI_002              PCSD0002: BOM Item Customer Fields to Customer Program

EXIT_SAPLCSDI_003              PCSD0002: BOM item Customer Field to SAP Program

After using these 2 FM you get your solution

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

4 REPLIES 4
Read only

SwadhinGhatuary
Active Contributor
0 Likes
1,459

Hi Carla,

In each screen exit sap provide 2 FM one for PBO and Other for PAI .You do the screen change fine.

Weather u use these 2 fm for move data to str so later save in DB and Fetch Data from DB display to user in non editable mode.

Function module                Short Text

EXIT_SAPLCSDI_002              PCSD0002: BOM Item Customer Fields to Customer Program

EXIT_SAPLCSDI_003              PCSD0002: BOM item Customer Field to SAP Program

After using these 2 FM you get your solution

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

Read only

0 Likes
1,458

Hi Swadhin!

Thanks for your reply. I´m gonna see this.

One more question, in the screen painter, what "name" I should put to my chechbox. I´v create the field "ZZMYFIELD" in STPO structure, I put USERDATA-ZZMYFIELD , It is correct?

In the EXIT_SAPLCSDI_002 include I put:

MOVE itemdata-zzmyfield to userdata-zzmyfield.

In the EXIT_SAPLCSDI_003 I only have USERDATA structure, I don´t understand how to map changed fields

.

Thanks!

Read only

0 Likes
1,458

I updated in EXIT_SAPLCSDI_003 from my dynpro field!

Thanks!!

Could I put that in tcode CS03 my field like only visualization?

Read only

0 Likes
1,458

Hi ,

in screen pbo mode check tcode make the custom to display mode only.

note-

make loop at screen and make screen non editable.

loop at screen.

if SCREEN-name = <Your custom Field>

SCREEN-INPUT = 0.

modify screen.

endif.

endloop.