11-16-2007 5:30 PM
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
11-16-2007 5:41 PM
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
11-16-2007 5:41 PM
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
11-16-2007 6:38 PM