SAP Query Documentation - Defining additional fields

Hi,
I need to create a new SAP Query defining a new Functional Area. My problem is that I have created the area and defined the tables I want to use and how to join them, but I want to add additional fields with ABAP coding. I have looked up for documentation on how to do it, and all I find is that I shoud access the menu GOTO/Additional Field, but in my screen I find no such option (I'm using 46B).
Could anyone explain how to add additional fields and coding, or send me any documentation please??
Also, is it possible that I can create functional areas and queries, but not edit ABAP coding from functional areas in my productive system? Do I have to create the query in my test system and transport it, or how does that work? I's my first time creating queries.
Thanks so much in advance!

Try
http://www.sappoint.com/abap/ab4query.pdf
http://www.sap-img.com/basis/transport-of-abap-query.htm
Pl. award the points if it helps you ...
Thanks
Message was edited by: Saquib Khan

Similar Messages

  • Define Additional Fields for Line Item Display

    Dear gurus,
    I'd like to ask for your help again, please. I've just added the field BKPF-USNAM to the list of fields of FBL1N using IMG:" Financial Accounting-> Accounts Receivable and Accounts Payable->Vendor Accounts->Line Items-> Display Line Items->Define Additional Fields for Line Item Display". When I run the report the field is correctly displayed but if I save the current layout and set it into the selection screen, the column appears is blank. And if I open the change layout window and click OK the column gets filled.
    Is there another transaction that I must set new columns to FBL1N.
    Thank you very much.
    Paresh Jivani
    Edited by: Jivani Paresh on Jul 31, 2009 9:16 AM

    Hii,
    When you will execute FBL1N, it will come up in standard format. if you want to see any specific fields,then you have to go to Change Layout button and choose from available fields as per your requirement and then execute.
    For future reference, you can save this layout as a Variant and then you can directly execute that report using that variant.
    Dhara D.

  • Code for Query Report as additional field

    I need a field in query report which has a simple join of VBUK & LIKP.
    Can't increase join of LIPS as the report changes to item level which I don't want.
    My additional field formula will be VBAP-NETPR X LIPS-LFIMG
    Where
    VBAP-VBELN = LIPS-VBELV   &
    VBAP-POSNR = LIPS-POSNV
    Again where
    LIPS-VBELN = VBUK-VBELN
    Simply to say, my query build to generate Delivery Report which billing not complete. And within that report I want to bring Sales Order Rate * Delivery Qty.

    Dear Sir (Mr.J.R.Kavala),
    I'm really appreciate your effort and thanks for your reply. The report almost done with your coding, but may be it is my fault that I couldn't clearly elaborate what I exactly I wanted.
    According to your code the result brings only 1st lines result ($ 1,500) from LIPS, but the result should be sum up for all the line item instead, that is ($ 25,750). I've tried to make the scenario below for your understand.
    So where should I change the coding if you please advice. Many thanks again in advance.
    Zaied
    ====

  • SAP Query - Extract part of field

    Hi,
    I created a query with a local field. I want to extract only the last 3 characters of a field.
    Is there a LEFT or RIGHT function I can use like in Excel?
    The field I want to extract it from is 12 characters long.
    Hope someone can help.
    Thanks, Lupe

    You can not fetch only 3 characters directly
    There are 3 ways you can achieve this
    1> Create additional field in the infoset and code the logic. (If this report is used frequently, you should use this)
    2> Download the output of query in the excel and perform excel actions (Use this if the report is not frequently required. Does not take much time to fetch 3 characters)
    3> if the report format is fixed, you can create ABAP report and code yo fetch only 3 characters

  • SAP Query and selection screen fields

    Hi,
    I am currently modifying a Query. I have added a new selection field. The fieldname for this selection field has been autogenerated within the query and I have pasted a bit in here:
    SELECT-OPTIONS SP$00015 FOR ZERROR_FLG LOWER CASE.
    SELECT-OPTIONS SP$00022 FOR KNA1-ERDAT.
    SELECT-OPTIONS SP$00023 FOR KNA1-ERNAM.
    SELECT-OPTIONS SP$00027 FOR ZLOEVM LOWER CASE.
    SELECT-OPTIONS SP$00030 FOR ZPARTNERNO
    NO INTERVALS NO-EXTENSION.
    I relation to this select -option, I want to execute a few lines of code that only is executed if the user has filled in a value in teh ZPARTNERNO field. However, no matter if I use the field name ZPARTNERNO or SP$00030 it has no effect.
    Any good ideas ?

    HI,
    In the AT SELECTIOn-SCREEN event, you can write the code
    IF not <b>SP$00030[]</b> is initial.
    write the code which you want to execute before the output
    ENDIF.
    if you want in START-OF-SELECTION>
    IF not <b>SP$00030[]</b> is initial.
    write the code which you want to execute before the output
    ENDIF
    Regards
    Sudheer

  • Add additional field on query

    Dear ,
    I have created a quick viewer.
    I need to add an additional field on a SAP query.
    This new field must be calculated as a multiplication of two fields displayed in the query.
    How can I do that ?
    Thanks

    Hello,
    In Quick Viewer, you cannot define local fields. You may convert (In SQ01->Query->Convert Quickview) SQVI Query into an SQ01 Query and then define local field.
    Thanks,
    Venu

  • Adhoc query Issue in IT0001- Additional fields.

    Hi Everyone,
            Im facing issue in adhoc query, In IT0001- Additional field .The supervisor name is not getting displayed in the output  even though personnel number is getting fetched.Output value attributes is  chosen  as 'value and text'.
    Details of the field:
    Name of the field: Personnel number of superior (Org. Manag
    Technical name :SYHR_A_P0001_AF_OMNGR_NR (Additional field)
    This is happening after the implementation of A3 to A9 notes.
    Thanks in Advance.
    Regards,
    S P Joshi.

    Did you try Ted's solution of identifying the "addtional field 'SYHR_A_P0001_AF_OMNGR_NA' "as a displayed field ?
    Note that if that field is not already in your Info-Set, you will have to add it (using t-code sq02).

  • Problem text additional fields Query ad-hoc

    Dear All,
    We created a query using an additional field in the structure created P0001_AF. The fact is that our field has an associated text, which indicates how the output of our query, but the text always appears empty.
    The field has duly informed the function that is responsible for recovering the text and it works well.
    Running the standard report is generated with the query (AQA0HCM ========= XXX ....) we realized that fields of the table P0001 read well , then read it the text associated with our field of P0001_AF, the problem is that after reading this right will find again our field Z in Table P0001, and as there is, delete the recovered value above.
    This code is standard and can not be changed. We also found no customizing to generate the program otherwise.
    Do you know any solution? Is it a standard problem?
    Thanks & Regards

    hi ,
    this field might not be running in std reports but you can do below
    did you created a local field in sq02  , and add custom coding at that field according to correspondig field text.

  • Additional Fields for Report FBL1

    Dear All
    I need to add User Name field (USNAM) and few other fields to the layout for report FBL1(Vendor open line items).
    I have added the field USNAM under "Define Additional Fields for Line Item Display". But the field is still not showing up for selection in the report FBL1.
    Pls advice.
    Rgds
    Nitika

    Hi Nikita,
    Once you have added special filed you have to run the below mentioned program to extend the new filed in FBLxN report.
    Run below program from SE38:
    RFPOSXEXTEND
    BALVBUFDEL
    The correct way to fix this is mentioned in SAP note 984305. Running report BALVBUFDEL resets the buffer.
    The special field is now available in the layout selection.
    Hope this helps.
    Pls assign points as way to say thanks

  • Additional fields for line item display for Vendor Accounts

    Hi,
    The additional fields for line item display have been defined for the vendor accounts. I am able to see the additional fields in SAP 4.7 system but not in ECC 6.0.
    Could you help me to know how the same will be displayed in ECC 6.0 system.
    Thanks

    In SPRO, Vendor Accounts -> Line Items -> Display Line Items -> Define Additional fields for Line item display, the fields for Check number from (PAYR-CHECF) and Tax Jurisdiction (BSEG-TXJCD) have been defined.
    When I am executing Vendor Line Item display (FBL1N), I am not able to select these fields for defining a layout. Could you please let me know, how I will get these fields in FBL1N.
    Thanks

  • ABAP QUERY (SAP QUERY) Coding problem?

    Hi experts,
    Can anyone tell me how to find what is the final internal table in SAP QUERY? I want to delete some unwanted records from my final internal table but I am unable to find it. please do help. Its urgent I am strugling from 3 days, to day I have to finish this task...
    Help !!!!!

    HI,
    It is not the the internal tables but the structures have been filled for the tables you have declared in SAP QUERY
    or defined using EXTRAS option.
    in the application tool bar there is  a button 'CODE' by using the 'Record Processing' event of this you can clear the fields you want.
    REgards

  • How to use user defined contact fields in the intelligent group builder

    In Apple Contacts it seems not being possible to build an intelligent contact group using an user defined, additional field. The builder seems to work exclusively with a system defined selection of the basic database fields. Please, tell me, that there is a way ...

    Please, can sombody out there help?

  • FBL5N : Adding additional field PERNR  to layout

    Hi experts,
    I had added additional field PERNR - personnel number in FBL5N layout for displaying in output.
    I had added pernr- personnel number by following the path
    SPRO -> Financial accounting ( new ) -> accounts receivable and accounts payable-> customer accounts ->line items -> display line items -> define additional fields for line item dispaly
    here i added bseg - pernr
    after adding , in FBL5N layout the field is appearing , but it is displaying blank in output  .
    Is there any thing needs to be done to display additional field in output of FBL5N.
    kindly give me any suggestions.
    thanks & tregards,
    Raghul
    Edited by: Raghul Gandhi on Mar 23, 2010 9:30 AM

    Hi,
    FBL5N: customer line item display.
    BSEG-PERNR: personnel number.
    Under which circumstances should BSEG-PERNR contain a value if you create customer related postings?
    If there is no personnel number given during posting (why should it?)  the field added to the FBL5N-layout will be empty.
    Best regards, Christian

  • Additional fields required for CUA to IDM IDOC

    Hi,
    I am deploying the Remote Loader for Novell IDM 3.5on my SAP system. (not using the HR driver.)
    But I need to add additional fields to allow the logic within the Driver to differentiate between external users and internal users.
    How can I amend the IDOC produced by the CUA framework within SAP to add the additional fields, my developer has already created a BADI to grab the additional information to populate into the IDOC.
    I just need a way to add it to the IDOC for processing into the Remote Loader.
    TIA
    Chris

    Chris,
    you simply have to extend the schema mapping rule inside your driver configuration.
    At the mapping rule, you can map your new infotypes to Novell eDirectory attributes manually without changing your HRMDA_xx.meta file.
    To make the mapping more handy, you can edit your HRMDA_xx.meta file and re-read it during the schema mapping process. Afterwards you can use the GUI wizard to process the mapping definition.
    - Holger

  • Additional fields to fbl1n, fbl5n, fbl3n

    Dear all
    Can you please explain step by step how to add additional fileds to the above reports.
    Many thanks
    P

    There are certain field which you can populate by following standard config
    For FBL1N report - IMG-FIn accounting>Ar & AP>Vendor accounts>Line items>display line items>Define additional fields for Line item display
    For FBL5N report - IMG-FIn accounting>Ar & AP>Customer accounts>Line items>display line items>Define additional fields for Line item display
    For FBL3N report - IMG-FIn accounting>GL accounting>Master data>G/L accounts>Line items>Define special fields for Line item display
    After you have saved the special fields in the above config, the additional fields can be selected in the line item layout in the change layout mode with the above line item display transactions. If you don't see them still, then execute the program BALVBUFDEL (t-code SE38), and then go back to the reports.
    If you want to add certain fields which are not available in the standard config, then take help of you ABAPER who can
    -Append structure RFPOS/RFPOSX with additional fields
    -Fill the field value with BTE 00001650
    Thanks
    Ron

Maybe you are looking for

  • Userexit/BAdi in BP replication process in R/3?

    Hi All, Is there any userexit/Badi is available in R/3 for BP replication process for CRM to R/3? It would be much appreciated if you provide the same. Thanks, Narsaiah

  • Question about Spry menu for CS3

    When I created a menu using Spry it inserted this code in my template <script type="text/javascript"> <!-- var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"}); //--> </script> does the path ../Spry

  • Flash player version

    When trying to launch a Flex app I get an error saying I need player version 10. But I have version 9 debugger installed on all browsers. I know that the app that I'm trying to launch was developed with Flex Builder 3 (which comes with player version

  • What is the best way to move all data and apps from an old ipad to a newq ipad air?

    What is the best way to convert (update) from an original ipad to a new ipad air?

  • Missing new Basic sliders and more...

    Very weird problem- I'm missing several of the new features in my LR4 Beta. They show briefly and then revert to the old sliders. The Develop module has the old (LR3) Basic sliders (E,R,F,B)- BUT when I launch LRb4 into the Develop module you can see