11-10-2007 11:36 PM
Hi,
I am retrieving PSPNR from PRS table in my ITAB. when i see the entry in the PRPS for PSPNR it is displayed as ANT00012.1.2. however in my itab it is stored as 00001007.
I am comparing this PSPNR with BSEG-PROJK and retrieving PSWBT. However internal table is passing 00001007 for ANT00012.1.2. Even though there is a entry in the BSEG for this, the data is not selected.
Do i need to use some conversion routines or any function modules to convert the values....
Please help me.
11-11-2007 12:33 AM
Hi Alexandar,
Yes, you do indeed need to use a conversion routine to convert the PSPNR from the internal format to external format.
Use Function Module <b>CONVERSION_EXIT_ABPSP_OUTPUT</b> and pass your internal table PSPNR field (value 00001007) to convert it into the external format (ANT00012). Then after the conversion you can carry on doing subsequent Selects as per your requirement.
Hope this helps,
Cheers,
Sougata.
<b>Where are my points champ??</b>
Message was edited by:
Sougata Chatterjee
11-11-2007 10:44 AM
Hi Alexander,
Pass PSPHI instead of PSPNR, your problem will get solved.
Reward points if it helps,
Satish