on 03-06-2009 9:33 AM
Hi all, we guys are facing a problem in follwoing badi "IF_EX_BBP_WFL_APPROV_BADI~GET_REMAING_APPROVERS"with the FM BBP_PD_PO_GETDETAIL.when we execute the badi the FM BBP_PD_PO_GETDETAIL will not populate Tax value in the Header table .but when we executed the function module separtalty it is giving the Tax value .problem is very starge .why it is giving the Tax value in Header table when we execute FM separtly but not popullating the Tax in the badi which uses the same FM and same set of Parametes
Please guide us.
Regards
-
Channappa Sajjanar
Hello
how your call the FM BBP_PD_PO_GETDETAIL?
Does it looks like this?
call function 'BBP_PD_PO_GETDETAIL'
EXPORTING
i_guid = i_header-guid
IMPORTING
e_header = ls_header_active
TABLES
e_item = lt_items_active
.
Without TABLES it will not work, I think.
May this helps...
Best Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi we are calling it as below in the BADI.
call function 'BBP_PD_PO_GETDETAIL'
EXPORTING
i_object_id = object_id
i_guid = lv_guid
IMPORTING
e_header = lw_po_header
TABLES
e_actval = litab_actval
e_item = litab_po_item
e_limit = litab_limit
e_account = litab_account
e_partner = litab_partner.
Regards
-
Channappa Sajjanar
Hello,
The tables called within the WF will have buffered data
in them. This is done to keep track of changes currently being processed
when the WF is called. In order to use the function BBP_PD_PO_GETDETAIL
to always receive the current active version, try running
BBP_PD_PO_GETLIST first to retrieve the proper GUID for the PO.
You can then supply the GUID to the function BBP_PD_PO_GETDETAIL which
should then retrieve the active version.
there is an example of the proper usage of the function in the Module Pool BBPRP_01,
perform GET_MM_DATA.
Hope this helps you out.
Regards,
Daniel
thanks a lot for ur response
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.