Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with PCSD0002

Hallo,

i try to use the PCSD0002, but i have Problemsto use.

I want to show additional Information from MARA (MARA-WRKST, MARA-ZEINR).

First i create an object Z_PCSD with PCSD0002,

the structure CI_STPO with both fields, the Dynpro SAPLXCSA1000 with both fields and use EXIT_SAPCSDI_002

and ..003.

My Problem is, that are no DATA in CS01/02/03.

it's not nessasary to update the STPO, I want only show

the data from MARA.

Questtion: Witch fields shell i use in EXIT_SAPCSDI_002/003?

Has anybody a Code-Exampls?

Thanks for help

Dieter

Former Member
replied

Hi Dieter,

Please try field <b>CSCI_STPO-ZZEINR</b>.

You need to populate field CSCI_STPO-ZZEINR in order to display the value.

You can code something like this.

CLEAR: CSCI_STPO-ZZ_ZEINR,       
CSCI_STPO-ZZ_WRKST.

SELECT SINGLE *
FROM MARA
WHERE MATNR = CSCI_STPO-MATNR.

IF SY-SUBRC = 0.    
  CSCI_STPO-ZZ_ZEINR = MARA-ZEINR.  
  CSCI_STPO-ZZ_WRKST = MARA-WRKST.
ENDIF.

Hope this will help.

Regards,

Ferry Lianto

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question