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: 

pa30 using bapi

anil_kumar98
Participant
0 Kudos

I already created bdc for pa30 for three field select add,personal and address data plz guide me to make use for personal data country field having different bapi for different country field

2 REPLIES 2

Former Member
0 Kudos

HI,

Address screen in PA30 changes as per the Country Grouping so you have to records for all the countries you need and then before writing BDC check the Employees Molga an then call your BDC accordingly.

You can solve this problem by using HR_INFOTYPE_OPERATION function module.

Refer the code for sample -

It is recommended to use this FM then BDC when you are doing one infotype at a time.

Kishi.

Former Member
0 Kudos

Hi Anil,

Use Function Module HR_MAINTAIN_MASTERDATA.

This function module enables you to maintain master data for employees and applicants. You can enter field names and contents in the 'proposed values' table. This will then be transferred to the corresponding infotypes. The same validation checks take place as would in the individual maintenance screens for the infotypes. You can enter as much data as you like. You can enter several records or infotypes at once. You are responsible for making sure that the data is consistent. If necessary, the module returns an error message. The error messages are the same as the those which appear in the dialog, in other words, the individual maintenance screen error messages are transferred rather than interpreted by this module.

Award points if useful else getback,

Aleem.