on 02-04-2014 3:55 PM
Hi,
Iam able to create SC using FM BBP_PD_SC_CREATE.But i canot see Item/Account/Partner Details in BBP_PD Transaction.Header details are created with the status.
What iam missing.
thanks,
Sriram
Hi,
This may not be the answer to your specific question, but I recently found some interesting SAP program with some examples how to create any type of document using test data.
check out program /SAPSRM/TEST_TOOL_PROGRAM for some interesting code .
The header says enough I guess .
*&---------------------------------------------------------------------*
*& Report /SAPSRM/TEST_TOOL_PROGRAM *
*& - ONLY FOR INTERNAL USE - *
*&---------------------------------------------------------------------*
*& SRM Test tool for *
*& Creation of different BO documents & follow-on *
*& by using PDO-Layer classes *
*& - No UI Test Tool - *
*&---------------------------------------------------------------------*
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
first of all - you need to fill position data.
ls_item-guid must not be initial
After
BBP_PD_SC_CREATE you may have to call
BBP_PD_SC_UPDATE with the same positions data and
BBP_PD_SC_SAVE at the end.
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sriram,
the BAPI BBP_PD_SC_CREATE is used within the standard only in the
external requirement scenario, and is not released for customers.
However if you can successfully create it, would you please tell me the parameters you entered before executing this FM? Such as
I_ITEM
I_ACCOUNT
I_PARTNER
Best regards,
Ivy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivy,
I have entered below parameters.
ls_item-guid
ls_item-parent "header guid
ls_item-number_int
ls_item-number_ext
ls_item-product
ls_item-description
ls_item-product_type
ls_item-category
ls_item-category_id
ls_item-quantity ls_item-unit ls_item-price ls_item-gross_price ls_item-catalog_price ls_item-price_unit ls_item-deliv_date = sy-datum + 1.
ls_item-be_co_code ls_item-currency ls_item-be_plant
Accounting Data
ls_account-guid
ls_account-p_guid "item guid
ls_account-DISTR_PERC ls_account-acc_no ls_account-SRC_GUID
ls_account-g_l_acct ls_account-cost_ctr ls_account-co_area ls_account-profit_ctr ls_account-acc_cat
Partner data
*ls_bup-partner_guidls_bup-p_guid ls_bup-partner_fct ls_bup-partner_no
Thanks,
Sriram
Hi Sriram,
I still failed with 'buffer table not up to date' dump after executing this FM with all the above parameters.
Would you please list all the values in all the parameters?
Meanwhile please note this FM is not used and release for customer to directly create SC with it, so it might cause a lot of problems.
I don't know why you create SC with this FM since it is very complicated to insert all these parameters. More complicated than directly create SC in portal.
Best regards,
Ivy
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.