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

problems with table PROJ

Former Member
0 Likes
896

Hello everybody!!

I am working with table PROJ, and I would like to get the OBJNR field.

The problem is that in transaction se11 I fill the field PSPNR with a short description of the project (eg. PA/0166), but when the system finds the entry in the table the field PSPNR has another value (00000303). So, in my program by using the short description I am not able to find the corresponding entry in the table.

Can anybody help me?

Thank you very much.

1 ACCEPTED SOLUTION
Read only

venkata_ramisetti
Active Contributor
0 Likes
830

Hi Reyes,

The field PSPNR has converion routine.

YOu need to use the following function modules.

CONVERSION_EXIT_KONPD_INPUT : To get Internal Value (00000303)

CONVERSION_EXIT_KONPD_OUTPUT : To Get external Value (PA/0166)

Thanks

Ramakrishna

7 REPLIES 7
Read only

Former Member
0 Likes
830

There is a conversion routine 'KONPD' for the domain PS_PSPNR.

This uses the two FM's

CONVERSION_EXIT_KONPD_INPUT

CONVERSION_EXIT_KONPD_OUTPUT

Use these to convert your values.

Read only

0 Likes
830

Thank you very much. It works!

Read only

venkata_ramisetti
Active Contributor
0 Likes
831

Hi Reyes,

The field PSPNR has converion routine.

YOu need to use the following function modules.

CONVERSION_EXIT_KONPD_INPUT : To get Internal Value (00000303)

CONVERSION_EXIT_KONPD_OUTPUT : To Get external Value (PA/0166)

Thanks

Ramakrishna

Read only

0 Likes
830

Thank you very much. It works!

Read only

0 Likes
830

Hi Rayes,

Martin posted the answer first. So Martin should be awarded with full points.

You may award helpful/very helpful for me as per your wish.

Thanks

Ramakrishna

Read only

Former Member
0 Likes
830

Hi Reyes,

As per my understanding do you want to fetch pspnr of a shirt descrpition,

If this is the case pass that value to field PSPID of the table PROJ and get pspnr.

Reward Points if it is helpful.

Regs,

Kiran I

Read only

Former Member
0 Likes
830

Hello,

If u want get the value from proj u need to pass the project number to the PSPID field. If u want to pass the PSPNR then use the conversion exit fm before the SQL.

CONVERSION_EXIT_KONPD_INPUT

CONVERSION_EXIT_KONPD_OUTPUT

If useful reward.

Vasanth