Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Pricing Condition For product

We need to update the pricing condition while creating campaign products, currently we are using the function module COM_PROD_MATERIAL_MAINTAIN_API

And I am passing the pricing details in the parameter it_conditions but it is not working .

i am passing these parameters :

MOVE gv_pr_number TO gs_conditions-pr_number.

CALL FUNCTION 'GUID_CREATE'

IMPORTING

ev_guid_16 = gs_conditions1-varnumh.

gs_conditions1-client = sy-mandt.

gs_conditions1-kopos = '001'.

gs_conditions1-kschl = 'ZIN1'.

gs_conditions1-kbetr = '123'.

gs_conditions1-konwa = 'USD'.

gs_conditions1-kpein = '1'.

gs_conditions1-kmein = 'EA'.

gs_conditions1-krech = 'C'.

gs_conditions1-kvewe = 'PR'.

gs_conditions1-kotabnr = 'ZIN_TAB1'.

gs_conditions1-product = gv_product_guid.

gs_conditions1-kschl_supp = 'ZIN1'.

gs_conditions1-kappl = 'CRM'.

gs_conditions1-CREATED_BY = sy-uname.

gs_conditions1-CREATED_ON = sy-datum.

gs_conditions1-tte_logsys = gv_logsys.

gs_conditions1-/sapcnd/mnt_is_archived = 'X'.

  • gs_conditions1-product_ref_guid = gv_product_guid.

gs_conditions1-timestamp_from = gv_valid_from.

gs_conditions1-timestamp_to = '99991231235959'.

APPEND gs_conditions1 TO gs_conditions-cnd_crm_working_set.

APPEND gs_conditions TO gt_conditions.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question