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

"Function code cannot be selected" error while uploading a document.

Former Member
0 Likes
8,336

Hi,

When we try to upload a document into SAP the user is getting the error "Function code cannot be selected". Detailed error is given below. Only one user is facing this error in PRD. For all other users it is working fine. We replicated the same issue in testing systems and it is working fine there with the same user's id.

The detailed error is,

No batch input data for screen SAPLF040 0300

Message no. 00344

Diagnosis

The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.

Possible reasons:

1. The batch input session was created incorrectly. The sequence of screens was recordly incorrectly.

2. The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).

3. The transaction has undergone user-specific Customizing and therefore certain screens may be skipped or processed differently, according to the current user. If the person who created a batch input session is not the same as the person now processing it, this problem may occur frequently.

System Response

None.

Procedure

For 1: Either re-create the session or process it in expert mode. Correct the batch input program.

For 2. It is very difficult to analyze this problem, particularly in the case that the screen sequence or the display-only options of fields differ according to whether the transaction is being processed in the background or as an online dialog. It could also be that this kind of transaction cannot run with batch input.

For 3: Have the creator of the session process it. If no error occurs now, then this is a program with user-specific Customizing.

3 REPLIES 3
Read only

Former Member
0 Likes
4,368

Hi Amarnath,

I'm facing the same issue. Please let me know how did you solve the issue.

It would be a great help for me.

Regards,

Krishna

Read only

Former Member
0 Likes
4,368

hmmm well i like this error message since it is really telling you where the problem is. Now it is on you to find out which of those three possibilities you got.

I suppose the file you are loading triggers some BATCH-INPUT process. This isnt working since there are obviously differences between your recorded batch input session and the dialog mode.

Read only

shivamd
Explorer
0 Likes
4,368

Hi Amar,

I am facing the same issue while processing Vendor master inbound idocs, Few Idocs gone in error with error message "Function code cannot be selected".

Could you please suggest any solution found for the same.

Thanks in advance

Shivam