on 2011 Jan 11 12:38 PM
Hello Experts,
I have a requirement to transfer SRM PO Price Conditions to R3 Extended Scenario (SRM 5.0). I have implemented the BBP_DRIVER_DETERMINE Badi and call to 'ZB46B_DPO_TRANSFER' function that pass the PO price conditions:
Code:
if functionname = 'B46B_DPO_TRANSFER'.
functionname = 'ZB46B_DPO_TRANSFER'.
endif.
This works ok.
In ZB46B_DPO_TRANSFER call to 'BBP_PD_PO_GETDETAIL' function and pass the PO price conditions to my structures lt_bapi_pocondheader and lt_bapi_item_condition.
Then pass the values to POCOND and POCONDHEADER by BBP_PO_INBOUND function:
Code:
call function 'BBP_PO_INBOUND' destination lv_destination
exporting
poheader = ls_bapi_poheader
poaddrvendor = ls_bapi_poaddrvendor
poexpimpheader = ls_bapi_poexpimpheader
testrun = i_testrun
no_messaging = c_on
poheader_ext = ls_bapi_poheader_ext
importing
expheader = es_expheader
tables
return = lt_bapi_return
poitem = lt_bapi_poitem
poaddrdelivery = lt_bapi_poaddrdelivery
poschedule = lt_bapi_poschedule
poaccount = lt_bapi_poaccount
polimits = lt_bapi_polimits
poservices = lt_bapi_poservices
posrvaccessvalues = lt_bapi_posrvaccessvalues
poservicestext = lt_bapi_poservices_text
poexpimpitem = lt_bapi_poexpimpitem
potextheader = lt_bapi_poheader_text
potextitem = lt_bapi_poitem_text
poitem_ext = lt_bapi_poitem_ext
popartner = lt_bapi_popartner
customer_fields = lt_bapi_customer_fields
pocondheader = lt_bapi_pocondheader
conditions = lt_bapi_item_condition
exceptions
communication_failure = 1 message lv_msg_text
system_failure = 2 message lv_msg_text
others = 3.
The return in 'lt_bapi_return' have a correct creation message but in ME23N (R3) does not appears the conditions.
Anybody can help me?
Thanks.
Edited by: Noaser on Jan 11, 2011 3:04 PM
Request clarification before answering.
Hello,
Solved myself. I was passing too many fields in POCOND structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.