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: 

Important query related to BDC

former_member206153
Participant
0 Kudos

Hi All,

I have created a BDC for uploading data using PA40 transaction.

Two types of ranges for the personnel number are defined by functional consultant ie internal range & the range provided directly by user.

For the internal ranges,the fiole used for uploading doesnt have PERNR as a field & soon running the BDC,the PERNR is generated automatically.

My problem is when i m running it ,instead of blank PERNR field,i m getting the last PERNR in the Personnel Number field in PA40.

I want it to b blank,so that the Personnel Number is generated automatically.

Please help,its urgent requirement.

Thanks & Regards,

Bhavika Kumar

1 ACCEPTED SOLUTION

naimesh_patel
Active Contributor
0 Kudos

Before calling your BDC, just clear the PERNR's parameter id.

Like:

DATA: L_PERNR TYPE PA0001-PERNR.

SET PARAMETER-ID 'PER' FIELD L_PERNR. " < This will blank out your PERNR on screen.

Regards,

Naimesh Patel

2 REPLIES 2

naimesh_patel
Active Contributor
0 Kudos

Before calling your BDC, just clear the PERNR's parameter id.

Like:

DATA: L_PERNR TYPE PA0001-PERNR.

SET PARAMETER-ID 'PER' FIELD L_PERNR. " < This will blank out your PERNR on screen.

Regards,

Naimesh Patel

0 Kudos

Thanks Naimesh.

It is reallly helpful.

Regards,

Bhavika Kumar