Communication Structures

Hey folks,
I do have some basic doubts on Pricing & Pricing communication structure. These may sound really stupid to some.. But, please ..Please reply if you know the answer..it will help me a lot...
1. What is a Communication Structure??
Lets say - Pricing Communication Structure - KOMP / KOMK.. - I know KOMK is a header Pricing Communication Structure & KOMP for item...
But, precisely what it is the communication structure doing ??
2. If KOMP is for Item; KOMK - for header. Then what is KOMG. What role does structure KOMG play?
3. If we KOMP / KOMK for item & header respectively - then what for are communication structures - KOMPAZ & KOMKAZ
4. What is the difference between KOMK & XKOMK or KOMP & XKOMP..
I mean I really don't know why I see xKOMP in some condition routines..
5. What is XKWERT & KWERT ??
Any documentation on this will be really helpful to me.
Thanks,
Lavanya

Hi Lavanya - Routines are executed/called during condition type processing from a document. Since, condition type processing happens either during the creation of a particular document (like pricing) or after the document has been saved (like output conditions), data required for processing these condition types are sent through communication structures instead of allowing condition types to access table data directly. Think of this situation, a sales order is in the process of being created and pricing happens before even saving the document. Now if the processing of conditions were to be done using direct table read, how would it fetch data for an order that is still in process of being created... I hope you'r getting the point. Hence, (I believe thats what forced) SAP to design condition type processing using communication structures that would be filled with data before the conditions would be processed.
Like for instance, pricing. The communication structures, as you know it, KOMK and KOMP would be supplied before a condition type is processed. Similarly, for output condition type processing, communication routines are KOMxByy, where x can be K- Header, P-item level and yy is the application (v1, v2 ). So a sales order output condition type will have these two communication structures for processing, KOMKBV1 and KOMPBV1.....
You can view the structures and see for yourself the desired field before setting up a condition type. On occasions where you don't find a particular information field in the structure and you think thats required for your condition processing, you would have to enhance these structures. Before that, make sure that the information you are seeking from this new field in the structure can be sourced from the underlying document. For instance, sales order, you need a information out from the order but you don't have a corresponding field in the structure. You would first define the field in the structure (use the standard includes). Then go and have an ABAPer code in the user exit MV45AFZZ (userexit_pricing_prepare) to move the required data to this new field.
Hope you would have got the basic processing style used in SAP for processing condition types, both at pricing and output condition types.
Rgds,
Naren

Similar Messages

  • IPC in CRM 7.0: New customer field in item communication structure

    Hi Experts,
    I tried to enhance the IPC according to the known manual.
    I created a new item related z-field in the item communication structure which I fill in the BadI IF_EX_CRM_COND_COM_BADI with a Char(1) value:
        IF cs_acs_i_com-zfield IS INITIAL.
          LOOP AT ls_prc_agrmnts_wrk-price_agreements_crm ASSIGNING <price>.
            CASE <price>-kschl.
              WHEN 'ZFRE'.
                cs_acs_i_com-zfield = 'B'.
    I also did the customizing for that new formula which is a requirement. There I added two attributes to the implementation:
    -ITEM_GUID     Item GUID
    -ZFIELD     Z-Field
    and also two attributes to the formula:
    -ITEM_GUID     CRM_ITEM_GUID
    -ZFIELD     ZFIELD
    I use this requirement in my pricing procedure and uploaded the jar file. My java code looks as follows:
    import com.sap.spe.condmgnt.finding.userexit.RequirementAdapter;
    import com.sap.spe.condmgnt.customizing.IAccess;
    import com.sap.spe.condmgnt.customizing.IStep;
    import com.sap.spe.condmgnt.finding.userexit.IConditionFindingManagerUserExit;
    import com.sap.spe.base.logging.UserexitLogger;
    public class ZFreiStBLP extends RequirementAdapter {
         private static UserexitLogger userexitlogger =
              new UserexitLogger(ZFreiStBLP.class);
         public boolean checkRequirement(IConditionFindingManagerUserExit item,
                   IStep step, IAccess access) {
              String item_guid = item.getAttributeValue("ITEM_GUID");
              userexitlogger.writeLogDebug("Item: "
                        + item_guid);          
                   String zfield = item.getAttributeValue("ZFIELD");
                   userexitlogger.writeLogDebug("ZFIELD: "
                             + zfield );
                   if (pauschale != "B"){
                        return pauschale.equals("");
                        }else
                        {     return pauschale.equals("X");     
    In SM53 i can see the logs, but the problem is that obviously only the standard field ITEM_GUID is available in the Java. Means, that for my z-field I never get a value although the BadI is called an the value is written to the communication structure.
    Does anybody has an idea, why I do not get the value of that zfield in my java code?
    Thanks a lot!
    Regards,
    Mireille

    Hello Vinod,
    I have customised complete pricing procedure but in the Quotation order we are not getting NET VALUE.
    When i come accrossed with BBP_CHECK_CND_CUST In my findings i found parameter IPC_ON is missing.
    I am waiting for the reply from BASIS.
    Is there any functional customisation required for IPC let me know.
    Best Regards,
    Sathyadev

  • CRM Communication structure not working in a copy client

    Hi all,
    my issue is the following. In client 300 CRM, defined as copy of client 100 communication structure CRMT_ACS_I_COM  is not filled by implementation of BADI CRM_COND_COM_BADI .
    Basically it is supposed that once you fill manually a field contained in a  Z TAB, at item level, by marking the tax type,  condition type in pricing procedure is filled automatically.
    Now the point is, that in my client 100 of CRM this process works perfectly. Clients 100 and 300 are in the same machine.
    Since customizing tables are the same, BADis used are the same (the code), what is falling?
    Many thks in advance,
    AndreA,
    Ps: contributions will be rewarded

    Hi Johannes,
    I know it not recommended to set up two clients in the same machine, but unfortunately I did not have choice at time as it was imposed.
    As well it true they share the same instance.
    In any case I would say that in Quality we have the same clients and we haven't got any problems.
    But one is kept just for getting historical data, meant CRM100, meanwhile CRM300 is the real production.
    Both have an active middleware connection but just 300 is receiving and giving data to ERP, meanwhile R/3 as well is just kept for checking.
    So I think the issue is elsewhere, otherwise quality system would fail as well.
    In any case many tks in advance,
    AndreA

  • What are communication structures like KOMK and KOMP ?

    Hi,
    What are the communication structures liek KOMK and KOMP?
    What is their significance ?
    Any material on them would be appreciated.
    I have a requirement to move delivery item data to delivery header in creating shipment cost document. While doing this should I also change the values in KOMP also ?
    Thank you,
    Surya

    Hi,
    KOMK (Free goods determination - Communication header)
    KOMP (Free goods determination - Communication item)
    Or check these links....
    http://help.sap.com/saphelp_40b/helpdata/es/13/7155967935d1118b3f0060b03ca329/content.htm
    http://sapsdforum.com/2007/10/23/pricing-in-sd-in-great-detail/
    http://sapsdforum.blogspot.com/
    Reward points if helpful....
    Regards
    AK

  • New Custom Field in Delivery output Communication Structure

    Hello friends,
    I need your help to Solve my below problem
    We want the delivery output to be triggered based on the shipping point and storage location.
    Storage location is at item level and is not in LIKP and hence not in KOMKBV2 (Output Comm Structure for Deliveries)
    I have created a new Field ZZLGORT in the Header Strucutre and has performed thefolloiwng steps
    1. Include field ZZLGORT  in communication structure KOMKBV2. This is an Include that is provided for additional fields.
    Add the field with the name ZZLGORT in Include KOMKBZ4.
    2. In structure KOMB in Include KOMBZ, have added the same field
    (same procedure as for item 1).
    3. In view V_T681F, I created the same field with transaction SM31  under key B V2.
    4. Program LVCOMU04 contains Perform USEREXIT_KOMKBV2_FILL. This Perform
    is in program RVCOMFZZ.
    Modiied the source code as follows:
    FORM_USEREXIT_KOMKBV2_FILL.
    COM_KBV2-ZZLGORT = item Storage location.
    When i am in Debugging mode till the last minute the structure COM_KBV2-ZZLGORT is having the storage location value.
    so there is no problem in the userexit logic.
    5) I have created a new cond table , and assigned the table access sequence and assigned he access seq to the Delivery output type
    When i created the Delivery , the output analysis screen shows that the field ZZLGORT is blank ( With exclamation Mark) and it says Access Not made (initialized Field )
    can any one of you tell me what is the step i am missing out to make sure that the analysis screen has the storage location.
    and also the system reading the condition record and issuing the output.
    i have checked whether the output is issued by some other condition or not. no there is only condition record and its triggering that condition record but the analysis shows "Output Not found"
    Can any one of you help me here please. Your immediate inputs will be of great help to me
    Thanks & Regards
    Srini

    Hi Srini,
    As per note 32662 it seems you have followed all the steps, but might be that you didn't do in proper sequence.
    The note states that:
    "If a new access sequence and condition table was created before the communication structure was modified, it must be deleted again. Items 1 to 5 must be carried out in the specified sequence."
    So I guess the key for you would be to delete the Condition table and access and create them again.
    Regards,
    Ganesh

  • DataDictionnary Table or View for InfoSources/Communication Structure

    Hi,
    I am looking for the assignment between (Source) Fields  and InfoObjects.
    this is equivalent to:
    I am looking for a Data Dictionnary-Table or -View which describes the InfoSource fields / or Communication Structure fields.
    Anybody got a hint ?
    ThanXs
    Martin

    RSKS
    RSKSFIELD
    RSISFIELD

  • Field mapping in transfer structure and communication structure

    Hi,
    I am able to see the mapping of BW field with R/3 field in the transfer structure.
    By the same time, in the communication structure the same BW field is there with out any mapping (Unmapped).
    Can any one advice what could be the problem. Thanks.
    Regards,
    Abhi.

    Hi Abhi
    In communication structure will not have any mapping, it is just the structure to communicate to Datatarget. Mapping between Source fields and BW fields is done at transfer rules and mapping btwn communication struture and Datatarget will be donein Update rules.
    Regards,
    Kiran.

  • Extenet the communication structure CEKKO for over delivery tolerance

    Hi Boss,
    I like to set the Purchase order release strategy based on the over delivery tolerance. But when i checking, the over delivery tolerance filed UEBTO is not in the communication structure CEKKO. Can you please help me how should i extend the CEKKO with field UEBTO.
    I do not have the ABAP experience, please guide me with coding.
    Thank you,
    Siva

    There are lot of fields which can be set as Charecteristics for Release Strategy. I dont know why you want to Set the Over delivery Tolerance as Charecterisitic.
    What is your Requirment??
    Any way You can also use CEKKOZZ Communication Structure: PO release for User Exit
    Go thru the Link which will guide you
    http://help.sap.com/saphelp_40b/helpdata/en/dd/2d547bb435d1118b3f0060b03ca329/content.htm

  • Creating new field in a communication structure

    Dear All,
    I am trying to create new field in a pricing communication structure in the ITEM level. I followed the below mentioned steps to do this.
    1. Added MATWA (Material Entered - Material determination) field in the structure KOMPAZ.
    2. Activated the structure.
    3. Now I need to allocate the new field in the table T681F to the usage and the application area, in which it is to be used.  (These are the steps I got from few documents and in the following link   [Re: Allowed fields are not showing in the Condition table])
    My question is.. How to add this field in T681F table?
    Ultimately, I am not getting this field in the Field catalog while creating condition table.

    Hi Prem,
    I hope you would have added the field MATWA with ZZMATWA as we need to do it with ZZ or YY for custom fields additions in the communication structure.
    After doing this, ideally there should not be any problem in adding ZZMATWA in the field catalogue. Try with the following menu path in the IMG
    Sales and Dist.->Basic Functions-> Pricing->Pricing Control->Define Condition tables Execute - Add field catalogue.
    Or in transaction code VOK0 by selecting the condition tables option in the menu.- Add field catalogue
    I hope this helps.
    Regards,
    Subbu

  • Sample code for a custom field added to LIS Communication structure for Del

    We appended a new custome field into extraction structure of the LO Cookpit datasource 2LIS_02_ITM through RSA6.  And then run CMOD to write the exit code to populate the value and it works fine.  But after we read Roberto's Weblog:
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    Find the enhancement we did can't make the Delta mechanism works if only this new field gets changed in a record, and the change cannot be reflected on BW.  I know we can run SMOD on the enhancement LEINS001 to write the code for LIS Communication structure customer exit.  But we have never writen such a code for LIS Communication Structure enhancement and also don't know on how to make the Delta mechanism works in the code.  We would be very appreciated if some expert here can provide the sample code!
    Thanks

    hi AHP,
    Have you tried Sanyam's code listed in this article you recommended?
    Now our R3 team has added a custom field called ZZZ to EKKO table and I modify the code to suit our need and the code would be as following:
    *& Include ZXM06U16 *
    DATA: i_t_ekko LIKE ekko OCCURS 1 WITH HEADER LINE.
    DATA: ebeln LIKE ekpo-ebeln,
    it_ekko TYPE TABLE OF ekko WITH HEADER LINE,
    old_val(50) TYPE c. "For storing the value from the Field Symbol
    FIELD-SYMBOLS <fs> TYPE ANY TABLE.
    CASE zeitp.
    WHEN 'MA'. "When creating a purchase order
    MOVE '(SAPLEINS)T_EKKO[]' TO old_val.
    ASSIGN (old_val) TO <fs>.
    i_t_ekko[] = <fs>.
    LOOP AT xmcekko.
    ebeln = xmcekko-ebeln.
    IF xmcekko-supkz = '1'. "Old Value ?
    SELECT SINGLE * FROM ekko INTO it_ekko WHERE ebeln = ebeln.
    xmcekko-ZZZ = it_ekko-ZZZ.
    ELSE. "New Value ?
    READ TABLE i_t_ekko WITH KEY ebeln = ebeln.
    xmcekko-ZZZ = i_t_ekko-ZZZ.
    ENDIF.
    MODIFY xmcekko.
    ENDLOOP.
    EndCase.
    The compile of the above code works fine and we activated everywhere including project level. Then we set debug points in this code, and run RSA3 on 2LIS_02_ITM, but find the extraction program never reaches this code or call this user exit function EXIT_SAPLEINS_001 of this enhancement LEINS001. Any reason?
    Thanks
    Kevin
    Message was edited by: Kevin Smith

  • Communication Structures called in the E-Commerce web shop orders

    Hi Experts,
    When we create orders in e-commerce B2B / BOB / B2C web shops, we get pricing elements at header and item level on the shopping basket / order page. To display these pricing elements, communication structures are called from the backend GUI.  These stuctures are accessed in the SAP CRM 7.0 GUI by the T-code  CRMC_MAP.
    Can you please let me know the communication structures that are called for
    - Pricing elements at the header level on the shopping basket / order page
    - Pricing elements at the item level on the shopping basket / order page
    Thanks and regards,
    Mahesh Kakani
    Edited by: maheshkakani on Nov 7, 2011 1:54 PM
    Edited by: maheshkakani on Nov 7, 2011 2:04 PM

    Hi Mahesh
    Please check
    CRMT_ISALES_BASKETHEAD_IL
    CRMT_ISALES_BASKETITEM_IL
    Hope this will be useful.
    Regards

  • Cannot delete communication structure

    Hi Gurus!
    I am having problems deleting the communication structures. I installed some Business Contents using the In Dataflow before and afterwards. Consequently, some installed objects are irrelevant to what I need. I am doing some clean-up but I cannot delete the communication structure. It is really odd since I’ve deleted the update rule connected to it, there are no existing transfer structures already still same errors encountered. Then when I try to delete it, it would say that InfoObject ex. 0GN_CAT_SSY of communication structure still being used, but whenever I change the communication structure it is highlighted and cannot be deleted.
    InfoObject 0GN_CAT_SSY of communication structure still being used
        Message no. RSAR741
    Diagnosis
        The deletion of the communication structure for InfoSource
        0PROD_CATEG_TEXT is not possible. InfoObject 0GN_CAT_SSY of the
        communication structure is still being used. This use must be undone
        first.
        Concretely the communication structure of an InfoSource can only be
        deleted if there are no update rules for InfoCubes and no transfer
        structures for source systems for this InfoSource.
    System response
        Activity was finished without database change.
    Procedure
       o   Check the use of your InfoSource 0PROD_CATEG_TEXT in the transfer
           structures. Delete all existing transfer structures of your
           InfoSource 0PROD_CATEG_TEXT.
       o   Check the use of your InfoSource 0PROD_CATEG_TEXT in update rules
           for InfoCubes. Delete all existing update rules for your InfoSource
           0PROD_CATEG_TEXT.
       Afterwards, you can delete your communication structure for InfoSource
       0PROD_CATEG_TEXT.
    Points will be granted whoever can help me. Thank you.

    Hi
    Check , whether your infosource is already assigned to datasource!  At the Infosource tree, Open the Infosource, inside that, check you have any datasource assignment.(It will somthing like the name of the R/3 system).
    Right click on the Infosource, and select the option "Delete the source sytem assignment"
    Then try to delete the communication structure.
    It should work!!
    Thanks
    Vj

  • Unable to Delete the InfoObjects from Communication Structure..

    Hi all,
      I want to delete the extra InfoObjects from the Communication Structure for 0VENDOR. I am in InfoSources section of RSA1 and double clicked on 0VENDOR InfoSource and 'InfoSource 0VENDOR Change' screen is displayed, but 'Insert New Row' (button with + sign) and 'Delete Selected Rows' (button with - sign) are in GRAY. Since it is in GRAY, we can not make any modifications to it. The Source System is R/3 Dev.
      When I expand 'Transfer_Structure/Transfer_Rules' below the Communication Structure the Source System points to PC file. Next, I have changed the Source System to R/3 Dev and DataSource to 0VENDOR_ATTR and still unable to make modifications to Communication Structure.
    What is wrong with it? How can I make deletions, PLEASE?
    Thanks.

    Hi Bhanu,
      I am in BW Dev box and checked other InfoSources with R/3 Dev as SourceSystem and buttons are in GRAY only.
      There is 0VENDOR_ATTR InfoSource with different SourceSystem assignment (R/3 QA Box) and the buttons are not in GRAY. It means I could make modifications to this Communication Structure.
      Why I am not able to make modifications to 0VENDOR Comm. Structure, PLEASE?
      Note: I have started installing the Business Content for Project Systems 0PROJECT_ATTR and stopped that transaction in the middle of the process on Friday. Is it caused some damage?
    Thanks.

  • ABAP to test whether communication structure field is blank

    Group,
    I'm wondering what the best syntax would be for testing whether a field passed through in a communication structure is blank. The field is a reference to 0MATERIAL....Here were two ways I've done it, but want to know the differences between the two and which one would be the better choice:
    Option 1:
    IF COMM_STRUCTURE-FIELD1 EQ "".
         .... do something
    ENDIF.
    Option 2:
    IF COMM_STRUCTURE-FIELD1 IS INITIAL.
        ....do something
    ENDIF.

    Hi,
    IS INITIAL behaves different for different variable types.
    If your field is text type and is empty IS INITIAL is true.
    If your field is numerical and contains 0 IS INITIAL is also true.
    regards
    Krzys

  • Communication structures with same technical name

    Hi,
    In our BW 3.5 system, we found two communication structures with the same name. Can anyone advice me how could this be possible? Did anyone encounter this kind of scenario before.
    Your suggestions will be helpful for my analysis.
    Thanks!

    Please check the entries in table RSKS for your communication str. Is there any entry with version T?
    We had faced this issue for Transfer Str & not for communication str. The reason was we had a copy system & when you do changes to the copied object in dev & try to transport it to the copied system, it fails. The reason being it stores the object in version T in copied system.

  • Change communication structure for master data with direct update

    Hi All,
    I am having a problem with a change I want to make to some master data. I have added the attribute to the characteristic, but when I have gone to change the communication structure, its not possible (the add line button is greyed out)
    I can see the new infoobject in the datasource/trans structure, but not in the comms structure (And yes it is in change mode   ).
    The master data uses direct update, and I have read that this causes some hassles in changing the comms str.
    Can someone please give me some steps in doing this??
    Thanks
    Ryan

    Hi Ryan,
    Why u have nothing to map is ?
    U r datasource trasfer structure from the source ssytem has nothing new ..
    1)TO ur Info object u can only write the routing or give any formula or anythign like the trasfer rules oftions that have when u click on the IO icon..
    2) Enhave the structure of the datasoruce that is getting from the  R3 source system...
    3) Replicate it ..
    Then only u will be able to find the extra field at the Trasfer structure... to map to the IO which have been added..
    hope it helps
    regards
    AK

Maybe you are looking for

  • Some emails not coming through

    For some time now I have had the frequent problem of messages not showing up in the "sent messages" box. It's irritating not to be able to have a copy of all the emails I send, but I can live with it. For the past couple of weeks however, I've notice

  • Syncing on a new computer

    When I switched to this computer I declined to sync it with the library to keep my music but I believe to only option is to do that now but When I said no i clicked dont ever show that again and no other sync option will allow me to erase the music t

  • C7 captured image quality

    i got a c7 like a month back everything is perfect but one thing is out of my understanding when i open my camera there are no lines but as i take the pictures without flash  i get lines on my captured images although there is sufficient light in the

  • Moving songs in my library

    I had to get a new hard drive for my laptop and now when I try to update my songs, I get a message about my ipod being linked to another itunes music library. What am I to do?

  • What is the Back gesture on the trackpad on the mac app store?

    the back gesture in safari is changed to two finger swipe but i am not able to figure out what is the gesture for back option on the mac app store? could somebody help