Mapping pricing conditions cond_a

I am working on sending pricing condition records from SAP to XI - idoc (cond_a) to flat file scenario. 
In the mapping, on the source side, there is segment - E1KOMG (Occurence - 0..1) that is mapped to - UpdateInsertKOMG (Occurence - 0..Unbounded) on the right (target). 
Right now we get one KOMG record in the flat file.  We need two KOMG records in the flat file. 
I was told to modify the UpdateInsertKOMG on the right (target) to accomplish this. 
How to accomplish this?
Thanks.

1-change the ocurrance of the segment to 0.N
If I want to use this approach, how do I change the occurance from 0 to N.
the abap team has to do this
In the source I will always have one segment of KOMG and mulitple KONP.
you need all the values of KONP in the file?
for exmaple this is your structure:
<IDOC>
<E1KOMG>0.1
<KONP>0.n
<KONP>123
<KONP>aasd
<KONP>gtr
</E1KOMG
</IDOC>
the file should be
XXXX,XXX,123,aasd,gtr
something like that? actually you have the structure of the IDoc as my example and you only get one value into the file??
if that is true, you need to modify your mapping like:
KONP-->targetsegment --> doing this you will create at target side many segments as KONP values you receive
KONP>splitByValue(eachValue)->targetfield -->many field in the target segments as KONP values.

Similar Messages

  • Pricing Condition Records initial upload - COND_A

    Hi,
    I have configured outbound COND_A pricing condition Idocs for Change documents. Whenever the pricing condition is changed IDoc will be generated.
    Now my requirement is how can I do the initial upload of existing Pricing Condition records to legacy system? I mean how can I generate Outbound IDocs for existing pricing condition records to do initial upload.
    Thanks in advance for your help.
    Rgds,
    AK

    HI,
    way1:
    if you are using Sretail (ARTMAS) then you can use BD10 tcode with the flag "send all data".
    In that case the COND_A for every ARTMAS is send.
    way2:
    1. if you want to send a all condition, then go to MEK3 choose your conditiont ype and push "condition Info".
    2. Make your selection and go ahead with F8
    3. Push "Send condition"

  • SRM 7.0 pricing conditions mapping to the backend system

    Experts,
      I am new to SRM & working in SRM 7.0.  I have a serious problem in distributing the pricing conditions.
      I need to distribute/map the pricing conditions in SRM 7.0 to the backend ECC system.  I need step by step procedure for the same.  Plz help me.

    Hi,
      with the help of SDN, i have done the mapping part of pricing conditions as below.
      field-symbols:
        <ls_be_item>      type BBPS_CTR_ITEM,
        <ls_be_cond>      type BBPBAPICONDCT,
        <ls_be_cond_bapi> type BBPBAPICONDIT.
      loop at ct_be_items assigning <ls_be_item>.
        if <ls_be_cond>-COND_TYPE = '0100'.
          <ls_be_cond>-COND_TYPE = 'PB00'.
        elseif <ls_be_cond>-COND_TYPE = '01CT'.
          <ls_be_cond>-COND_TYPE = 'PBXX'.
        elseif <ls_be_cond>-COND_TYPE = '01RA'.
          <ls_be_cond>-COND_TYPE = 'RB00'.
        elseif <ls_be_cond>-COND_TYPE = '01RP'.
          <ls_be_cond>-COND_TYPE = '01RP'.
        ENDIF.
        if <ls_be_cond_bapi>-COND_TYPE = '0100'.
          <ls_be_cond_bapi>-COND_TYPE = 'PB00'.
        elseif <ls_be_cond_bapi>-COND_TYPE = '01CT'.
          <ls_be_cond_bapi>-COND_TYPE = 'PBXX'.
        elseif <ls_be_cond_bapi>-COND_TYPE = '01RA'.
          <ls_be_cond_bapi>-COND_TYPE = 'RB00'.
        elseif <ls_be_cond_bapi>-COND_TYPE = '01RP'.
          <ls_be_cond_bapi>-COND_TYPE = '01RP'.
        ENDIF.
      endloop.
    But the problem is, when i put the external break point in the above code, its not getting triggered.  Can any plz tell me how to debug the code.

  • VAT/Excise calculation - map pricing & tax procedures

    Dear,
    Pls tell me how to map my blw senerio;
    In pricing procedure, i have
    A- Gross price
    B- Handlying charges
    C- Excise on A+B,
    here i need to calculate my exise on A+B values and it flows (C) frm tax procedure (taxinn). until here i'm ok.
    D - A BC
    E - Insurance (defined in pricing proce) on D value,
    here i'm unbale to map my price, since the sytem taking A+ B price only, its not taking my D values... I need to map pricing & tax procedures, since Gross price, Han. charges and insurance flows frm pricing proce and Excise frm tax procedure.
    Anyone has right solution, pls guide me...

    Hello sapjj
    Here in your issue, u have to maintain a dummy condition type for excise calculation in your pricing procedure. The excise on A+B will be calculated in pricing procedure itself and not it flows from tax procedure.You have to make a condition type in pricing procedure and mark it as statistical in the procedure so that it doesn't get added to material value.
    you are ok till gross price and handling charges, right?
    Then you include your dummy condition type for excise amount calculation.Then in the next step calculate a subtotal without giving any condition type and maintaining 'S' in the subtotal field in the pricing procedure.
    In the next step include the insurance condition type and calculate it on the subtotal.
    This will help
    Regards
    Gregory Mathews

  • Transport Pricing Conditions

    Hi
    I've maintained the pricing conditions in CRM 5.0 for all the products. I wish to transport these confition records from one client to another on the same system ID. Is there any report or transaction available for transporting the condition records from one client to another?
    Urgent help required.
    Thanks
    Avineesh

    hi
    In SPRO > MM > Purchasing > Conditions > Define Price Determination Process > Define Schema Determination > Determine Schema for Stock Transport Orders > Here assign Calculation Schema "RM2000" i.e. Stock Transfer Document to Schema Grp Pur. Org, STO Type (For e.g. UB) and Supplying Plant.
    Calculation Schema "RM2000" has condition type P101 which will pick up the MAP of supplying plant automatically during creation of STO in ME21N ("Conditions" Tab).
    You can create new freight / delivery cost conditions in M/06 and assign in pricing procedure "RM2000" in M/08 and also assign the Accrual Key to this and do the Account Determination for this Accrual Key in OBYC
    At the time of PGI, following accounting entry will get generated;
    Stock A/c - Dr - 110 INR (Receiving Plant)
    Stock A/c - Cr - 100 INR (Supplying Plant)
    Freight Clearing A/c - Cr - 10 INR (Supplying Plant)
    reagrds
    kunal

  • In Stock trasfer order how to pick pricing condition types

    Dear Experts,
    I am new to SAP MM my question is In Stock transfer order (plant to plant through purchasing) it is picking PI01 pricing condition types? how it is picking? what are the Accounting doc are updating?

    Hi,
    Goto the following node SPRO > IMG > Materials management > Purchasing > Conditions > Define Price determination process > Define shcema determiantion
    Define schema for transport orders under which you will be able to see RM2000, when you try to open the RM2000 through M/08 transaction code.
    You will be able to see the PI01 as the basic price condition type.
    Accounting entries
    During Goods Issue.
    The stock account in the supplying plant gets Credited with the MAP value.
    The stock account in the receivving plant gets debited with the MAP value.
    If there exists any diffeence then the key AUF will get hitted.
    During Goods Receipt.
    No accounting doucment gets generated.
    Regards,
    DilliB

  • CRMXIF_ORDER_SAVE_M02 - how to populate pricing conditions at header lvl?

    Hi all,
    im using lsmw idoc basic type CRMXIF_ORDER_SAVE_M02 to create Service Orders.
    my problem now is, it only contains pricing conditions segment (E101CRMXIF_PRCD_COND_XT) under the item level.
    is there anyway so that i can populate the pricing conditions at the header level?
    Many thanks.

    Hi Michael,
    Thanks alot for the answer.
    I had given 6 point for that.
    I have couple of more question here.
    As you said
    <b>bdoc structure can be enhanced using the EEWB or manually, but then you'll have to create the mapping from the bdoc to the CRM DB as well.</b>
    My question is what needs to be done to map bdoc to CRM database.
    Second thing is
    As you said
    <b>A new idoctype, including the enhancements done to the bdoc and all mapping functions for inbound and outbound communication, can be generated using transaction BDFG.</b>
    My question is what do you mean by New IDoc Type, Do i need to define new idoc type/message type for this enhancement, and the field which i have to add in BDOC structure how it is going to reflect into the corresponding basic idoc. In my case <b>crmxif_order_save_m02</b>, Don't i need to add the same field here in Basic Idoc type.
    Please explain me this doubts.
    Thanks Alot.
    Regards,
    Manoj Tiwari

  • Header Pricing conditions in BAPI function module

    I am using BAPI function module BAPI_SALESDOCU_CREATEFROMDATA1 to create sales orders through program.
    It is working fine with item level pricing conditions.
    But my requirement is ... I need to update few pricing conditon types in item level and one in header level.
    Could you please help me where I need to pass header pricing conditions. Please help me.
            CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
              EXPORTING
                SALESDOCUMENT             = SALESDOCUMENT
                SALES_HEADER_IN           = SALES_HEADER_IN
              SALES_HEADER_INX          =
              SENDER                    =
                BINARY_RELATIONSHIPTYPE   = 'VORL'
              INT_NUMBER_ASSIGNMENT     = ' '
              IMPORTING
                SALESDOCUMENT_EX          = SALESDOCUMENT_EX
              TABLES
                RETURN                    = RETURN
                SALES_ITEMS_IN            = SALES_ITEMS_IN
              SALES_ITEMS_INX           =
                SALES_PARTNERS            = SALES_PARTNERS
                SALES_SCHEDULES_IN        = SALES_SCHEDULES_IN
              SALES_SCHEDULES_INX       =
                SALES_CONDITIONS_IN       = SALES_CONDITIONS_IN.
              SALES_CFGS_REF            =
              SALES_CFGS_INST           =
              SALES_CFGS_PART_OF        =
              SALES_CFGS_VALUE          =
              SALES_CFGS_BLOB           =
              SALES_CCARD               =
              KEY_TABLE                 =
    Thanks in advance.
    Raghu

    If the correct configuration allows for manual entry of the condition type you want to populate, You can map your value using
    ' ORDER_CONDITIONS_IN'  . If item level map line number, cond step number of the condition type in your pricing procedure, your condition type you are using,  condition value you are sending into the system,  currency, and cond unit. If it is a header condition, then send in 000000 as the item number.   You can also consider using BAPI_SALESORDER_CREATEFROMDAT2

  • Archive pricing condition record

    Hello everybody,
    I want to ask about how to archive MM pricing condition record?
    I tried with SARA, archive object CND_RECORD or program /SAPCND/CND_RECORD_WRITE but it doesnt work.
    Kindly advise,
    Thanks,
    HN

    Hello Jurgen,
    We're about to archive tens of millions of SD_COND entries - mainly to reduce the number of change records we have in table CDHDR, of type COND_A (COND_A is the change document object for SD Pricing conditions and we have over 100 million of them! And is now causing a few performance issues).
    Understandably this is going to take a long time to process so I was intrigued to read your post that no conditions should be maintained whilst the archiving programs run...
    I've tried searching OSS but haven't been able to locate any information about this.
    Could it be that you were referring to the old archive programs and not the newer ones such as those described in:
    Note 838768 - New archiving programs for condition records
    Any help you could offer would be much appreciated!

  • Transfer pricing conditions ( Ecc) to Customs Duty Types (GTS)

    Hi Experts,
    We are currently using ECC 6.0 with GTS 7.0.
    In GTS 7.0 , the option to Map the Customs Duty type to Pricing condition type does not appear. Can you share where I can look for the same
    The condition records from proforma Invoice (ECC) are transferred to GTS Customs Declaration.
    However, we have certain condition types with calculation type as percentage in ECC which need to flow over to GTS.
    1.  What changes need to be carried in the corresponding boldcustoms duty type configurationbold in GTS to ensure that we get a correct data transfer..
    2.  what unit type / currency needs to be maintained to map the "%" appearing in condition record value (ECC) to the customs duty value (GTS).
    Regards
    Jasmit

    Thank you Sathya,
    I attempted to navigate via the given path but could not locate the option of having the assignments there.
    The condition type that is in scope of the dicussion is already getting transferrred to GTS via the standard mechanism( we havent modified the BAdI for this)
    However, the issue being encountered is that te condition record value holds a percentage figure.. this in turn is not getting mapped to the currency of customs duty type .
    How do I achieve this mapping in GTS ... Do i need to modify the BAdi to carry out the calculation before transferring this to GTS or alternatively some standard configuration in GTS can help me achieve this  mapping.
    Regards
    Jasmit

  • Free Goods with pricing condition (Urgent)

    Hi MM Expert,
    we have a probleme with free goods. because in PO item of free goods, there is no condition management (no Invoice entry) but we should manage some pricing condition for the item (spécifique condition relative to transport, ...).
    so are the any way of managing the expenses annex condition(transport charge, customs clearance charges,…) for the free goods in an item of Purchase Order ??
    thank's in advance.
    Said

    Hi,
    This is not possible to maintain the condition s for free goods because while creating the PO for free goods by selecting the free goods tad at item level, There is no Condition tab at Item detail .means you are not able to mainatin conditions.
    If you want to maintain the conditions ,you have to treat as a Normal scenarios .
    Regards
    Sanjay L

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • How to hide the pricing conditions specified in pricing procedure of sd.

    dear friends,
    my situation is to hide the conditions specified in the pricing procedure. so that it is not viewed by the some users.can you please tell me how to hide the conditions. so some of the persons, who are having authorization to see the conditions , will be able to see the pricing conditions.
    can you please suggest me how to do this.
    regards,
    g.v.shivakkumar

    Authorisation  issues viz. Role Impementations
    Hide Condition Records Line Item & Header Wise from all the transactions QK / So /  P.I. / Enquiry / Invoice etc. for specific user grps. - in CRETATE / AMEND / DISPLAY / REPORTS all
    Only Display the fields
    regards,
    g.v.shivakkumar

  • Unable to display the pricing conditions for a product.

    Hi All,
        I have created a product with help of function modules.The problem is that i am able to populate the pricing conditions data into internal table,but the pricing conditions  is not being displayed in the Masterdata->Products-> Maintain Products screen. Can anyone suggest me in this regards.Is there any function module to be used? or any other procedure to be followed for the pricing conditions to be dispalyed? If any sample code also please provide me.Please respond soon it is an Urgent Requirement. Points will be awarded for useful answers.
    Thanks in Advance,
    Shwetha.

    Hi,
    The pricing in SD and MM is a separate module like thing and is maintained for different products based on the Condition records.
    The basic Pricing Procedure consists of Condition  Types, Condition Records, Accesss Sequences and condition tables.
    Generally with respect to all sales and purchase documents the pricing is maintained in KONV  and KONP tables based on the different condition types.
    reward points if useful
    regards,
    ANJI

  • Price and Pricing conditions are not copied to PO for a line item !!

    Hi
    I have created a PO w.r.t a PR which has only one line item.
    Now, I add another line item to this existing PO, i get an error message that the Price and Pricing conditions are not copied.
    How do i rectify this error !!
    Where might be the link for this Price and Pricing conditions to get copied in to this PO ??
    MaruthiRam

    What kind of PR and in the PO same material you enter for new line or new material and do you have any funcitonal authorization assigned o your user id
    please reply

Maybe you are looking for