on 02-25-2008 9:03 PM
hi
we are on srm version 4 and in ecs scenarios
we are trying to upload SC and Purchase Orders and we want to update the vendor text field and the internal text field directly through program .
Do we have a function module to write the internal notes programmatically
thanks
Hi,
Which is the FM you are using to create the SC?
BR,
Disha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
can anyone reply this one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please use the below FMs:
Shopping Cart:
BBP_PD_SC_CREATE
BBP_PD_SC_UPDATE
PO:
BBP_PD_PO_CREATE
BBP_PD_PO_UPDATE
The long text needs to be populated into the table I_LONGTEXT.
Sample Code:
CONSTANTS: lc_tdid TYPE tdid VALUE 'CHT1',
lc_tdformat TYPE tdformat VALUE '/'.
DATA: ls_longtext TYPE bbp_pds_longtext.
ls_longtext-guid = p_ls_item-guid.
ls_longtext-tdid = lc_tdid.
ls_longtext-tdspras = sy-langu.
ls_longtext-counter = 1.
ls_longtext-tdformat = lc_tdformat.
ls_longtext-tdline = gs_scp_sc_data-job_address.
APPEND ls_longtext TO gt_longtext.
.
.
.
.
* Function call to create a Shop Cart
CALL FUNCTION 'BBP_PD_SC_CREATE'
EXPORTING
i_park = gc_yes
i_header = gs_header
IMPORTING
e_header = ls_header
TABLES
i_item = gt_item
i_account = gt_account
i_partner = gt_partner
i_longtext = gt_longtext
i_orgdata = gt_orgdata
i_tax = gt_tax_code
e_messages = lt_messages.
Regards
Kathirvel
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.