REPORT FOR INFO TYPE 586

Hi All
I am trying to create a report for INFO TYPE 586  in HR ABAP,where  in a table apporx 30 investment codes , proposed investment and actual amount are apperaring .
Now My problem is,  I do not want to use IF .... ENDIF statment. Is there any other way to write the code .
Please Help.
Thanks in advance.

Hi,
In this situation you can use field-symbols and/or a internal table. Like this:
tables: pa0586.
field-symbols: <ff1> type any,
               <ff2> type any,
               <ff3> type any.
data: w_campo1(30),
      w_campo2(30),
      w_campo3(30),
data: w_nx(2) type n.
data: begin of i_myitc occurs,
        itc like pa0586-itc01,
        dsc(30),
      end of i_myitc.
* fixed selection or may be from a z table
i_myitc-itc = '01'. i_myitc-dsc = 'AAAAA'. append i_myitc.
i_myitc-itc = '02'. i_myitc-dsc = 'BBBBB'. append i_myitc.
i_myitc-itc = '03'. i_myitc-dsc = 'CCCCC'. append i_myitc.
select single * from pa0586.
do 30 times.
   w_nx = sy-index.
   concatenate 'PA0586-ITC' w_nx into w_campo1.
   concatenate 'PA0586-PIN' w_nx into w_campo2.
   concatenate 'PA0586-AIN' w_nx into w_campo3.
   assign (w_campo1) to <ff1>.
   assign (w_campo2) to <ff2>.
   assign (w_campo3) to <ff3>.
   read table i_myitc with key itc = <ff1>.
   write: / <ff1>, <ff2>, <ff3>, i_myitc-dsc.
enddo.
Best regards,
Leandro Mengue

Similar Messages

  • Report for wage type with number, amount and amount per unit?

    Hi friends.
    I would like to know if there exits a report for wage type (like the PC00_M99_CWTR) that shows the number (anzhl), amount per unit (betpe) and the amount (betrg) of a person for a specific wage type.
    The standar report PC00_M99_CWTR does not display the amount per unit (betpe).
    Thanks in advance.
    Albio.-
    Edited by: Albio Manuel Vivas on Oct 20, 2011 6:13 PM

    Thanks,
    could you tell me what transaction i'll should use?
    thanks in advance
    Albio.-

  • In fbl1n report for document type RE  withholding tax amount is not showing

    in fbl1n report for document type RE  withholding tax amount is not showing
    in sap note 363309 determines
    Solution
    Remove the field which contains the withholding tax information (field BSEG-QSSHB) from your display
    variant.
    If you want to display the withholding tax information, double-click on the document number and
    subsequently choose 'Withholding tax'.
    my doubt is we remove the field BSEG-QSSHB in layout how can show the withholding tax amount in FBLIN report
    how to remove from the layout
    please clarefy
    bhayyapu   

    Hi,
    If you want to check amounts of withholding tax for the vendors, you have some options to view it. You can access the WITH_ITEM, LFC1 tables by SE16. You have too the S_P00_07000134 report. This report is developed for the Colombia but I already used for the another country with the ABAP development for this country.
    Also you can use table join BSIK and WITH_ITEM by SQVI for the open items and BSAK and WITH_ITEM for cleared items. It is more simple and fast.
    JPA

  • Archive Employee for Info type 0008

    Hi Experts.
    I have a requirement liek, i need to archive the personal number for info type 008.
    We have an Object PA_LDOC. The write program is RPAR3W00.
    I need to modify the write program, which should accept the data from flat file to create the record and archive the created record for Info type 008.
    Please let me know how can i go a head, since i dont have parameters for personal number and infotype in the selection screen.
    Thanks,
    Sriram.

    Hi Srini,
    Thanks for your prompt reply.
    I have one question.
    Can i use RPAR3W00 to archive personal number for info type 0008, If yes where can i give infotype(0008).
    and where can i pass basic pay details.
    Please suggest me on the same.
    Thanks,
    Sriram.

  • No read authorization for info type 2001/0402 for pers. no. 00000018 betwee

    Hi,
    Mangers try to approve the leave request iam getting below error.
    No read authorization for info type 2001/0402 for pers. no. 00000018 between 04.05.2010 and 04.05.2010.
    how can i resolve this issue.Pls help me
    Please advice
    Regards
    SATYA

    Hi Satya,
    Check the authorizations for the user in mentioned infotypes, you can help you with SU53 and ST01 (using auth trace) transactions.
    Regards

  • BADI for Info type 24(skills)

    Hi,
    I want BADI or exit for info type 24, i need to restrict the skills to two and primary skill can have 4 proficiencies(primary, primary basic and so on) and secondary skill can have 4 proficiencies(secondary, secondary basic and so on). If the user selects two skills as primary, i need to display error message.
    can any worked this type of requirements.
    Thanks
    Rajavardhana Reddy

    Hi rajavardahana,
    1. HRPAD00INFTY
       is in PBAS package only.
    2.  use the method AFTER_INPUT
       to do validations.
    3. use the parameter
       OLD_INNNN
       to fetch the details of the
       infoteyp data which has been entered.
    4. use this kind of logic ,
       to get the required data.
    data : IP587 like P0587.
    *Error Messages for particular selection.
    case INNNN-INFTY.
      when '0587'.
        call method CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
          EXPORTING
            PRELP = OLD_INNNN
          IMPORTING
            PNNNN = IP587.
    regards,
    amit m.

  • Full data is not being display in report for "LANGUAGEINDEPENDENT_EXTENDED_Text" type field

    Hi
    I have extended Opportunity BO with a field type LANGUAGEINDEPENDENT_EXTENDED_Text", then I have enhanced my datasource and report.
    for this field I have entered value almost 100 characters but in report only 60 character is being shown.
    Could anyone help me how to bring whole value in report as it is in database.
    Thanks
    Sunil Maurya

    Hi Sunil,
    As per your requirement in reports only display 60 characters.
    We have similar requirement to display more than 1000 character in report but this is not possible in report
    Please check this discussion :
    Add 'notes'-field in report
    Regards,
    Mithun

  • Inventory report for valuation type

    Hi experts,
    Is there any SAP standard reports can show the inventory value based on the valuation type?
    we have actived the split valuation, so one material may have several valuation types. Different valuation types have different MAP and amounts.  Now we want to find the inventory value for each valuation type, for the whole inventory.
    tcode such as MB51 only can display every movement details, we want to find a report for all materials.
    Thanks.

    Hi
    Pls try MB5L
    Regards
    Sanil Bhandari

  • WHT amount not appearing in FBL1N report for Document type RE

    Dear Friends,
    While running FBL1N report for any vendor where TDS is applicable, the WHT amount is appearing for KR document type. But when it is RE document type the WHT amount is not appearing in the report. How can we resolve this? Any enhancement/any note to be applied?
    Regards,
    Ramkumar

    Hi,
    FBL1N is having the classic withholding tax field hence please don't refer the those fields.
    please don't refer those fields.
    Please review attached note 363309 for detailed explanation.
    BSEG-QBSHB is designed to fill for the classic withholding tax. And
    extended withholding tax information is stored exclusive in table
    WITH_ITEM.
    You can check in table BSEG for the fields and will find that system
    do NOT update field BSEG-QBSHB.
    In your line layout,you define a field BSEG-QBSHB. But actully the field
    of vendor/customer line item is filled with zero from FI. Thus,it shows
    zero in line item display.
    And as note 363309 says,
    "Remove the field which contains the withholding tax information
    from your display variant.
    If you want to display the withholding tax information, double-click on
    the document number and subsequently choose 'Withholding tax'."
    Regards
    Madhu M
    Edited by: M Madhu on Jan 18, 2012 9:13 AM

  • Report for condition type

    Hi,
    I have maintained a pricing condition record for one condition with combination key of plant and incoterms.
    My requirement is to take report for that condition type with respect to plant .
    Kindly need your input
    -Prabu

    Hi,
    You may be knowing the condition table of the Plant / Inco terms key combination.
    Goto SE16 with the condition table preceded with A and and in the selection screen give your plant and the condition type and get the total entries maintained with the field KNUMH for all of the entries.
    Pass on the KNUMH to KONV table to get the condition values with various validities.
    Regards,
    RitiG

  • HRMD_ABA change pointer trigger not work for info type changes

    Hi,
      In change pointer for message type HRMD_ABA Certain changes to HR records like adding activity types to infotype 315, changing dates to infotype 0001, 0105 and 315 and adding/changing/deleting are not woking through change pointers.
    We are are replicating those changes through RHALEINI program, so can anyone let me know how to customize in case of adding this info types to trigger automatically through change pointers.
    Thanks,
    Marai

    Hi,
       Then check for change document created or not, if created then use SWEC  to  link it

  • Standard report for Activity types in REM scenario.

    Hi PP Gurus,
    Is there any standard report like MCRP, MCP6, MF12 in REM scenario to capture time booked for Activity types? Please revert.
    Thanks & Regards,
    Abu Arbab

    Hi R. Brahmankar,
    Thanks for your prompt reply. We need to track Activity types booked in terms of quantity. We checked all the transaction code that you suggested.
    The track of Activity type is also possible in standard SAP system provided we do Separated Backflush only.
    T-code- MF12:
    Field Name- Production Activities:*
    Production activity posting in worklist
    If you select this indicator, the system only displays the document logs for which production activities still have to be posted.
    The selected documents provide you with a worklist which you process using the separate backflush transaction.
    Thanks & Regards,
    Abu Arbab
    Edited by: abu arbaba on Sep 24, 2008 11:07 AM
    Edited by: abu arbaba on Sep 24, 2008 11:12 AM
    Edited by: abu arbaba on Oct 16, 2008 8:16 AM

  • Table T588M for info type screen display:

    Hi Experts
    I have deleted relevant entry in in table T588M for an info type still the system shows some screen. where from does that screen come. Can anybody help..?

    As i understand, there is a screen element that you want to get it disabled but is not available in the table v_t588m. Is that right???
    If YES, the screen element/ field of your screen, for example 3000 of it0817, can be disabled from the screen layout also.
    Go to SE80 -> select the module pool mp081700 as your program -> select screen 3000 -> Click on the 'layout' in the application toolbar -> select the element and delete or change the properties, might be display properties in your case.
    Hope this helps.
    Cheers,
    LG

  • Report for Mvt Type 103 & 105

    Dear Gurus,
    Is there any report which will show the corresponding material document of 105 MVT/ 104 MVT type  for 103 MVT type Material document
    Regards,
    Rajesh

    Hi,
    What you have to do is:
    Enter Tcode MB51...Enter Mvt type 103  and in to enter 105..
    Now clcik on F8 Button...It will display you the result as per what you have expected..
    Cheers!!
    Utsav

  • SAP report for movement type and material type

    Hi!
    I would like to use a standard SAP report to give me a list of all the movement types (much like MB51) but instead of material I would like to select on Material type e.g. ROH. The result should for example be a list of the movement types 501 on material type ROH.
    It is urgent, if you could help me I would be very greatful!
    Sincerely
    Anders Öhrling

    Thanks for your answer!
    I have managed to join the two tables and created a report that will work, except that the amounts in local currency that is given by movement type 201 is not negative (as in MB51). I need all movement types that generate a debit must be shown as a negative value. Wo when I summarize all the movement types I end up with the value of 101 minus 201.
    Is that possible without ABAP programming?
    Sincerely Anders Öhrling

Maybe you are looking for

  • Want to know the difference among the sap standard schemas TM00/TM01/TM04

    hi, experts i have read the standard courses HR310 and HR311,but i am still confused about the difference among the three standard TM schemas TM00,TM01 and TM04.   i only learn from the book about it as follows:   TM00: Time evaluation with time even

  • RFC to srm

    Hi all, i am calling RFC FM in SRM from R3..this RFC FM is a ZFM..it contains PRPS-POSID values..so..for conversion of values to SRM i m using CONVERSION_EXIT_ABPSN_OUTPUT in RFC ZFM..but here i am converting each and every POSID values before checki

  • An error occurred while attempting to create the d...

    I keep receiving this message An error occurred while attempting to create the directory: C:\Users\owner\AppData" anyone knows how to fix this?

  • Safari 7.0.2 won't open at all

    I have a Mac mini.. running SAFARI 7.0.2  ... And simply it won't open anymore.  It takes me to the crash window immediately. And now you can't even delete the program and reload it. I have tried everything : files removal, reboot, ect.  I really don

  • SLA Voilation Alert

    Hi all, I setup SLA and after creating activity I can see SLA & reminder timings, when it reached reminder time SLA icon turn in to yellow from green. But I canu2019t get the Violation Alert u2013 alert profile is activated and also ran the program R