Entry in field KPOSN (item) in table KONV

Hi All
I observed that sometimes for the field KPOSN in the table KONV against a PO :-
1. There is blank entry,
2. Sometimes line item no is updated (i.e. 10, 20 etc)
3. Sometime both blank entry and line item is updated.
I want to know under what conditions or circumstances the the field KPSON is updated with the above 3 mentioned values.
Please help.
Regards
Satish Kumar

Hello
Accordingly:
1. Header condition only
2. Line condition only
3. Both header and line conditions

Similar Messages

  • Add item detail field into items overview table on ME2xN transactions

    Hi all and happy new year !
    We want to add an item detail field (manufacturer part number = MEPO1321-MFRPN) into items overview table
    on ME21N, ME22N and ME23N transactions.
    Does someone know if it's possible with a badi or other kind of exit ?
    thanks for your help
    Eric

    Hello Eric,
    If you want to system to show  Mfr Part Number you must not maintain the "MPN Profile" in materail master.
    But if you are using a material with profile, you will only get these fields pooulated  if you order the MPN material, and not the internal one. See also information in note 615722.
    Regards,

  • A user exit for table KONV

    Hi,
    I am looking for a User Exit that will enable me to update the fields of the conditions table KONV, while entering materials during the process of a Sales Order in VA01 or VA02.
    Thanks,
    Amit Shur

    I would like to enter some logics when determining the price of an order line item when entered, for example take into account old purchaes made by the same sold-to, in order to decide whether he deserves a discount.

  • How can I link table KONV with table VBRP and VBRK using KSCHL field?

    Hi experts,
    How can I link table KONV with table VBRP/VBRK using KSCHL field so that items are fully filtered?
    Thanks,

    Hi,
    If you do not want to specify it as hard code, then define a variable for it if you want to pass the value for it from the selection screen so that it will be dynamic. Code will be as follows.
    select-options: x_KSCHL for T685l-KSCHL.
    select kwert
               kbetr
               knumv
               kposn
               kschl
          from konv
          into CORRESPONDING FIELDS OF TABLE it_konv
          FOR ALL ENTRIES IN it_all
          where knumv = it_all-knumv
          and   kposn = it_all-b_posnr
          and   kschl in x_KSCHL. "Dynamic Selection as per the selection screen input
      endif.
    Hope this helps.
    Regards,
    Chandravadan

  • KINAK field in Table KONV not getting updated with value W

    Hi,
    I have a PO where I am deleting a line item.
    After I delet line item the field KINAK in table KONV gets updated with value W.
    But I am getting instance where in some cases the field KINAK is not getting updated.
    The result is deleted line item is getting populated in PO output also.
    Regards
    Nandiini

    KINAK is updated only when a Condition is inactive ! So when a item is deleted the condition becomes inactive and gets updated with 'W' which means statistical(not to be counted)
    A     Condition exclusion item
    K     Inactive due to calculation basis/shipping material type
    L     Condition exclusion header or inactive at header level
    M     Inactive due to manual entry
    T     Inactive at header level
    W     The document item is statistical
    X     Inactive via formulae of incorrect
    X     Inactive via formulae of incorrect
    Y     Inactive because of subsequent price

  • F4 help for a field in item table in a view cluster

    Hi All,
    I have a view cluster with two tables. I should provide F4 help for field in item table based on the selected row of the header table.
    F4 should have only values fetched based on the header table entry.
    How can i achieve this. Please suggest.
    Regards,
    Kusuma K.

    Hi amar_war,
    use screen painter to edit the screen layout where the field VKBUR is on. Double click the field to get the details screen. Here you can attach a search help to the field.
    H_TVBUR has no more parameters, it will display a list of al sales offices with description text
    H_TVBVK will also show the sales group, if VKGRP is a screen field, it will restrict the result list automatically on matching VKGRP.
    H_TVKBZ has also VKORG VTWEG SPART - it will take those values from screen if filled.
    If you are not satisfied with the results, you can easily create your own search help using own selection method and own search help exits if required.
    Try standard search help for standard field first.
    You can create a copy of VKBUR as ZVKBUR and attach search help there, you can create your own screen structure and attach the search help there - 50 ways to get your search help...
    Regards,
    Clemens

  • Linking a User Defined Field in Items table

    How to Link a User Defined Field in 'Item Master Data' table, to my own User Defined Table?
    Example:
    In Item Master Data table, I want to add 3 User Defined Fields, for e.g, Country, State and Region.
    When the value of Country combo is changed, values loaded in State and Region combos should change automatically.
    I'm storing the relationship between Country,State and Region in my own user defined table. I want to load the comboboxes with a query from that table.
    Or, if there's no solution to the above problem:
    when the Item Master data table is opened, can we launch our own form?
    Is there a way to specify that?
    Please reply me back.. I'm a beginner learning SAP.
    With Thanks in advance,
    Geetha
    Key: Loading a user defined field through Query defined by us.

    Geetha,
    You should search this forum on user defined fields as you will find many posts that may assist you with your question.
    HTH,
    Eddy

  • How to modify or put entry in a particular field of a database table

    i want to to modify a field in a database table record identification by primary key fileds
    the situatio is like this
    there are two primay key in database table
    customer number PK
    status PK
    date
    and third field which i want to modify is customer part number.
    based on condition that
    database table1-cuspip = wa_record-cuspip.
    database table1-status <> wa_record-status
    and database table-date = wa_record-date
    if above is true a particular field  the database table  for that record
    ie customer_part_number = 'FAiled'.
    loop at it_record into wa_Record
    endloop.
    please suggest how to modify the database table record if the avove condition is tru and please give me full working code
    regards
    Arora

    Dear Nishant,
    Use UPDATE function for updating the customer part number.
    But please do mention the database table and the keys used for update.
    if en entry already exists with the key then the Entry will fail so use MODIFY statement to modify the Consumber Part Number  with the specificed keys  and transport the modified customer part number and then do COMMIT the changed entry to database.
    Hope this helps you in some way.
    Encourage others to answer you queries by suitably rewarding them.
    Thanks
    Venugopal

  • Populating Empty Fields for Existing Internal Table Using For All Entries

    I have an internal table called itab_extract that populates without any issues in SELECT A and SELECT B below. Trying to avoid looping, I am using select DB table 'for all entries' in itab_extract. I want the empty fields in itab_extract to populate from the values in the database. However, about 200,000 entries are being appended to the table, and, the values that existed for the already populated fields in itab_extract are gone, and the new fields are populated.
    I've played with the syntax and cannot seem to get it to work. My next option is a time consuming loop.
    How should the for all entries syntax look to accomplish filling the empty fields in the itab?   Thank-You
    *read ekko
        select ebeln lifnr aedat bsart from ekko                                                     *SELECT A*
               into  CORRESPONDING FIELDS OF TABLE me->itab_extract
               where aedat in r_aedat.
        select ebeln lifnr aedat BSART from ekko                                                  *SELECT B*
               appending CORRESPONDING FIELDS OF TABLE me->itab_extract
               where aedat in S_DATE2 AND
                     BSART IN S_BSART.
          select ebelp werks matnr                                                                           *SELECT C*
            into CORRESPONDING FIELDS OF TABLE itab_extract
            from ekpo
            FOR ALL ENTRIES IN itab_extract
            where ebeln = itab_extract-ebeln.

    Hi Tom,
               This SQL statement will be time consuming, Do not use a loop.
    There are two options.
    1. Select EKKO and EKPO details based on standard SAP view. (You can type EKKO in se11 view to find the correct view).
        also use one range table populate r_aedat and s_date2 in the same. So you where condition will have r_newrange and   
        s_bsart. Also do not use into corresponding fields, it is not a good idea. It will increase your performance. Maintain the proper 
        sequence (Based on database structure of EKKO and EKPO)
    2. If you are keen to use for all entries, then first select ekko then after your sy-subrc check get the data from EKPO.
    Should be like this.
    select ebeln bsart aedat lifnr from ekko into table gt_ekko where aedat in r_newrange and bsart in s_bsart.
    if sy-subrc eq 0.
    sort gt_ekko by ebeln ascending.
    select ebeln ebelp werks matnr  into table gt_ekpo for all entries in gt_ekko where ebeln eq gt_ekko-ebeln.
    endif.
    Hope it helps,
    Best Regards,
    Tapodipta Khan.

  • Doubt about report FBL5N of screen field:Open items and Cleared items

    hi
    i know the report FBL5N is use DDF LDB and the report work flow is BSID->BKFP->BSEG
    but i don't know to differentiate Open Items and Cleared items in this report.
    Open items and Cleared items stand for a field flag in these table (BSID,BKFP,BSEG )? if true the field is?
    or they must be calc in program ? if true what about calc rules?
    waiting for help! thank you!

    Hi,
    Here is the difference in Open Items and Cleared Items.
    In FI first the document is Open (when it is posted) so the entry is made in table BSID. Once the document is cleared, it will move from BSID to BSAD. And for Cleared item you will see Clearing Document no and Clearing date values updated (these are blank when the item is open).
    The only difference in Open and Cleared is via Clearing Document and Clearing Date. If the values are present, it means document is cleared.
    Hope this helps.
    ashish
    Message was edited by:
            Ashish Gundawar

  • Right way to preserve all parent table entries in a join with many tables!!

    This problem is quite interesting to me. I have asked this question to others but no body is able to provide me with proper answers.
    The problem is: How do I join a huge parent table with many child tables (more than 5 child tables) preserving all of the parent table entries. Lets say there is the parent table parentTable and three child tables childTable1, childTable2, childTable3. In order to get the data after joining these tables the query that I have been using was:
    select parent.field1, parent.field2, parent.field3, child1.field4, child1.field5, child2.field6, child3.field7 from ParentTable parent, childTable1 child1, childTable1 child2, childTable3 child3 where parent.fielda = child1.fieldb and parent.fieldc = child.fieldd and parent.fielde = child.fieldf.
    Although the tables are huge (more than 100,000 entries), this query is very fast, however those parent table entries which do not have child entries are lost. I know that I can left join a parent table with a child table and then with the next child table and then with the next child table and continue. Isn't there a simple solution for this commonly happening problem?
    Please provide suggestions please...

    Hello Lakshmi,
    Although I do not know exactly how to achieve what you want to achieve but I have seen DBAs/ABAPers in my experience can run queries/scripts using the COUNT function to give the actual number of line items per table for all your 100 or odd tables.
    Rgds
    CONMJI

  • Addition of a inputfield as column to item level table in shopping cart

    Dear Experts
    i added a new inputfield to item level table as columen of Shopping cart and binded a variable from context. that column is displayed in the table but it is displayed in Disabled mode im not able to give input to the column(as it is a inputfield).
    I checked the table column property it is enabled and i aslo configure on the SPRO, nothing is woring for me.
    Please giude me to make the table column enabled so that i can give input..
    Regards
    Arun.K.P

    Hi  Arun ,
    you need to maintain the Meta data entries ,
    Navigate path
    spro->sap implementation guide->Supplier Relationship Management->SRM server->cross application basic settings-> extension and field control->create table extension and supply with data->control table extension and there field action-> configure control of fields of table extension .
    Thanks & Regards
    Pradeep Kumar Dondeti

  • Screen exit for Service entry sheet at line item level

    Hi,
    We would like to add some custom fields at service entry sheet at line item.
    A new tab to be introduced with custom fields at serive entry line item level.
    Any idea which screen exit can be use? or
    what is the way to find the screen exit?
    Regards,
    Sandeep

    Hi Sandeep,
    You can try to use the user defined fields in table ESLL                                                                               
    ESLL-USERF1_NUM   User-Defined Field                                   
      ESLL-USERF2_NUM   User-Defined Field                                   
      ESLL-USERF1_TXT   User-Defined Field                                   
      ESLL-USERF2_TXT   User-Defined Field                                                                               
    or develop a custom solution with the help of customer enhancement         
    SRVDET (transactions SMOD, CMOD).
    You should use EXIT_SAPLMLSP_030 to transfer values. 
    Regards,
    Edit

  • Indicator in table KONV specifies condition in bill

    In table KONV which field specify that this condition is maintained in billing.
    From KONV i wish to select only those details which are in my bill how to do this please suggest.
    Regards

    Hi ,
    based on the condition no , u can link ur Billing header/Item data.
    regards
    Prabhu

  • New field creation in Condition Table?

    Hi Gurus
    I want to know whether it is possible to add a new field in field catalogue whle creating a condition table. I want to add Chapter Id of the material.
    Thanks
    Rishi

    Hi Rishi,
    Follow below example-
    Add a Field To New Condition Table in Pricing
    Add a field to a new condition table in Pricing (Condition Technique):-
    I will explain you the process with below example...Please follow steps in below sequence-
    Try to add the filed from the field catalog.  In case the required combination field is not there, you can add the field through the following process to filed catalog and create the condition table.   It is most common that one or other time we need to use this function while configuring multi tasking & complex Pricing Architecture.
    Here I'm giving a simple guide to add fields to the Pricing Field Catalogues:
    For example you want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a condition table.
    When you create a condition table (Transaction V/03), however, the system does not propose the field in the field catalog.
    Condition access, field catalog, allowed fields, KOMG, KOMK, KOMP, KOMPAZ, KOMKAZ, PSTYV are the other terms which we need to know about, to add Fields.
    Reason and Prerequisites: 
    For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').
    Proceed as follows:
    1. Call up the ABAP Dictionary (Transaction SE11) and create data type ZZPSTYV. Choose PSTYV as a domain.As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV.Save, check and activate your entries.
    2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry:
    Component Component type:
    ZZPSTYV ZZPSTYV
    Save, check and activate the change you made.
    3. Note:Because of the change in structure KOMPAZ, field ZZPSTYV is now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures.
    4. Call up Transaction SPRO. Navigate to 'Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control' and execute 'Define Condition Tables'.
    Choose 'Conditions: Allowed fields' and include ZZPSTYV as a new entry.
    5. Note:Now you can use field ZZPSTYV as a key field when you create a condition table Axxx.
    6. Supply the new field you defined by including the following source code line in USEREXIT_PRICING_PREPARE_TKOMP:
    MOVE xxxx-PSTYV TO TKOMP-ZZPSTYV.
    In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.
    Consider that you can also use this note as a help if you want to use other customer-specific fields as key fields in a condition table.
    For header fields, use structure KOMKAZ instead of structure KOMPAZ and
    USEREXIT_PRICING_PREPARE_TKOMK instead of
    USEREXIT_PRICING_PREPARE_TKOMP.
    For more information, see Transaction SPRO via the path 'Sales and Distribution -> System Modifications -> Create New Fields (Using Condition Technique) -> New Fields for Pricing' and OSS Note 21040.
    Regds
    MM

Maybe you are looking for

  • How do I "save as" in adobe reader?

    Hi everyone, Can anyone demonstrate how to "save as" in adobe reader? By filling a blank form I'd like to save the filled out form with a new name and leave the origenal blank as it was to be used again? Thanks. Jocabus

  • Sending mail to all partner function in transaction

    Hi Folks, Standard action and condition sends mail to only main partner function in transaction. But transaction could have more than one partners for same partner function. Can mail be sent to all partners in transaction by using standard action con

  • Need help with ext. SWF and XML

    I'm trying to create an External SWF to load into my main site (photography). Home | Portfolio | Published Work | Bio | Contact The SWF I want to load externally is Portfolio because it has 5 sections Those 5 sections are: -Editorial -Adventure -Fly

  • Oracle SQL not working in Apex

    I have been given the following SQL statement by a supposed SQL DBA SELECT TOP 250 TRANS_CODE, TRANS_CASH_IN, Month([TRANS_DATE]) AS Transmonth, TRANS_COMMENT, TRANS_MACHINE_NO FROM TRANSACT WHERE (((Month([TRANS_DATE]))=Month(Now())) AND ((TRANS_COM

  • R3 Oracle Upgrade

    We're looking at possibly upgrade our r3 instance from solaris 8 to solaris 10, and in the process, possibly not at the same time though, upgrade the Oracle version that we're currently using (9.2.0.4) to a more recent version. Can anybody point me t