2011 Feb 09 4:09 PM
Hi,
Has someone knows, a way for wait the Batch-input process don´t excute completly sincec every entries be correct ?
Exemple:
I got a file with 10 entries:
And i will do a Bi from F-02.
Loop
CALL TRANSACTION 'F-02' USING it_bdctab
OPTIONS FROM t_options
MESSAGES INTO tabmess.
endloop.
IF my third entrie got a error , the BI don´t process the first and second or go back the process of this entries .
I know it´s is very simple, but i am not remeber how to do..!!
Many thanks.
2011 Feb 09 4:13 PM
Each transaction is independent. Why do all of them need to process successfully together? Don't your transactions have a unique Reference where you can verify existence and re-process the file as many times as you like?
2011 Feb 09 4:26 PM
You are right, But in F-02 if you try to process the same entrie 2 times , SAP will process and duplicate it, but with diferent documents number.
I need do a consistancy if every entrie is correct before process BI.
I though do it manually, but if exist a way to do it through BI is much better.
Thank you .
2011 Feb 09 4:39 PM
Like I said, you need to put a unique identifier on the document, whether that's in the Reference field or another field, and check for the existence of that value on a document before posting. Normally, a good programming practice is that you don't convert documents from another system without it.