Add new manager field in SAP Query

Hi All,
I need to find manager for the employee. Is RH_GET_LEADING_POSITION right function module?
After finding the manager I need to add new field 'Manger' in the existing SAP Query. Please can anyone help me inserting additional code into the SAP Query.
Please kindly help me
Thanks in advance.
Archana.

Thanks for the reply. But my question is there is no direct field called manager I need to write a piece of code to find the manager and insert in the existing sap query. I want to know is there any function module to find the manger where import parameters are pernr and export parameter I want manager objid or pernr.
Please help me...
Thanks,

Similar Messages

  • How to add new customise field in standard SAP ME28 Report?

    Hi Anybody,
             How to add new customise field inside Standard SAP Screen report ME28?.
    Anybody, Please tell me how to do?.
    Thanks,
    Regards,
    S.Muthu.

    Hi Subramaniyam,
    You can find enhancement in me28 by following steps and then apply your logic in include of this enhancement.
    cmod>Give a project name>in enhancement column give the package name ME >f4>in package write ME-->ENTER>It will show you all enhancements available in me28> find which ever suits your requirement>save > click on components> from there you can make changes in include program.to add that particular field.

  • Multiple Value in additional fields using SAP Query

    HI All,
    I have a question related additional field in SAP Query. I tried to create report about PR and PO using SAP Query. Since one PR can be converted to multiple PO, I decided to create additional field
    po_1
    to display the value of PO that related to the PR. But I meet problem when I want to show several PO number in additional field
    po_1
    , I couldn't look the way to solve this problem. Can anybody help me? Just for info, I assign value to additional field
    po_1
    in record processing part.
    Thanks....

    HI,
    IN SQ02, IF table is already in JOIN, just click on the PLUS sign to expand the strcture.
    All the field showing Plus sign in the strcture are selected in your query and with MINUS sing are no selected.
    So you have to just click on the MINUS sign for the field you want to use through table field.
    Generate the query and execute thriugh SQ01.
    If you want to add some other field which is not a part of JOIN,
    then click on EXTRAS Button shown in the MENU option.
    Click on Create button and system will ask abt the additional field.
    Regds,
    Anil

  • Add new custom fields in tcode VA05

    In order to add new custom fields in tcode VA05, i need to change V05TZZMO which is a exit to populate the new fields.
    But how can I edit V05TZZMO ? I must have development key to change that ?

    Hi,
    As u have to modify the standard program directly not any customer exit or badi , for sales order transactions like va01 va02 , va03 , va51 etc..., so u need a developer key as a developer that is common for any program u write for the first time witha new userid + u need a standard sap access key also .
    Regards

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • Additional fields in SAP Query

    Hi ,
    We have a requirement in HR reporting wherein we are providing the late attendance records of the employees. That is the person is scheduled to come at a respective time but he comes in late and this record is created in attendence infotype . Now we need to see the variance in his planned and actual arrival . Majorly all the fields are availabe in the Infosets but the one with the variance is not there . So do we need to create a custom report for the same or it can be handled in the SAP query adding one field for calculation. If it can be handled , how can that be possible .
    Thanks & Regards

    Please check this link:
    Re: query report
    I guess, it can help for your case too...
    Even this:
    Re: sap query infoset and fieldgroup
    Re: Additional field in SAP Query
    Kind Regards
    Eswar

  • How to Substr field in SAP Query.

    Dear Developer,
    How to substr any field in SAP Query ?
    Regards,
    Ujed.

    Hi Ujed,
    if SUBSTR stands for substring, then possibly your question may be how to get the substr method as konown in languages like php in ABAP.  If SAP Query points to a SAP query as created in transaction SQ01, then you should explain what you want to achieve.
    Note: Better ask a specific question and get am answer you can or which is already generalized.
    If I need a substr function, I'd create a functional method for that:
    method substr
      importing
        anyfield type any
        offset type i
        length type i
      returning substring type string.
      try.
        substring = anyfield+offset(length).
      catch cx_root.
    * handle error
      endtry.
    endmethod.
    Regards,
    Clemens

  • Add New Screen Fields in Delievery Line Item

    Hello All,
    We have a requiremnet where we should add 3 custom fields to delivery line item tabs,
    please let me know how I can add a new tab for delievry line item tabs and how to add new custom screen fields in that tab,.
    Thanks
    Add New Screen Fields in Delievery Line Item
    Edited by: kishore_99 on Dec 8, 2009 5:31 PM

    No, I won't explain it in detail - you need to read the documentation and at least make an attempt at the process on your own first.  The documentation is right there in the IMG where I said it was but here's the path since you can't find it:
    Logistics Execution -> Shipping -> System Modifications -> Business Add-Ins in Shipping -> BADI for Additional Item Detail Screen...

  • Text of additional fields on SAP query show blank

    Hi All,
    I'm encountered a problem when text of additional fields on SAP query is not working and it's show blank after HRSP is implemented.
    SAP_ABA : Rel. 701 Lvl. 3
    SAP_BASIS: Rel. 701 Lvl. 3
    SAP_HR: Rel. 604 Lvl. 8
    Below are the config that we have done before HRSP in table: TEXC_FLD_C and it's work perfectly.
    Table Name: P0000_AF
    Field Name: ZZAPPRATING
    Function Module: ZHRGYYFMPA_PDRATING_TEXT
    Exception Priority: 1
    Object Type Name: CL_HR_TEXT_IDENTIFIER
    During debugging, we found that program (Form: %_GET_PERAS) is retrieve text of additional fields based on structure P0000_AF. At this point, text of fields are successfully take place and filled. However, program try to retrieve the text based on structure P0000 again right after that. Due to additional fields are added on P0000_AF not P0000 and no ZZAPPRATING field found in P0000, hence program has cleared the text which filled in previously. This give the result, text is blank.
    Please advise, how should I get this resolved.
    Thank you very much.
    Best Regards,

    Please check this link:
    Re: query report
    I guess, it can help for your case too...
    Even this:
    Re: sap query infoset and fieldgroup
    Re: Additional field in SAP Query
    Kind Regards
    Eswar

  • Order of the selection fields in SAP QUERY

    Hello All,
    How can we set the order of the selection fields in SAP QUERY!
    Regards!
    Ashish

    Hi,
    You can go into infoset and change the order.
    Or you can select 1 by 1 in the same order, you want to display.
    Below is the link which might help you:
    help.sap.com/printdocu/core/Print46c/EN/data/.../BCSRVQUE.pdf
    Please revert, if needed more clarifications
    Regards,
    Yashwin

  • Can I add new compounding field in 0RT_VEND ?

    Due to 0RT_VENDP_TEXT datasource has 3 keys (Language key, Vendor, Vendor Sub-Range) but 0RT_VENDP has 2 keys (Language key, Vendor Sub-Range) that maybe duplicate when 2 vendor have same Vendor Sub-Range code
    Sample#1
    Language key, Vendor, Vendor Sub-Range, Description
    EN, 100, 20, Office product
    EN, 200, 20, Office product
    Sample#2
    Language key, Vendor, Vendor Sub-Range, Description
    EN, 100, 20, Office product
    EN, 200, 20, Furniture product
    My Question:
    1. Can I add new compounding field in 0RT_VEND ? Best Solution ?
    2. Each Vendor Sub-Range Code must same description ?? I don't know about Vendor Sub-Range concept
    Help me please
    Thank you very much

    Hi AJ,
    Usually the  vendor subrange (IS-R) should not have the double descriptions. Please check the Vendor subrange  information below.
    vendor subrange (IS-R):
    A subdivision of the full range of products offered by a vendor (e.g. the Henkel company has the subranges "adhesives" and "washing powder").
    Individual conditions apply for each individual subrange. If a vendor has subranges, each item offered by the vendor must be assigned to the appropriate subrange to enable the system to correctly determine the conditions for the subrange.
    Regards,
    Siva

  • Is it possible to add new screen fields to the transaction /dsd/sl_cockpit

    HI experts,
          Would like to know if it is possible to add new screen fields to the cloned version of /dsd/sl_cockpit.
          I cloned the original transaction /dsd/sl_cockpit into a diff. name, now I want to know how I can include/ add those new fields to this transaction.  It looks like the screen is dynamically built using Standard ABAP classes. Need help.
    Thanks in advance

    it is not possible to add new fields via badi on /dsd/sl_cockpit.

  • Add new font types to SAP GUI

    Hi,
    I'm trying to add new font types to SAP GUI to be available to edit smartforms and mail forms, but, after I do the upload in SAP system (by SE73 transaction)of ARIAL font, when I associate it to a smartstyle, what really appears with ARIAL name is a Times New Roman font example.
    Greetings,
    Nuno Moreira

    Hi Nuno,
      Maybe this question isnt corresponding with this forum. But I have a thread with the answer... look at
    Re: Adding a new font for SAPscript/SMARTFORM output
    Regards.
    Manuel

  • How to add new fields in SAP-Query

    Hi,
    Can any body tell how to add new fields to the existing query.
    Thanks a lot,
    Bhaskar.

    hi,
    when we create internal tables like. in final table you can include the extra fields.
    data : begin of itab_mara,
             matnr like mara-matnr,
             erdat like mara-erdat,
             end of itab_mara.
    data : begin of itab_marc,
             matnr like marc-matnr,
             werks like marc-werks,
             end of itab_marc.
    data : begin of itab_final,
             matnr like mara-matnr,
             erdat like mara-erdat,
             werks like marc-werks,
             date like sy-datum,
             status(10) type c,  * new fields
             end of itab_final.
    <select statement>.
    Append all the fields to itab.
    loop at itab_final.
    write :/ itab_final.
    endloop.
    Reward with points if helpful.
    Message was edited by:
            Vinutha YV

  • SAP Query - Adding new fields to SAP query

    Hi experts,
    I got an issue to work on SAP query.
    I have Transaction code and need to know the infoset to add additional two fields to the existing output.
    Please let me know how to find infoset/ Query for the specfic transaction and how to add fields.
    Regards,
    Venkata

    first check the transaction code given to you.. if it is report transaction (check using SE93), then get the report name for example AQFKTES_SGS_IV==MMIV0003======, then after aQFK,TES_SGS_IV woulbe be your user group and MMIV0003 would be your query. Now go to SQ03 with the user group (you need to check the query areas also which would be Environment---> query areas) because some can be client depended some can be just cross client. and then go to sq01 from user group. It will direct you to the queries of the user group you mentioned in SQ03. Now you should be able to find the query you are looking for. The infoset will also be displayed linked to the query. The infoset can be displayed via SQ02 transaction.
    If it is parameter transaction code, you need to check the parameter values to find the query details. Rest of the approach is same as mentioned above.

Maybe you are looking for