‎2005 Nov 15 7:18 PM
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
‎2005 Nov 15 7:58 PM
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.
‎2005 Nov 15 7:47 PM
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
‎2005 Nov 15 8:01 PM
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
‎2005 Nov 15 8:08 PM
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
‎2005 Nov 15 8:20 PM
Kevin,
Did you pass the screen info before passing BDC_OKCODE for the second time?.
Thanks,
Rajesh.
‎2005 Nov 15 8:21 PM
Thanks guys,
I checked out all your answers and they all worked.
Cheers,
Kevin
ps: FB01L is new with newGL
‎2005 Nov 15 7:58 PM
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.
‎2005 Nov 15 8:00 PM
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
‎2005 Nov 15 8:20 PM
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
‎2005 Nov 15 8:21 PM
This way you can avoid that extra ENTER since it will be issued as a Information message.