How to: Reference fields XREF1/2 to be displayed in Acc Doc Line Item

Hi Experts,
May I know how to display the fields in the Line Item Level that can also be changed.
What I already did was the configuration OB32, OB41, FI>GL>Master Data>G/L Accts>Line Items>Define Special Fields for Line Item Dsiplay.
But it still not working. What is the proper way to configure these fields?
Thanks

In the Line item Display list in FBL*N follow this menu path: Settings
-> Special fields, and add the fields you want from relevant table.
The fields are later available for display, and you can choose them from
the Line item Display list following this menu: Settings -> Display
variant -> Current. From the hidden list you can now choose the fields
you want to have shown. If the technical name is shown for the fields,
the special fields are all starting with '1-U_'. It's important, that
you add the Special field, if the field also exist as Standard field.
The Special fields are shown in the bottom of the Hidden list.
Review the solution part of note 215798 the detailed steps.
XREF1 / XREF2 do not exist in the index table (BSIS/BSAS) for the G/L
account. Therefore you should create XREF1/2 as special field for
display via FAGLL03/FBL3N.
SPRO - ... - Define Special Fields for Line Item Display
There you should also include the field and store the change.
You do not have to run the RFPOSXEXT again, because the related
structure is generated automatically within the storage of the data.
After you have stored the 'new' field, you should run the report
BALVBUFDEL. This report will reset the ALV buffer, because the old
definition of the fieldcatalog does not have the needed fields, and
so it might happen that these are not displayed in the fieldlist of
the FAGLL03.
Please refer to the attached 984305 and 215798 Point 3.
Regards,
Fernando

Similar Messages

  • How to grey out the Account Assignment Group Fld  in Billing Doc Line Item

    Hi SD Guru's
    I have a small doubt.
    I have maintained account assignment group in material master. Now when i create an order , the account assignment group gets picked from material master into this sales order.
    Now i go to VF01 for doing the invoicing.
    Now i can still go to billing document line item against the material and change its account assignment group before raising the invoice. When i change this field, i can still post to accounts.
    I want to know is there any way in which we can restrict the way in which this field is greyed out and is made non-editable, so that only correct entries with account assignment group maintained in material master are posted.
    Answers will be appreciated.
    Kind Regards
    Ravi

    Hi,
    Sandeep can you please give me step by step process of using SHD0 in this case.
    Now if i apply this to transaction VF01 and VF02, would it apply for all billing document types? I dont want that, i want it to work for a specific billing type
    Kind Regards
    Ravi

  • How does Reference Field work?

    Hi All,
    I have short of problem knowing how reference field works. I have one field in ABAP query: MBEW-STPRS. The field type is CURR and it have reference field T001-WAERS.
    In query I made, the currency isn't occurs although I have set it to be display. I try to look how this reference field works in any source but can't find any answer. May be some of you can give me a little explanation.
    Thank you so much
    Regards
    Hadi

    Hi,   
          Reference fields work in the following way,
    When you say quantity is 100, what it refers to - 100 pc, 100 bundles or 100 kg or 100 metres??? The unit of qty defines whether it is PC, KG, M etc...
    In the database, SAP stores all amount values with 2 decimal places. But when SAP reads it, it interprets it based on the currency associated with the amount field.
    We require reference fields to Currency/Quantity fields as they are meaningless with out having the units.
    Ex: If we say, i paid 100. How can we figure out if he had paid 100 paise or 100 rupees.
    So, units are must.
    In case of quantity field QUAN, reference field will be always of type UNIT,
    currency field CURR, reference field will be always of type CUKY.
    It is mandatory to specify reference fields when we create fields of quantity/currency type in data base tables.
    Hope this will clear you.
    Thanks & Regards,
    Pavan.

  • How can a field dclared as decimal initially displayed as blank urgent.....

    hi all,
    how can a field dclared as decimal initially displayed as blank.......... i have decaled a field as p. and assigned space to it . but when it is displayed it is diaplayed with zeros..........i want that to be diplayed as blank

    Hi Soniya ,
                        you can write the following statement also.
                        Data : P type d value space.
                         This will diaplay blank.
                         reward Points if it work.
    Thanks
    Jitendra

  • How to reference field make active for manual entry

    Hi all
    I want to insert reference in a reference field of header of billing document which has to be seen in accounting documrnt.
    can any one help me how to remove gray reference or an assignment field in header of sales billing document .

    Hi,
    This can be configured in the below mentioned t code:
    VTFL - Delivery to Billing
    VTFA - Order to billing
    VTFF - Billing to billing
    You can specify any of the following as reference
    A Purchase order number
    B Sales order number
    C Delivery number
    D External delivery number
    E Current billing document number
    F External delivery no. if available, otherwise delivery no.
    For this you have to maintain the Reference field in the above T Codes... At Header Level of the copy control.
    Hope this will help you to resolve your issue.
    Regards,
    KrishnaO

  • Field added in Aditional data tab of sales order line item at screen 8459

    Hi all,
    My problem is .
    I have appended one field in VBAP table, given it a name "WBS ELEMENT"
    The field is getting displayed in VA23 as well as VA02 Transaction.
    when i create sales order with the quotation reference,
    the "WBS Element"  of line item of quotation should get updated in "WBS Eleement "  of sales order line item
             This i am doing by triggering user exit.
    Problem is:
    Once Quotation  line item get copied to the sales order line item
    and the screen is in front of you with those details,
    before saving sales order .
    if you go at the sales order line item withou saving the document
    The field i have created in the screen 8459 i.e WBS Element ,doesnt get displayed.
    how could i retain the field Ihave created on screen 8459
    while creating the sales order from quotation before saving that sales order.
    Pleas help .

    Hi Vikram,
    It seems as it has been coded only to save the values into the new field that you have appended to VBAP. But before saving if the user wants to see the field, it is blank. You can try coding in PBO (process before output) of the relevant screen as follows:
    1. Get the reference of the quotation. Something like XVBAP-VGBEL will give this number.
    2. Get the value of Z field in VBAP by passing this quotation.
    3. Copy the above value to the corresponding Z field in XVBAP (or any internal table which holds VBAP data before saving)
    Please reward if helpful.
    Regards,
    Krishna

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • How to Find Out The Production Order Number For The Sales Order Line Items

    Hi All,
    I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.

    I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK.  or in table AFPO.
    Regards,
    Rich HEilman

  • Adds selection field at the first screen of FBL3N (G/L line item display)

    I would like to adds line item selection field at the default first screen of FBL3N.
    The field I'd like to add at the default selection screen is :Amount.
    This field can be selected at dynamic selection. But I'd like to use the field at the first screen of FBL3N, not in daynamic selection screen.
    If anyone knows how to add the fields into FBL3N first screen, please advice me how to do it.
    Edited by: Itchy31 on Jul 23, 2009 8:30 AM

    Hi,
    You can not add the new fields in the selection criteria thats the reason dynamic options are given for the further selection.
    If you still want to add in the selection screen then go for a customisation and coordinate with the ABAPer which is not suggestable as it is readily avilable in dynamic selection.

  • Incorrect field KNA1-STCEG in output list for input tax Line items-RFUMSV00

    Hi all,
    I found the incorrect field in RFUMSV00 - Advance Return for Tax on Sales/Purchases. If you want to configure the output list for Input tax: Line items, there is the field VAT Registration No. which has to be LFA1-STCEG, but there is incorrect field KNA1-STCEG. After that I cannot find the values for this field in my output.
    In the output list for Output tax: Line items there is correct field in configuration /LFA1-STCEG/.
    I tried to find some SAP notes but without avail.
    Thanks for help.
    Miroslav

    Hi,
    Please check the following OSS note:-
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=736203
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=640269
    It is picked up from bseg-stceg and not from lfa1-stceg or kna1-stceg
    Regards,
    Gaurav

  • How to show logic of picking multiple stores to fulfill an order line item

    I'm still learning some basics with OPA.
    How do I represent the logic of picking multiple stores to fulfill an order line item when no one store has the requested quantity? A concrete example would be greatly appreciated as I'm still thinking procedurally for solutions.

    Hi!
    I believe this is following on from the thread:
    Calculating least cost of a product across stores using OPA
    So I'm assuming we're using a similar data model.
    If we want to involve quantity as well as cheapest price, then I'm assuming the requirement is:
    Find the cheapest price for the product from all the stores which still have quantity left of that product.
    This is where inferred relationships come in handy.
    Here is an example of what you can do with them to help solve this requirement.
    the store is a member of the product's stores if
    .ExistsScope(the store's prices)
    ..the price's product name = the product name
    the store is a member of the product's stores with remaining stock if
    .the store is a member of the product's stores and
    ..ExistsScope(the store's quantities)
    ...the quantity's product name = the product name and
    ...the quantity's amount > 0
    Then we basically want to pick the cheapest price for the product from the members of the relationship "the product's stores with remaining stock"
    Note that "the product's stores with remaining stock" could obviously be many instances, all with different prices. But for an order, a product needs to come from only one place! The deciding factor to "pinpoint" one place from this potential list of many could be based on anything, such as location, sales ranking, etc. But in this case Im going to assume lowest price is the decider.
    In the previous post we created a simple relationship between "the product" and "the prices" (which are contained by the store).
    We can make a more powerful relationship now:
    the price is a member of the product's available prices if
    ForScope(the price's store, the main store)
    .the main store is a member of the product's stores with remaining stock
    (I'm using an alias here to be 100% sure of which store is in scope)
    Now we can use the rules in the previous post, but change the relationship to the more advanced one we just created:
    the product's cheapest available price = InstanceMin(the product's available prices, the price's amount)
    Then
    the product's cheapest available store name = InstanceValueIf(the product's available prices, the price's store name, the price's amount = the product's cheapest available price)
    This is all psuedo code so many need some slight tweaks when you put it into OPM. Make sure you set up the relationships in a property file and declare all the attributes etc.
    Inferred relationships are really useful as "filters" sometimes. Here we first filtered all the stores which have prices for the product (i.e. have it in their catalogue). Then we filtered to get a list of all the stores which have stock remaining for the product. From that, we could find the cheapest available price.
    This is by no means the only way to do it! It's also by no means a simple problem but the great thing about OPA is that you can put all of the relationship config rules in the system rule folder / word doc, meaning that the source / business rules can still look relatively simple (in the end, it only took 2 lines of source rules to find the cheapest available price!). Once you've got the right set up and invested time in designing your data model, you will find it much easier to solve seemingly complex problems across entities.
    One word of warning though: if you have thousands of instances of prices, stores, products etc. then there is a performance impact of using many inferred relationships and alternatives should also be considered.
    Hope this helps!
    Feel free to contact me for more help on this. If you are relatively new to OPA and trying to tackle this you should consider investing in some training.
    Cheers,
    Ben

  • How change standard field lable in alv grid display

    Hi Experts,
        How are you doing! I am having some doubts in the alv grid display, I am new to this concepts.
    I want to display field  lable manually, actually its taking from table field discription but I want to display one field name manually.
    example code.
    ls_fldcat-fieldname = 'BPKIND'.
      ls_fldcat-ref_tabname = 'BUT000'.
      ls_fldcat-ref_fieldname = 'BPKIND'.
      APPEND ls_fldcat TO lt_fldcat.
      ls_fldcat-fieldname = 'PARTNER2'.
      ls_fldcat-ref_tabname = 'BUT051'.
      ls_fldcat-ref_fieldname = 'PARTNER2'.
    Here I dont want to display 'PARTNER2' I need 'KEY ACCOUNT MANAGER'.
    Please send me how to do this.
    Surya Ramireddy.

    Hi
      Please check out this program.
    Type-pools: slis.
    Tables: likp.
    Data: Begin of i_likp occurs 0,
            vbeln like likp-vbeln,
            ernam like likp-ernam,
            erzet like likp-erzet,
            erdat like likp-erdat,
          End of i_likp.
    Data: it_fieldcat type slis_t_fieldcat_alv,
          wa_fieldcat type SLIS_FIELDCAT_ALV,
          it_events type slis_t_event.
    Selection-screen: Begin of block b1 with frame title text-001.
      select-options: s_vbeln for likp-vbeln.
    Selection-screen: End of block b1.
    start-of-selection.
    perform get_sales_header_data.
    end-of-selection.
    perform field_catalogue.
    perform modify_field_catalogue.
    perform display_alv_grid_display.
    *&      Form  get_sales_header_data
          text
    -->  p1        text
    <--  p2        text
    form get_sales_header_data .
    select vbeln
           ernam
           erzet
           erdat
           into table i_likp
           from likp
           where vbeln in s_vbeln.
    endform.                    " get_sales_header_data
    *&      Form  field_catalogue
          text
    -->  p1        text
    <--  p2        text
    form field_catalogue .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = sy-repid
       I_INTERNAL_TABNAME           = 'I_LIKP'
       I_INCLNAME                   = sy-repid
      CHANGING
        ct_fieldcat                  = it_fieldcat
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    endform.                    " field_catalogue
    *&      Form  modify_field_catalogue
          text
    -->  p1        text
    <--  p2        text
    form modify_field_catalogue .
    loop at it_fieldcat into wa_fieldcat.
    case wa_fieldcat-fieldname.
      when 'VBELN'.
       wa_fieldcat-col_pos = 1.
       wa_fieldcat-seltext_l = 'Sales Doc Header No'.
       wa_fieldcat-emphasize = 'C100'.
      when 'ERNAM'.
       wa_fieldcat-col_pos = 2.
       wa_fieldcat-seltext_l = 'Created By'.
       wa_fieldcat-emphasize = 'C200'.
      when 'ERZET'.
       wa_fieldcat-col_pos = 3.
       wa_fieldcat-seltext_l = 'Entry Time'.
       wa_fieldcat-emphasize = 'C300'.
      when 'ERDAT'.
       wa_fieldcat-col_pos = 4.
       wa_fieldcat-seltext_l = 'Created On'.
       wa_fieldcat-emphasize = 'C400'.
      endcase.
      modify it_fieldcat from wa_fieldcat.
    endloop.
    endform.                    " modify_field_catalogue
    *&      Form  display_alv_grid_display
          text
    -->  p1        text
    <--  p2        text
    form display_alv_grid_display .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = sy-repid
       IT_FIELDCAT                       = IT_FIELDCAT
      TABLES
        t_outtab                          = i_likp
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    endform.                    " display_alv_grid_display
    Regards
    Haritha.

  • How to move field symbol internal table to internal table with header line?

    Dear all,
    hi...hereby i would like to ask how i can move field symbol internal table to a internal table?
    as i know field symbol internal table is without header line..
    so, may i know how to do this....to move field symbol internal table to internal table which consist of header line and field and record will same as field symbol internal table...in additional, my field symbol internal table is dynamic table mean everytime will have flexible columns..?
    Please advise...
    Thanks
    Regard,
    ToToRo.
    Edited by: @ToToRo@ on Aug 20, 2009 6:16 AM

    Hello,
    Try this way:
    If both the type of internal tables are same then you can directly assign dynamic internal table to static internal table.
    itab = <itab>.
    Suppose you have field symbol internal table <itab> which is different in structure from ITAB.
    Now, you can create <wa> as follow:
    FIELD-SYMBOLS <wa>.
    DATA wa TYPE REF TO DATA.
    CREATE DATA wa TYPE LINE OF <itab>.
    ASSIGN wa->* to <wa>.
    This way your work area is read.
    Using [ASSIGN COMPONENT|http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb3923358411d1829f0000e829fbfe/content.htm] syntax you can read required component of <wa>.
    Finally you can use that value to load static internal table.
    You can also refer to my thread on [Dynamic table|Re: Creating Dynamic table].
    Hope this helps!
    Thanks,
    Augustin.
    Edited by: Augustarian on Aug 20, 2009 10:06 AM

  • How to delete or activate the deletion flag for the sales order line item

    Hi All,
    I  have one Cust order & with referance to that cust order one production order is created . The production order user has done the Goods issue with 261 movement type  & GR wi 101 before 4 months back , & he has reverse  the GR  with 102 on todays date . but in materila master the  variable prize is maintain thats why it is showing  a differance in the cost .
    User want to delete the Production order as well as the custemer order From MDO4 , So we have make the Production order TECO & save , it is gone form the MD04 but the Custumer order still there . It is not allow us to cancell or reject . We have tried to maintain the reason for rejection but it showing the message that you can not activate the deletion flag for the order .
    Could you please Help me to find out the way how can i delete the custemer order ?
    Thanks In advance
    Regards
    Piyush

    W ehave Settele that order & then activate the deletion flag for the order & then cancel the sales order.

  • Item catagory field display in sales order lin item

    Hi experts,
    I would like to have your view points to gray out item catagory field at sales order item level.
    In our scenario, company has outsourced sales order creation to third party vendor. Also we have restricted sales order creation for these user's via role creation for certain document types.
    Even after these settings, now they have access to item catagory field to modify. We want to gray out this field so that they will not be able to update it to another item catagoroy.
    Thanks in adavance for your reply.
    Regards,
    Prabhaharan

    I have a suggestion, which can act as a work around through configuration. Maintain only one default Item category & do not maintain any alternative item category, which can be changed manually. this will serve the purpose of not changing the Item Category & even if user tries to change, it will not accept any other item category.
    Menupath: SPRO --> Sales and Distribution --> Sales --> Sales Documents --> Sales Document Item --> Assign Item Categories
    Regards,
    Rajesh Banka
    Reward points if helpful.

Maybe you are looking for