Reg. creation of Blanket Order through BAPI_PO_CREATE1
I have a requirement of creating framework order of document type FO. When I fill bapi interface correctly, I am getting an error message as either error SE-518 u201CNo account assignment exists for service lineu201D or error 06 436-In case of account assignment, please enter acc. assignment data for item". I even tried in reverse way of filling bapi interface of po create1 by seeing from BAPI_PO_GETDETAIL1 of already created PO.but still I face same error. I filled up POLIMTS,with dummy package value in POSERVICES,POITEM,POITEMX, and account assignment details in POACCOUNT,POACCOUNTX tables of BAPI_PO_CREATE1 inetrface.
If any one of you has worked on this before, i request you to send the code or any suggestion on how to proceed.