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

Batch input problem with FB01L

Former Member
0 Likes
1,475

Hello,

I created a batch input to post documents via the FB01L and things are being posted fine ... except when the document date is in the future. Then the batch input will stop and a message is displayed below in the status bar saying 'Check - document date is in the future'.

I thought by maybe adding lines such as 'BDC_CURSOR' '/00' or 'BDC_SUBSCR' 'SAPSCR' to the b.input I could overcome this but to no avail.

Anyone got an idea?

Thanks,

Kevin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,355

Guess it's just a warning message, you can hit enter while running in foreground otherwsie if it runs in background you don't need to do anything.

Let me know if't not warning meesage.

9 REPLIES 9
Read only

suresh_datti
Active Contributor
0 Likes
1,355

Hi Kevin,

Since it is only a warning message, you need to hit the enter key ie put in the following statement

'BDC_OKCODE' '/ENTR'

Good Luck,

Suresh Datti

Read only

0 Likes
1,355

Hello Suresh,

thanks for the reply. I tried it as you said and the error doesn´t appear anymore. However the following screen is then completely blank. So obviously the 'Enter' interferes with the flow of the batch input. Is there something I forget to add?

Thanks,

Kevin

Read only

0 Likes
1,355

Hi Kevin,

Do you mean the values you passed to the program do not appear on the next screen? Can you paste your code?.. at least the block where you inserted the statement I suggested..

Suresh Datti

P.S. PL also try what Srinivas Adavi suggested in his post above

Message was edited by: Suresh Datti

Read only

0 Likes
1,355

Kevin,

Did you pass the screen info before passing BDC_OKCODE for the second time?.

Thanks,

Rajesh.

Read only

0 Likes
1,355

Thanks guys,

I checked out all your answers and they all worked.

Cheers,

Kevin

ps: FB01L is new with newGL

Read only

Former Member
0 Likes
1,356

Guess it's just a warning message, you can hit enter while running in foreground otherwsie if it runs in background you don't need to do anything.

Let me know if't not warning meesage.

Read only

Former Member
0 Likes
1,355

Hi Kevin,

Is it really FB01<b>L</b>? I cannot find it in my 46c system?

Anyway, you can control this message as follows. Go to SM30, enter V_T100C and 'Maintain'. Enter 'F5' for application area in the subsequent pop-up.

In the table control, see if message number 192 is already there. If it is there, then change the value under column 'BatchI' to 'I' and save. If it is not there, then enter a new record for 192.

Hope this helps,

Srinivas

Read only

Former Member
0 Likes
1,355

Here is how it works Kevin. For certain messages, SAP allows to configure the type of message you want to be issued and within the code, there will be a check for this config setting and if nothing found, then it uses a default. In this case, here is the code.


    call function 'CUSTOMIZED_MESSAGE'
      exporting
        i_arbgb       = 'F5'
        i_dtype       = 'W'
        i_msgnr       = '192'.

Srinivas

Read only

0 Likes
1,355

This way you can avoid that extra ENTER since it will be issued as a Information message.