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

error while uploading through bdc

Former Member
0 Likes
2,054

Hi All,

While uploading data throgh bdc i am getting error in error file for few employees as " No batch input data for screen SAPLRPBS 2000 " ..what i need to do to solve this problem.

Thanks.

7 REPLIES 7
Read only

Former Member
0 Likes
1,134

Hi Absap,

This could be one of the reason that some of the fields which are mandatory are not defaulted. Ex: Cost center , profit center or reason code. If one of the field is mandatory and that value is not populated system will through that error.

Post one transaction in foreground ( display all screens) then you can see where it went wrong.

1. You are trying to input data on a screen field which does not exist based on customizing.

2. May be this field is an input disabled as per the customizing

Manas M.

Edited by: Kumar Manas Mishra on Jan 27, 2010 7:22 AM

Read only

venkat_o
Active Contributor
0 Likes
1,134

Hi, <li> I think that there would be one field which is mandatory needs to be passed through BDC program. <li> Go manually to that screen and see whether you need to fill any field which is mandatory. Thanks Venkat.O

Read only

Former Member
0 Likes
1,134

Hi Venkat,

I did for one record and in between i got error message that " Generate period work schedule G2DH for 2/M3/01 in 01/2011 "

...i am trying to upload data in infotype 2006. When i uplaod data manually through pa30 it is properly getting uploaded.

Can you tell me where i need to do settings regarding schedule G2DH ??.

Read only

venkat_o
Active Contributor
0 Likes
1,134

Dear friend, <li> You ask the same your functional consultant or the one who gave the requirement. I too do not know the settings needs to be done. Thanks Venkat.O

Read only

Former Member
0 Likes
1,134

Hi,

Generally, you will receive this error message when there is no data filled in the mandatory fields.

If this is the issue with only few employees then check with the fields available comparing to other employee records which are successful. Their must be few records which are Mandatory and missing for those employees...

To fix this issue, get into your ABAP program and in place of no screens 'N' put it as ALL screen. and run the BDC program.

If you are using Call transcation method...Create an error log to handle errors so that it will specify the error records while uploading the records in the trascation code.

If you need more information then please let us know.

Regards,

Kittu

Read only

Former Member
0 Likes
1,134

Hi,

This error comes because of while recording one of your screen's mandatory entry is not passed

to the transaction, you can try creating any record for that transaction before doing recording only

and make a note of all the mandatory fields then while doing recording you need to pass values to those

fields necessarily and if while recording if the entry is already present to those mandatory fields then on

that screen you should delete the entry of that field and then again enter the same value in that field so

that it gets recorded in the recording running and next time while uploading data that screen fetches

the required value from the internal table and does not show error.

Hope it helps

Regards

Mansi

Read only

Former Member
0 Likes
1,134

Hello absap,

if your requirement is an enhancement of a program that uses BDC to update OR populate a particular screen,

set your bdc mode to "A" to display the entire bdc processing.

you can basically find this in the line:

CALL TRANSACTION <command>

USING <bdctab>

MODE <mode>. <--- by defualt this should be MODE N.

the error that you have encountered is due to an UNpopulated REQUIRED field in the screen of the transacation or command you called in the BDC process.

you can easily trace this error by setting the mode to A to display the bdc process itself.

alternatively, if you are creating new program, revisit your bdc recording and check if all the required fields are being populated.

trick:

when you record in SHDB, open a new window of the transaction.command that you are going to use.

and from there, populate the fields specified in your requirement and by this, you should not miss any required field in you bdc.

hope it helps,

Mark