Application Development 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: 

How to populate fields in standard SAP Screen

Former Member
0 Kudos

Hi,

There is one client requirement in Create: Customer transaction. (T Code: XD01)

Go to transaction XD01. You get pop-up screen (Customer Create initial screen). Enter the details required like account group, company code, etc.

Now you get Create Customer General data screen. In this screen there will be tab like address, control data, Contact person etc. Initially control will be in Address tab.

In address tab Language will be defiantly displayed (egs: English). (Screen details as in 1* below.) If you don’t find on screen scroll down the tab.

Enter all the details and then you go to tab contact person. There you will enter one person as contact person and then you click on Home address Push button (which is below the tab strip.)

On clicking home address push button one pop-up screen will be displayed.(Screen: Contact Person: Home Address Create )

In this screen there is also a language field (Blank now, mean no value..) (Sceen details as in 2* below.)

Customer wants that this field is to be populated with the data of tab Address tab.

How to do this. Could you please reply to this query ASAP. If I need to ask SD Consultant for any requirement please tell me what to ask. To them.

Screen details: (got by technical help.)

1*:

Table Name ADDR1_DATA

Field Name LANGU

Data Element SPRAS

DE Supplement 0

Parameter ID SPR

Screen Field ADDR1_DATA-LANGU

Program Name SAPMF02D

Screen Number 7000

2*

Program Name SAPLSZA7

Screen Number 0501

Program Name SAPLSZA7

Status ADDR0500

Table Name ADDR2_DATA

Field Name LANGU_P

Data Element SPRAS

DE Supplement 0

Parameter ID SPR

Thanks in advance. Please reply ASAP. Please let me know idf you need any further details.

--

Regards,

Vidyaprasanna.

1 REPLY 1

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Vidyaprasanna!

You can achieve this with field exits. You would need to activate two function modules:

- the first for 'reading' the value of screen one. Store the value in global data of the function module.

- the second on the second screen to fill a value, if the field is initial. This will be after the first enter, but that should be soon enough.

Start report RSMODPRF for field exit handling.

Regards,

Christian