Purchase Order Creation BADI's or Exits
I am creating a purchase order in SRM and the same is reflected as purchase order in R/3 which is done in the backend.
My requirement is i have to populate the Invoicing Party Details in R/3 purchase order that gets created automatically when a PO is created in SRM. I am able to update the Invoicing party using the BAPI_PO_CHANGE for a PO stand alone once the PO is created.
But i have to populate it when the is getting created for the first time from SRM. Is there any BADI or Exit to do this. I have tried the BADI ME_PURCHDOC_POSTED but i cannot call BAPI_PO_CHANGE by passing the PO number as the PO is not yet created.
Please help me its urgent.