on 07-27-2007 6:04 PM
For function module BBP_PD_AVL_CREATE i need to pass the values:
GUID, CATEGORY_ ID and PROCESS_TYPE to create a vendor list.
Is there a way to determine GUID if I only have CATEGORY_ID AND PROCESS_TYPE?
I am trying to update a vendor list in SRM.
Does anyone know the required fields for the following tables in FM BBP_PD_AVL_UPDATE?
I_header
I_item
I_partner
i_orgdata
I_longtest
I_hcf
i_icf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try the function module - <b>GUID_CREATE</b> to create new GUID in this case.
<u>Also Please try the following steps.</u>
->> Call function module GUI_UPLOAD and pass local file to the export.
->> Call function module BBP_PD_AVL_GETLIST and pass category_id and Pur_org to the exporting parameter.
In table parameters will get E_PDLIST data.
->> If E_PDLIST is not initial. It means that vendor list exist for the combination of category id and pur orgn .move error message to error_message table.
->> If E_PDLIST is initial build the function module data I_header, I_ORGDATA.
->> Call function module BBP_PD_AVL_CREATE and pass the I_header, I_ORGDATA.
->> The function module will return e_header, e_ORGDATA.
BBP_PD_AVL_CREATE functional module will generate GUID,
Use vendors from XL/CSV file and build I_PARTNER .I_ITEM.
->> Call function module BBP_PD_AVL_update.
CALL FUNCTION 'BBP_PD_AVL_UPDATE'
EXPORTING
I_HEADER = I_HEADER_u
I_SAVE = 'X'
TABLES
I_ITEM = I_ITEM
I_PARTNER = I_PARTNER
I_ORGDATA = I_ORGDATA_u
E_MESSAGES = i_MESSAGES_u.
Delete I_MESSAGES_u WHERE MSGTY ne 'E'.
IF I_MESSAGES_u is initial.
CALL FUNCTION 'BBP_PD_AVL_SAVE'
EXPORTING
iv_header_guid = I_HEADER_u-GUID.
COMMIT WORK AND WAIT.
ENDIF.
<b>Other Related links -></b>
Do let me know.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.