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

Regarding select query Issue

Former Member
0 Likes
610

Hi ABAPERS,

I had written one written one 'select single' query to retrieve the data from PRPS table.

but what the data was selecting for OBJNR (Object number)field based on PSPNR(WBS element) .

That OBJNR values in the report is totally different from the database table OBJNR values.How its possible

I am not getting.So can anyone please help me regarding this...

Thanks and Regards

Deepa

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
578

There is a conversion exit on field PSPNR (domain PS_POSNR CnvExt ABPSP 8n > 24a ) , and none on OBJNR (22a)

- OPJNR > 'PR' + internal value of PSPNR

- PSPNR > external value of PSPNR

Regards,

Raymond

Read only

0 Likes
578

Hi Raymond,

Can you please explain what is extternal value..

If possible please give one example of that..

Thanks in Advance...

Deepa

Read only

0 Likes
578

Hi deepa,

Pass the values to the select query where clause as you can see the values in SE16 display.(This is external format)

If a table field as conversion routine, then SAP dosplay some thing on screen and store some thing else in data base.

To check conversion exit go to domain of that field. Here you can see the routine used.

For example you can check domain MATNR. Externally it display with leading zeros. But internally it stores with out zeros.

Thanks,

Vinod.

Read only

0 Likes
578

Read [conversion routine |http://help.sap.com/abapdocu_70/en/ABENCONVERSION_ROUTINE_GLOSRY.htm]

Regards,

Raymond