cancel
Showing results for 
Search instead for 
Did you mean: 

Creating of PO in backend

Former Member
0 Kudos

Hello,

i would like to transffer some customer fields (for items) to the backend. I wanted to see how the transfer to the backend works so i tried to debug tx BBP_POC(this one is used as Proccess purchase orders in web interface). But i was not able to find the place where is PO transsferred to backend. I also tried to implement badi BBP_CREATE_PO_BACK to see how are customer fileds mapped, but breakpoints in this implementation doesnt works. (Breakpoints in another functions works fine).....so my question is: where is PO transfered to the backend?

System: srm 5.0.

backend: ecc 6.0

thanks

JJ

Accepted Solutions (1)

Accepted Solutions (1)

yann_bouillut
Active Contributor
0 Kudos

Hi,

You are using ECS scenario :

You can debug from spool_dpo_transfer_do

Kind regards,

Yann

Message was edited by:

Yann Bouillut

Former Member
0 Kudos

I put in spool_dpo_transfer_do one breakpoint and the order proccess finished without stop on breakpoint .

yann_bouillut
Active Contributor
0 Kudos

Hi,

As said in the below thread link :

" you must start from SRM ECS PO

- execute BBP_PD_PO_TRANSFER_EXEC with the GUID of the PO

- set a break point just before calling R/3 (SPOOL_DPO_TRANSFER --> META_DPO_TRANSFER --> etc... --> B**_DPO_TRANSFER), i.e. just before calling BBP_PO_SAVE in R/3

- change the RFC destination to new one if needed

- continue the debug in R/3 with F5"

For further details you can read the thread :

https://forums.sdn.sap.com/click.jspa?searchID=1946159&messageID=1693351

Kind regards

Yann

Former Member
0 Kudos

Thanks a lot...

and propably last question - where can i get GUID? is the sam as id of PO?

thanks

yann_bouillut
Active Contributor
0 Kudos

Hi,

Po guid from bbp_pd

Select bus2201

Kind regards,

Yann

Former Member
0 Kudos

thanks!!!!

now when i try to debug through BBP_PD_PO_TRANSFER_EXEC i can see that initialization of badi bbp_ecs_po_out_badi is skipped because sv_checked variable is 'X'. (LBBP_BD_DRIVER_46AU04).

And now i dont know if it is checked because i am debugging BBP_PD_PO_TRANSFER_EXEC and in normal process it will work or not(Now it doesnt work and i dont know what am i missing).

thanks

JJ

Former Member
0 Kudos

Thanks again,

now when i try to debug i get into the fucntoin BBP_PO_INBOUND. Then it goes to the form change_po, -> BAPI_PO_CHANGE - and in this function after mappings it contains in table lt_item correct value from cutomer field. But this value is not stored in db after finishing the function.

Where may be next problem?

thanks

JJ

Former Member
0 Kudos

Hi

Time to check the R/3 system. Seems like some OSS notes are missing in R/3 system.

<b>936786 BAPI_PO_CHANGE: Customer data is not transferred

867018 - Customer fields transfer to the back end

736770 EnjoySAP order BAPI: Customer enhancemnt CI_COBL not changed

630013 BAPI_PO_CHANGE: ExtensionIn without POItem data

485557 BAPI_REQUISITION_CREATE: 'EXTENSIONIN' customer enhancements

612209 EnjoySAP purchase order BAPI: Fields in CI_COBL not copied

336589 BAPI_PO_CREATE: Customer enhancements

410491 BAPI_PO_CREATE1: Customer enhancements incorrct from 2. item

390742 Customer enhancements not transferred

441907 BAPI_PO_CHANGE: Not transferred customer enhancements

445169 - BAPI_PO_GET_DETAIL: Integrated customer enhancements

395311 - BAPI_PO_CREATE: Customer enhancements not copied

390742 - Customer enhancements not transferred

Note 593366 - BAdI in EnjoySAP of PO BAPIs in connection with SRM</b>

Hope this help.

Regards

- Atul

Former Member
0 Kudos

i have it....i was missing customer fields in CI_EKPODBX

Answers (0)