cancel
Showing results for 
Search instead for 
Did you mean: 

WBS long text

Former Member
0 Kudos

Hello.

I need some help for an ABAP report.

How can I find back a WBS long text in table STXH from a WBS in table PRPS? Via the OBJNR? Is there any conversion?

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello.

I already use the FM read_text. The 3 parameters I use are tdobject(PMS), tdid(LTXT) and tdname.

But my problem is that the tdname I have to use doesn't correspond to my prps-pspnr.

prps-pspnr = PR00000005

tdname = PR00000926

I don't understand how SAP obtain PR00000926 from PR00000005...

Former Member
0 Kudos

Hello Nicolas,

the field prps-pspnr has a conversion-exit with the conversion modules:

CONVERSION_EXIT_ABPSP_INPUT CONVERSION_EXIT_ABPSP_OUTPUT

The internal format of the PSPNR should be an 8-digit counter, that's part of the tdname. At least in this system (Rel.4.6c).

Regards Wolfgang

Former Member
0 Kudos

Hello,

the way to find it out is that you set a breakpoint into the function module READ_TEXT ( via SE37) and then process a PSP-Element with a long text via CJ12 or CJ13.

The transaction will stop at the breakpoint, an you get the text-id/text-name/ text-object from the input parameters on the function module.

If i try, it says ID = 'LTXT', name = 'E'<PRPS-PSPNR>, object = 'PMS', but for a WBS text there may be other parameters.

If you need the logic in an own programm, you could use the function READ_TEXT instead of selecting texts via STXH/STXL.

Regards Wolfgang