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

Search Help - Data entry

Former Member
0 Likes
508

Hi,

Looking at various SAP transaction PA20 for example, entering a value in the action infotype field Employment for example allows the selection of the foreign key text and writen to the database is the value associated with the text e.g the text active is on the screen, but the value 01 is written to the database.

I am trying to achieve a similar think in my ALV where I present the text but store the value associated with the text. Does anyone know how to achieve this?

James.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
485

Hi,

you need to write it Programetically,

When the value is 01 then you need to get the text for 01 value then insert the text into database table

regards

Sudheer

3 REPLIES 3
Read only

Former Member
0 Likes
486

Hi,

you need to write it Programetically,

When the value is 01 then you need to get the text for 01 value then insert the text into database table

regards

Sudheer

Read only

0 Likes
485

Thanks Sudheer,

It's the other way around I wnat to display the text and write the value 01 to the database. Thought there may be a way of doing this via the search help as there is a foreign key relationship. I'll keep digging and if I can'tmake progress I'll go the programatic approach.

Thanks,

James.

Read only

0 Likes
485

Hi James,

I think you need to handle this in code only.

Regards,

Atish