2015 Mar 18 8:03 PM
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
2015 Mar 19 11:18 AM
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)
2015 Mar 19 11:18 AM
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)
2015 Mar 19 11:50 AM
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!
2015 Mar 19 1:38 PM
I updated in EXIT_SAPLCSDI_003 from my dynpro field!
Thanks!!
Could I put that in tcode CS03 my field like only visualization?
2015 Mar 20 4:45 AM
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.