Creating Condition Table.. Key fields and line items

dear all
I am creating a Condition table and have 6 fields, I want to make 5 of them as key fields and also header line fields.
I want my 6th field as line item field but I am unable to do that. My last key field is also shoiwing in line item.
Please help.
Thank you.
Madhu.

Hi,
Check this thread
Re: VK11
Regards,
Chandra

Similar Messages

  • Infoset Join condition on Key feilds and data fields

    Hi Guys,
    I have a requirement to biuld the Info set with join conditon on two DSO's  the info objects which i am using in the JOin condition are defined as data fieds in one DSO and defined as key fields in another DSO, is it possible to define join condition on key fields and data fields.
    The two info objects are                
                           0AC_DOC_NO
                           0ITEM_NUM
    These two info objects are defined as  data fields in DSO :   0LIV_DS1   Invocie verificaion
                                                            key fields in DSO:    0FIAP_0o3 FI AP Line Item
    Please suggest me is it possible to define join the condtion on the data fields and key feilds.
    Thanks
    Best regards
    SG

    Hi
    yes you can create join, you will get any issue in reporting level.
    example: Say i want to create Info Set on 0MATERIAL and Sales DSO.
    In 0MATERIAL Info Object it is key filed, but in my DSO 0MATERIAL is data field.Still we can create
    Creation of join is dependent on fields common in your source objects.
    check out the below document
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh
    Edited by: Venkateswarlu Nandimandalam on Sep 27, 2011 2:26 AM

  • Key fields and non-key field of condition table

    Hello Gurus,
          what is key fields and non-key field of condition table?
    thanks very much!

    Key field
    Each condition table contains keys that can be used for creating dependent condition records.
    for example let take condition type PR00.
    PR00 uses access sequence PR02 .
    Access sequence PR02 has following tables associated with it namely 304, 305 & 306
    When you create a conditon record for PR00 with transaction VK11 or VK31, you have a button 'key combination' which is nothing but fields associated with tables 304, 305 & 306.
    In brief, Condition records are always created using specific keys. Condition tables are used to define the structure of the keys of a condition record.
    Non key field
    For example take condition table 144 - sales deal basic data.
    Table 144 is associated with access sequence PBUD.
    If you check the fields associated with this table (click technical view button), there are three fields at bottom which do not have 'key' check mark -KDATU, PLTYP, KSTAF
    So, when you create a condition record for PBUD, system does not propose these 3 fields in 'key combination' and hence are non key fields.
    Please reward points for good answers as this would help increase the total donation that SAP will make to the United Nations World Food Programme.

  • Add fields in fieldctlg in Create condition table in SPRO

    Hi Experts,
    How can we add more fields in fieldCatlg table which appears in 'Create Condition Table' in Sales Distribution head in SPRO.
    Please Suggest.
    Rajiv Ranjan

    Hi Rajiv
    Please go through this extract from documentation:
    Creating New Data Fields in a Communication Structure
    Data fields are created in the Data Dictionary. You create data elements and fields in the Data Dictionary as well as integrate them in the relevant structures. Use following check list when you create new data fields:
    1. Check whether an identical data field already exists in the standard system
    If you want to use the order reason (AUGRU) for pricing, for example,
    the data element already exists.
    If you want to use parts of the product hierarchy, for example, you must create a new data element (e.g. ZZPRODH1).
    Remember that new data fields must begin with the letter "ZZ" or "YY" because SAP has selected this name convention to protect modifications of the customer during a release changeover. Create a new domain for the new data element.
    If you want to use a new partner function, such as a selling agent (Z1) you have to create a new partner function (Z1) and a new data element (ZZVRTZ1) in Customizing.
    2. Using the source tables, check wether the field is used at header or at item level, which determines the structure in which the field is included. The source tables are listed in the section "Supplying Fields Within the Communication Structure and Using Them in Condition Tables" below.
    The order reason, for example, is included in table VBAK, the product hierarchy in table VBAP.
    3. Integrate the field in the appropriate communication structure by means of an INCLUDE.
    For pricing, for example, you include header fields in KOMKAZ, item fields in KOMPAZ: For the field name enter the field description new fields and make sure that they begin with ZZ or YY. For example, enter ZZAUGRU, ZZPRODH, and ZZVRTZ1 and assign them to the SAP data element AUGRU, or the new data elements you have just created ZZPRODH1 and ZZVRTZ1.
    The description of the individual functions will inform you about the structures into which the fields must be integrated.
    4. Activate the structure.
    5. Include a new field in table T681 and allocate it to the application in which is to be used.
    Example
    A new field for pricing, has the allocation A, V, 001.
    When you have succesfully added the new fields in the communication structure, you will be able to find the same in FIELD CATALOG under the acess squences definition. Please check the same...
    Regards
    Eswar

  • Fields in Field Catalog not available when creating condition table

    I  see that field HIEBO01 to HIEBO12 are available in Field Catalog, but I don't see these fields when creating condition table
    Please let me know what I am missing here.
    Any insight on this would be really helpful.  Thanks guys!

    you need to get them added to the pricing structure KOMKAZ or KOMPAZ based on whether you need @ header level or @ item level respectively.
    and then add the logic in the sales order user exit for these added field in the pricing_prepare_TKOMK or pricing_prepare_TKOMP...again based on header level or item level.....
    Then go back to the field catalog and select from the respective structure and add them, Then you can see them when creating cond tables.
    Hope this helps. Hope i havent misunderstood your query.,
    Regards
    Sai

  • Which FM can append table sturcture(add key fields and so on)

    Hi everybody,
    does any one of u know a FM which append structures of table (to add the key fields and so on) in ABAP dictionary.
    The FM DDIF_TABL_PUT is only used to write a new table and I don't want to call this FM twice to realize my application.
    Thanks in advance!
    Liying

    Hi Raja,
    I got a runtime error:Perform_NOT_FOUND
    EXCEPTION:CX_SY_DYN_CALL_ILLEGAL_FORM
    following is my codes:
    DATA ATA DDFIELDS LIKE DDFIELD OCCURS 2 WITH HEADER LINE.
    DATA NAME LIKE DD02L-TABNAME.
    DDFIELDS-FIELDNAME = 'F3'.
    DDFIELDS-POSITION = '3'.
    DDFIELDS-KEYFLAG = 'X'.
    DDFIELDS-DATATYPE = 'INT4'.
    APPEND DDFIELDS.
    DDFIELDS-FIELDNAME = 'F4'.
    DDFIELDS-POSITION = '4'.
    DDFIELDS-KEYFLAG = ''.
    DDFIELDS-DATATYPE = 'INT4'.
    APPEND DDFIELDS.
    NAME = 'ZTEST'.
    CALL FUNCTION 'DB_ADD_TABLE_FIELDS'
        EXPORTING
            TABNAME = NAME
        TABLES
            DDFIELDS = DDFIELDS
        EXCEPTIONS
            FIELDS_NOT_ADDED = 01
            PROGRAM_NOT_GENERATED = 02
            PROGRAM_NOT_WRITTEN = 03
            TABLE_DOES_NOT_EXIST = 04.
    What might be the reason?
    B.R.
    Liying

  • Field is missing in Create condition table screen

    We are going through one minor issue.We are trying to configure output types for billing docs.I am trying to create a condition table with sold to party field.It is displaying in field catalog,but not displaying in create condition table screen.Any idea how to get it?
    Thanks

    Hi VCS
    As you want to create a condition table at billing level and at  billing level for sold to party it is KUNAG  where as in sales order level it is KUNNR.
    VBRK- KUNAG (SOLD TO PARTY AT BILLING LEVEL )
    VBAK- KUNNR  (SOLD TO PARTY AT SALES ORDER LEVEL )
    so you need to select the sold  to party KUNAG and if that sold to party is not available , create that sold to party feild (KUNAG) . and save it
    Now when you cerate a condtion table check wheather that cerated feild is there are not . sometimes it will be there and sometimes it wont be there . if that feild is not there then , we need to take the help of ABAPer's and they will  copy the standard table into Z table and in that they will write the ALV report  or any program . so that it gets triggered in that feild catlog.
    example :
    KUNAG is availabe in VBRK table
    so ABAP'ers will be copying hte standard VBRK table in ZVBRK table  and in that ZVBRK table they will write the program where this feild KUNAG is also inserted.
    so when you create a condtion table then you can see this KUNAG feild, in the list of feild catlog,if that feild is not there just maintain . the feild. automatically it gets triggered in the feild catlog
    Reward if useful
    Regards
    Srinath

  • Displaying header and line items

    Hi,
    i) i have a fieldname i.e text and its value to display in the bodypage  (body)..
    i want to display the text and its value only if the value is there.. otherwise it should not be displayed and a blank line also should not appear
    in smartforms we can handle that in conditions in the corresponding node, how we do the same in adobe forms?
    ii) suppose i have header and line items and for each header item i want to display the line items, both r in 2 tables how can we handle this
    Thanks

    Hi Shekar,
    The following solutions useful if you are using printbased forms.
    1. To display the field if the value is there.
    ->In the Context you can define the condtion on the filed.
    ->You can write a script on the subform superior to the field
    [code]      if ( $.field.rawValue == <value> ) then
                $.field.presence = “hidden”
          endif [/code]
    2. Header and item table
    In the SFP context drag the header table from interface.drag the item table from interface on the DATA in the header table. it will placed at the end of the header table. Now select the item table select where clause in the properties ( at the bottom of the screen ).there you create a line for condition using create button. drag the field from header table field ( say header-matnr ) on the right side and then drag the same field from the item table ( say item-matnr) in the left side.This will filter the item records relevent for header record.
    refer the message
    Re: Adobe IF Attachments

  • Key fields and data fields in a DSO  ??

    i have a question regarding key fields and data fields in a Standard DSO...
    i am using 2 datasources to build a open sales report 2LIS_11_VASTH  and  2LIS_11_VASTI   i am pulling in data from these 2 data sources to a DSO and i am wondering what infoobjects should be in the key fields and data fields .....does this reflect back to table VBUK and VBUP tables and does the key field in the DSO have to be the key fields in VBUK and VBUP tables  ????  or what really should be included as key fields and data fields   ????  
    please help....

    If you look at the various SD tables, VBELN and POSNR are commonly used as the document number and document line item.
    For VBAP and VBUP, it's referring to the Sales Order Line Item with the columns VBELN and POSNR as the key for both tables. However, if you look at the LIPS table, which is the Delivery Line Item table, it too has VBELN and POSNR as the key. Likewise, the VTTP table, which is the Shipment Line Item table, also has VBELN and POSNR as the key.
    While using RSOSFIELDMAP as a map is a fairly good "rule of thumb", it still needs to be used with a level of skepticism.

  • Header and Line Item reporting (MultiProvider)

    Hello All,
    We have data coming in from a LO Extractor.  There are 2 extractors.  1 for line item the other for Header.  The line item extractor has all the fields for both so we decided to use this extractor (the line item).
    Question is, when extracting this data multiple records come over.  Let's say the order has 2 line items.  It brings over a header record and then 2 line item records.  We have it going to an ODS and then Cube.  The ODS key is order number and item.  Well the header record comes over with item number #, so 3 records hit the ODS.
    How do you handle this?  We saw something about denormalization and make this header record item number a 0.
    Can someone explain to us how to handle this?  We also read about a Constant selection and loading the header record and line item as we are to both the InfoCube, but we just don't understand this solution.
    Please help, Thank you

    Item level will have all fields those are in Header level.Header level data will be a subset of Item level data.Load only Item level and when you require header data remove Item number in that relevant DSO and you can see all the data summarized to header level in overwrite mode.
    This will not be good option if you require some fields that may have different records in the header and the item.
    One better option is create a secondary staging DSO that updated by header, item and schedule line level and you can choose your own data fields and key fields. You can update them in overwrite mode to have summarized records that avoids duplication of records from header and item for same document.
    Constant selection wil be helpful in the report level not during load process.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm
    This will ensure total displayed is constant even after navigation. So it hides repetitive records displaying after drilldown.

  • Query : Custom field at line item level in SRM 7.0 .

    I was going through a document which instructs on how to add a custom field at line item level in SRM 7.0.
    I found this code :
    CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
    EXPORTING
    I_GUID = IV_DOC_GUID
    I_WITH_ITEMDATA = 'X'
    TABLES
    E_ITEM = LT_ITEM
    E_MESSAGES = LT_MESSAGES
    E_STATUS = LT_STATUS. . 
    LOOP AT LT_STATUS INTO WA_STATUS.
    IF WA_STATUS-STAT EQ 'I1015' AND WA_STATUS-INACT IS INITIAL.
    LV_STATUS_APPROVE = 'X'.
    ENDIF.
    ENDLOOP.
    I wanted to know what is 'I1015'  and what is its significance .
    please advise .
    Ambar

    HI
    This speaks about the status of the Cart. This means that the Status of the Cart is AWAITING APPROVAL...I dont know which document you have gone through but procedure for adding a Custom Field in SRM 7.0 is:
    1. Create a Custom field in the Database in SRM. Preferrably add the field in an include and extend thta include to the table in SE11.
    2. Go to Portal Login of SRM and right click the part of the screen where you want to add the custom field. Click on More Field Help. The popup will give you the name of WebDynpro Applicaiton which controls that area.
    3. Login to SRM via GUI and display the webdynpro application using SE80. Enhance the Webdynpro application.
    4. Add the custom field to the Context of the WebDynpro Application View. You will be selecting the field from the database table while adding the custom field to the context
    5. Add the field at the specified place in Layout Tab of the WebDynpro View,
    6. Create a binding between the Layout Field and the Context
    7. Activate the changes.... you will see the field in Portal login of SRM....
    For more details , refer to the Webdynpro help of the application...
    Regards
    Virender Singh

  • How to control Payment Block field at line item level

    Hi Experts,
    Could anyone please let me know how to control payment block and payment method fields at line item level.
    I have checked field status at posting key (OB41) and GL (OB14) level but didn’t get any parameter to control these fields.
    I need your expert guidance.
    Regards,
    Mohammed Kalim

    Hi Mohammed,
    Please go to OB24/
    Select * (for all co.codes) default field status.Or Create new entry and input your co.code, Save it. Come back to co.code.
    Go to payment transaction
    Payment block and payment method display can be controlled from here for vendor master data
    Thanks and good luck.
    Regards,
    Sam

  • Gr Ir Assignment Updation with PO and Line Item

    In the GL for GR IR Account the sort key was not  maintained with PO number due to which the assigment field in the line item was getting updated with the posting date and not with the PO & LIne Item details.
    We have made the requiste changes and new items are getting updated properly.
    But require assitance in updating the earlier line items.
    As of date total line items are more than  0.15 mn.
    Please suggest some method to automatically update the assigment field of the GR IR Line items with the PO Details.
    Regards
    Mukesh

    Hi,
    You can use a substitution to update the field through FI. Use GGB4 for wirting a substitution you may need some ABAP coding to substitute PO no and line items in the assignment field.  rule would be Co code =XXX and GL account =xxx and Posting date earlier than =xxxx  then concatenrate EBELN and EBELP in Assigment field Zounr.
    Then execute FBL3N and edit the assignment field by selecting all the documents and then save it you should see the PO line items populated. You can leave the substitution on or you can remove it after updating,
    Regards
    K.R

  • Sales order no and line item no in account assignment tab of line item no.

    Hi All,
    When we display a sales order and go to line item --> Account assignment tab --> we can see sales order no and line item no in that screen. We want to know from where this existing no. in that field is populating from.
    We want to know this as we want to check feasibility of changing sales order and item no to maintenance contract no and line item no. ( Maintenance contract we have to pick from notification)
    If anybody has any idea about this do let me know as this is urgent requirment.
    Effort will be rewarded.
    Thanks in advance.
    Edited by: Satish Bharambe on Jul 4, 2008 10:38 AM

    Hi Satish,
    You mean Accounting assignment tab-->In Settlement rule details
    If yes the order number which is coming in that field Sales order and for which sale order you are looking that details both are the same numbers(i.e Nothing but sales order number).
    When you create sales order system will give number of the sales order the number will come in this place.
    I hope it will help you,
    Regards,
    Murali.

  • What indexes are created when we check dimension as line item.

    What indexes are created when we check dimension as line item.
    and also What indexes are created when we check dimension as high cardinality.
    Where can i see that information in the system.
    Answers are highly appreciated.
    Regards
    Kunal

    Hi,
    Line item means it does not have any dimension table.
    High Cardinality means that the dimension is to have a large number of instances (that is, a high cardinality). Also, it is very important to indentify the line item dimension properly. E.g. Sales Order number, this will have the exact number of entries as the fact table entries. Hence, this can be created as a line item dimension. If you are not sure of high cardinality never select that. Activate this function when the dimension has is at least 10%- 20% the size of the fact table (in terms of the number of records). <b>In this case, B tree indices are created instead of bitmap indices.</b>. By default it is BITMAP but with high cardinality it is B-Tree indexing.
    Hope this helps.
    PB

Maybe you are looking for

  • How can I reinstall iphoto on new hard drive?

    Original purchase came with iphoto installed.  After hard drive crash new hard drive does not have iphoto app.  Anyone have any idea how to reinstall without having to purchase?  Had to install original OS X 10.6.8 Snow Leopard

  • Reading emails sent from iPhones on Nokia N8 Belle

    My phone works well and receives "normal E mails" and attachements. However E mails sent from iPhones display the header and any attachements, photos or security/copyright message. My complaint is that the text of the message is missing. Once downloa

  • IMessage contact names issue

    When receiving a notifcation from iMessage, the contact name does not appear. The notification only shows the Apple ID or the phone number of the person messaging me. However, in the iMessage app itself, the contact names correctly appear in the left

  • OMWB Sybase Version ? to Oracle Version ? & Migration Verifer

    The documentation states that OMWB will migrate schemas and data from Sybase 11 or 12 to Oracle. My question is what versions are covered? There is a considerable difference between the various version of Sybase 12. My extact migration plan would be

  • Early 2008 Macbook won't boot after 10.7.5 update?

    Updated to 10.7.5, when it rebooted to do the install, there was an error message, and now the machine won't boot.  Stuck on grey screen with spinning wheel.... reset PRAM, Disk utility says drive is OK... still no luck. ?? Looks like this has hit th