04-29-2011 6:37 AM
Hi,
currently im facing problem while generating error thru BAPI_PO_CREATE1
im calling bapi two times thru loop iteration,
as my data is faulty , so for 1st iteration im getting 3 error in it_return structure.
now in 2nd iteration im getting (3+3)
repeted error which is geenarated earlier(old 3 err) +(new 3 err).
im refreshing all internal table,work areas and variables, still im getting same problem,
please provide ur kind suggestion on this.
refresh : <all it>
clear : <all wa>
Loop at it into wa.
refresh : it_return.
CALL FUNCTION 'BAPI_PO_CREATE1'
Tables = IT_RETURN
endloop.
Regards
Vivek Khobragade
05-04-2011 4:43 AM
hi,
I found that Im getting duplicates error because of passing
BAPIMEPOITEM - PREQ_NO (Purchase Requisition Number)
BAPIMEPOITEM - PREQ_ITEM (Item Number of Purchase Requisition)
. if I dont pass these then I wont get duplicates error.
but as functional told its mandatory to update it?
please have eye on it?
regards
Vivek
07-20-2011 10:34 AM
12-13-2011 10:32 PM
Hi,
Can you please let me know, how this error was solved. I am encountering the same problem now.
Thanks,
Vijay