Multiple fields frm different infotypes and LDB

hi All,
I am using a logical database with all screen elements supressed and only company code active. now i have not used provide and end provide. i want to knw can i still fetch data frm more than 1 infotype in the same statement. I want to fetch salary number from PA010 5 and pernr nulber and other details frm PA0001.
my current code is as follows..
Get pernr.
loop at P0001 where bukrs = Pnpbukrs-low
              and begda <= sy-datum
              and endda >= sy-datum.
read table itab_CSKS into csks_line with key kostl = P0001-kostl.
MOVE FIELDS.
thanks and regards,
Reena

>> will it be a performance issue??
Once you have attached the report to the PNP Logical database, you don't have to rertriev the data from the db tables.. The P0001 & P0105 itabs will be loaded for each pernr for each loop pass in the GET PERNR event. So you don't have to use the SELECT or PROVIDE.. You can simply loop at P0001 & then READ P0105 for that pernr inside this loop.
~Suresh

Similar Messages

  • How to add fields in custom infotype and update its screens

    Hi Experts
        I want to enhance a custom infotype ( Add some new fields, and add special function on its screen). This custom infotype is created in previous release.   is there any way to add fields in infotype? and let system automatcailly modify corresponding screens to add new fields

    Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the u2018Employee Infotypeu2019 radio button.
    4) Select the u2018PS Structure Infotypeu2019.
    5) Click on Createu2026 A separate table maintenance window appearsu2026
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on u2018Allu2019 push button. It takes a few moments.
    10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
    11) Click on u2018Changeu2019(pencil) button
    12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
    13) Give u2018T591Au2019 as subtype table
    14) Give u2018T591Su2019 as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
    18) Click on u2018Changeu2019 (pencil) button
    19) Click on u2018New Entriesu2019
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirementu2026
    25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
    27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Donu2019t forget to u2018Activate at every level
    i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype

  • How can I have multiple fields on the left and one large field on the right?

    I'm trying to conserve space on a form.  I have five "pass/fail" fields on the left and would like a large free text field to the right.  This will be an area to comment on the "pass/fail" section.  When I add the multi-line text box, it moves all my "pass/fail" mulitple selection boxes.
    Any advice?

    Sorry FormsCentral doesn't allow a fields to spam over multiple rows.
    Gen

  • How to Query Multiple Fields from different Tables using Toplink Expression

    Hi,
    I am trying to prepare an Oracle Toplink Expression to qurey the multiple columns of different tables. the query as following. Please can anyone help?
    SELECT CYCLE.CYCLE_ID,
    CYCLE.ASPCUSTOMER_ID,
    CYCLE.FACILITYHEADER_ID,
    CYCLE.ADDUSER,
    ASP.FIRSTNAME || ' ' || ASP.LASTNAME ADDUSERNAME,
    CYCLE.ADDDATE,
    CYCLE.LASTUPDATEUSER,
    ASP.FIRSTNAME || ' ' || ASP.LASTNAME LASTUPDATEUSERNAME,
    CYCLE.LASTUPDATEDATE,
    CYCLE.CYCLENAME,
    CYCLE.CYCLENUMBER,
    CYCLE.DESCRIPTION
    FROM CYCLE,ASPUSER ASP
    WHERE CYCLE.ADDUSER = ASP.ASPUSER_ID
    and then i want to send that expression to readAllObjects method as a parameter
    Expression exp = (..............this is the required qurey expression...................)
    Vector employees = session.readAllObjects(getClass(), exp);
    thanks,

    You havent given any information on the mapping between Cycle and Asp. I presume there is a one to one mapping between them. Also it appears there is no "WHERE" clause to limit the number of cycles being retrieved. If that is the case then I presume you want to load all cycles in the system.
    Thats just a clientSession.readAllObjects(Cycle.class). If you have indirection turned on the Asp should get loaded when you do a cycle.getAsp().
    I presume that SQL you posted loads all the columns of CYCLE and ASP. If you are interested in a subset of CYCLE or ASP then you should do a ReportQuery or partial object read.
    Hi,
    I am trying to prepare an Oracle Toplink Expression
    to qurey the multiple columns of different tables.
    the query as following. Please can anyone help?
    SELECT CYCLE.CYCLE_ID,
    CYCLE.ASPCUSTOMER_ID,
    CYCLE.FACILITYHEADER_ID,
    CYCLE.ADDUSER,
    ASP.FIRSTNAME || ' ' || ASP.LASTNAME ADDUSERNAME,
    CYCLE.ADDDATE,
    CYCLE.LASTUPDATEUSER,
    ASP.FIRSTNAME || ' ' || ASP.LASTNAME
    LASTUPDATEUSERNAME,
    CYCLE.LASTUPDATEDATE,
    CYCLE.CYCLENAME,
    CYCLE.CYCLENUMBER,
    CYCLE.DESCRIPTION
    FROM CYCLE,ASPUSER ASP
    WHERE CYCLE.ADDUSER = ASP.ASPUSER_ID
    and then i want to send that expression to
    readAllObjects method as a parameter
    Expression exp = (..............this is the required
    qurey expression...................)
    Vector employees = session.readAllObjects(getClass(),
    exp);
    thanks,

  • Single ERS Invoice for multiple POs with different GS and same IP

    Dear All,
    I have a Requirement as per the below scenario:
    We need to have single invoice created using ERS (MRRL) functionality in the below scenario:
    Two POs created with different Partner function GS (goods supplier) and same IP (Invoice party partner function).
    Ex:
    GS IP PO GR ERS
    vendor1 10001 4500001 500001 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    vendor2 10001 4500002 500002 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    When I run ERS for last 1 week (GR) and select the option (Doc selection – per IP or other criteria like GRs posted in last one week) , system should create 1 invoice document. Standard SAP posts 2 documents for each GS.
    I have tried using 2 user exits for MRRL, but none of them work for this functionality.
    Thanks,

    Hi,
    Go for  MIRO without MRRL.
    Instead ERS, you can post single  Invoice(MIRO) for multiple POs  for one vendor.
    OR
    Check with Technical consultant and go for development to have single ERS output for multiple ERS invoice documents for single vendor.
    Regards,
    Biju K

  • Can someone help me get my IPOD Touch 3g started? It will only flash the Apple logo off and on. Has been through restore multiple times on different computers, and still will not start.

    I have tried restoring the ipod on different computers, one Vista, and one 7. On both, the restore process seems to complete just as it should, until the point where it says "your IPOD will now restart and will appear in listed devices. This IPOD never restarts. The Apple logo just stays on for approximately 30 seconds and then the screen turns off for five or ten seconds and the logo comes back on, over and over for approximately forty five minutes or so, Occasionally the "connect to USB" will come back on, but that is rare. When that does happen, the I-Tunes recognizes it again as an IPOD that needs to complete the restore process. VERRRRRY AGGRAVATING!!!

    Time for an appointment at the Genius Bar of an Apple store. It appears you have a hardware problem.

  • Fields on selection field frm different tables

    Dear Techis
    I want to shw my selection screen with filds from different tables so hw i use select statement i dont want to use join statement so will anybody pls tell me alternative soln with example
    Thanks

    Hi,
    U can use for all entries see the example.
    i am using tow table like ekko ,ekpo.
    REPORT  z_sn_report                             .
    TYPE-POOLS: SLIS.
    TABLES: ekko , ekpo.
    types: BEGIN OF ty_ekko,
            ebeln TYPE ekko-ebeln,
            bukrs TYPE ekko-bukrs,
            lifnr TYPE ekko-lifnr,
          END OF ty_ekko.
    types: BEGIN OF ty_ekpo,
            ebeln TYPE ekpo-ebeln,
            ebelp TYPE ekpo-ebelp,
            matnr TYPE ekpo-matnr,
            menge TYPE ekpo-menge,
            netpr TYPE ekpo-netpr,
          END OF ty_ekpo.
    types: BEGIN OF ty_final,
            ebeln TYPE ekko-ebeln,
            bukrs TYPE ekko-bukrs,
            lifnr TYPE ekko-lifnr,
            ebelp TYPE ekpo-ebelp,
            matnr TYPE ekpo-matnr,
            menge TYPE ekpo-menge,
            netpr TYPE ekpo-netpr,
          END OF ty_final.
    data: it_ekko type standard table of ty_ekko with header line,
          it_ekpo type standard table of ty_ekpo with header line,
          it_final type standard table of ty_final with header line.
    DATA: IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    selection-screen: begin of block b1 with frame title text-001.
    select-options: s_ebeln for ekko-ebeln.
    parameters: p_bukrs like ekko-bukrs.
    selection-screen: end of block b1.
    select ebeln
           bukrs
           lifnr
           from ekko
           into table it_ekko
           where ebeln in s_ebeln
           and bukrs = p_bukrs.
    if not it_ekko[] is initial.
    select ebeln
           ebelp
           matnr
           menge
           netpr
           from ekpo
           into table it_ekpo
           for all entries in it_ekko
           where ebeln = it_ekko-ebeln.
           endif.
    loop at it_ekpo.
    read table it_ekko with key ebeln = it_ekPo-ebeln.
    if sy-subrc  = 0.
    it_final-ebeln = it_ekko-ebeln.
    it_final-bukrs = it_ekko-bukrs.
    it_final-lifnr = it_ekko-lifnr.
    it_final-ebelp = it_ekpo-ebelp.
    it_final-menge = it_ekpo-menge.
    it_final-netpr = it_ekpo-netpr.
    append it_final.
    clear it_final.
    endif.
    endloop.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = sy-repid
       I_INTERNAL_TABNAME           = 'IT_FINAL'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   = SY-REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
      CHANGING
        ct_fieldcat                  = IT_FIELDCAT[]
    EXCEPTIONS
      INCONSISTENT_INTERFACE       = 1
      PROGRAM_ERROR                = 2
      OTHERS                       = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
        I_INTERFACE_CHECK                 = ' '
        I_BYPASSING_BUFFER                = ' '
        I_BUFFER_ACTIVE                   = ' '
         I_CALLBACK_PROGRAM                = 'Z_SN_REPORT'
        I_CALLBACK_PF_STATUS_SET          = ' '
        I_CALLBACK_USER_COMMAND           = ' '
        I_CALLBACK_TOP_OF_PAGE            = ' '
        I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
        I_CALLBACK_HTML_END_OF_LIST       = ' '
        I_STRUCTURE_NAME                  =
        I_BACKGROUND_ID                   = ' '
        I_GRID_TITLE                      =
        I_GRID_SETTINGS                   =
        IS_LAYOUT                         =
         IT_FIELDCAT                       = IT_FIELDCAT[]
        IT_EXCLUDING                      =
        IT_SPECIAL_GROUPS                 =
        IT_SORT                           =
        IT_FILTER                         =
        IS_SEL_HIDE                       =
        I_DEFAULT                         = 'X'
         I_SAVE                            = 'X'
        IS_VARIANT                        =
        IT_EVENTS                         =
        IT_EVENT_EXIT                     =
        IS_PRINT                          =
        IS_REPREP_ID                      =
        I_SCREEN_START_COLUMN             = 0
        I_SCREEN_START_LINE               = 0
        I_SCREEN_END_COLUMN               = 0
        I_SCREEN_END_LINE                 = 0
        IT_ALV_GRAPHICS                   =
        IT_HYPERLINK                      =
        IT_ADD_FIELDCAT                   =
        IT_EXCEPT_QINFO                   =
        I_HTML_HEIGHT_TOP                 =
        I_HTML_HEIGHT_END                 =
      IMPORTING
        E_EXIT_CAUSED_BY_CALLER           =
        ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = IT_FINAL
      EXCEPTIONS
        PROGRAM_ERROR                     = 1
        OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • How do I sync multiple iPhones to different Macs and still share calendars?

    In my household, we have 4 macs, 2 iPhones and 2 iPods (Touch). We also have a Family MobileMe account. What I would like to do is sync some services to ALL the macs and devices and some services to the mac and device of ONLY THAT USER. The set up would be this:
    ALL (all the macs and devices would share these services)
    Contacts
    Calendars
    USER based (1 mac syncs to one device ONLY these services)
    Bookmarks
    Dashboard Widgets
    Dock Items
    Keychains
    Mail Accounts
    Mail Rules
    Signatures
    Smart Mailboxes
    Notes & Preferences
    My goal is to be able to add an event to my calendar and have it appear in ALL of my family's calendars (same with contacts) via the "cloud." However, I do not want my bookmarks appearing on my son's computer or my wife's mail appearing on my iPhone, etc.
    If anyone, knows how to set this up, I would greatly appreciate the help.
    Thank you.

    Sync them to the same iTunes library and select to sync to the same Calendar on the Info tab in your iTunes sync settings.  Or, sync them to the same iCloud account and turn on Calendar syncing in Settings>iCloud.

  • Can I show different fonts and colors text on 1 multi-line text fields?

    I want to format different messages on 1 mutli-line field with different fonts and colors for the heading lines. Can I do that in Forms 6i ?

    You must use in trigger Post-query the sentence:
    Example:
    DECLARE
    cur_itm VARCHAR2(80);
    cur_block VARCHAR2(80) := :System.Cursor_Block;
    BEGIN
    cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
    WHILE ( cur_itm IS NOT NULL ) LOOP
    cur_itm := cur_block||'.'||cur_itm;
    Set_Item_Instance_Property( cur_itm, CURRENT_RECORD,
    VISUAL_ATTRIBUTE,'My_Favorite_Named_Attribute');
    cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
    END LOOP;
    END;

  • How to display dates on which the field of an infotype is changed

    there are two fields   in an infotype and both the fields are changed on different dates then how to display those dates on which the two fields are changed

    Hi ankit,
    If you want the change log for one infotype with one two fields, then write one custom program with following logic. If you want the log for multiple infotypes for multiple fileds then you have to use that program 'RPUAUD00'. Read the documentation of the program to check how to use it.
    select * from pa0000 into table it_pa0000
                                   where pernr = v_pernr.
    sort it_pa0000 by begda descending.
    loop at it_pa0000 into wa_pa0000.
    write your own logic to compare the previous record PERSG with current record PERSG.
    if this doesnt match then get the Changed DATE from AEDTM field.
    wa_pa0000-AEDTM = changed date.
    Else.
    continue with loop.
    exit.
    endloop.
    regards,
    Shrinivas

  • Adding new fields in Custom Infotype

    Hi,
    I need to change some fields of Custom Infotype. But project is already gone live for 1 country. will making changes to infotype affect for existing live country?
    Safe side....We are thinking Adding new fields in Custom Infotype. & displaying corresponding fields for countries in another tab
    & hiding the old tab.
    Please let me know procedure for  Adding new fields in Custom Infotype for displaying in new tab.
    Edited by: Sachin Thigale on Aug 23, 2010 7:04 PM
    Edited by: Sachin Thigale on Aug 23, 2010 7:05 PM

    Please search. Lot of Threads on this.
    Follow these steps.
    Go to Transaction PM01.
    2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
    3) Select the u2018Employee Infotypeu2019 radio button.
    4) Select the u2018PS Structure Infotypeu2019.
    5) Click on Createu2026 A separate table maintenance window appearsu2026
    6) Create a PS structure with all the fields you want on the Infotype
    7) Save and Activate the PS structure
    8) Go back to the initial screen of PM01.
    9) Click on u2018Allu2019 push button. It takes a few moments.
    10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
    11) Click on u2018Changeu2019(pencil) button
    12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
    13) Give u2018T591Au2019 as subtype table
    14) Give u2018T591Su2019 as subtype txt tab
    15) Give your subtype field as subtype field
    16) Save and come back to PM01 initial screen
    17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
    18) Click on u2018Changeu2019 (pencil) button
    19) Click on u2018New Entriesu2019
    20) Enter your Infotype number and short text
    21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
    22) Save your entries.
    23) Now the Infotype is created and ready to use.
    24) If you want to change the layout of the Infotype as per your requirementu2026
    25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
    26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
    27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
    28) Save and activate. (Donu2019t forget to u2018Activate at every level
    i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype
    The above details are from the following link
    Re: How to add fields in custom infotype and update its screens

  • Send multiple files in different directories using Receiver File Adapter

    Hi Experts,
    I have one File to File without ESR scenario where I have to pick multiple files from different directories and to save them in different directories on receiver side.
    Can anyne help me to send multiple files in different directories using receiver file adapter.
    Is it possible??
    Any help will be appreciated.
    Regards,
    Danish

    hi ,
    that is possiable without esr,
    we need to create one sender communication channel , in that  we nend to use "adavnced selection for source file " for sending multiple files from multiple directories.
    we need to create 'n' receiver communication channels and 'n' receiver agreements based on communication channels .
    in receiver determination, provide multiple receivers
    In interface determination , provide * symbol for receiver communication components
    thanks,

  • Multiple records of different types

    Hi could anyone tell me as to what this does???I tried working on it but could not get anywhere with this. Is there any document on this particular query?anyone with knowledge of this can help me out. thanks

    Hi
    What is your really problem my friend? Are you using a file adapter?
    I´m using File Adapter with multiple records of different types and all works fine.
    The secret is (if necessary) to edit the XSD generated by the File Adapter Wizard.

  • I have a form that has multiple fields but has 5 sections. I have used mail merge to insert information but I can't get Excel to recognize that I need different names and addresses for each section. Please help.

    I have a form that has multiple fields but has 5 sections. I have used mail merge to insert information but I can't get Excel to recognize that I need different names and addresses for each section. Please help.

    Thanks for your response. I do believe I have the information needed for each form on a separate line in Excel. There is a first name, middle name, last name, city, and zip column. And field is entered on a different line for all the information. I'm really stuck.

  • HCM Processes and Forms - Create multiple records of one infotype (eg 0008)

    Dear all,
    I'm trying to create two new records in infotype 0008 (basic pay). Regarding it's time constraint 1 it should like the following:
    Before
    01.01.2010 - 31.12.9999 - 2000u20AC
    After
    01.01.2010 - 08.11.2010 - 2000u20AC
    09.11.2010 - 31.12.2010 - 2500u20AC
    01.01.2010 - 31.12.9999 - 3000u20AC
    So I want to add two splits two the record. One is easy, as it's done by the SAP_PA operation. I experimented with the record indices and duplicating my fields, but it didn't work. Another idea would be to retriggerd the SAP_PA several times using scenario steps.
    Can you give me a hint, by which lever multiplee splits can be achieved? Or is this not possible at all?
    Thanks in advance,
    Peter

    Thanks for your fast reply.
    Knowing this as a fallback is comforting. I just want to ensure, that I don't apply any coding, if a task is also possible by customizing.
    Another idea I had in the meantime was to execute the SAP_PA several times. Do you have any experience, if this works to create multiple records in one infotype?
    Edited by: Peter Gilberg on Nov 9, 2010 2:34 PM

Maybe you are looking for

  • Burned CD's now "Not authorized to play.."

    I have upgraded to Itunes 7.3 for Winders. When I Sync my Ipod 63 songs will not make it over. Many of these are songs from CD's I have burned to iTunes! The error displayed when I attempt to play one of these 63 songs is You have already authorized

  • Ipod does not show up in itunes

    my ipod recently stoped showing up in my itunes, it still charges but other than that its like its not plugged in. This is extremley fustrating because now i can't add new songs, has anyone had this problem before and if so could you tell me how to f

  • Searching specific arguments in context sent to server in Servlet Filter

    hi, I would like to build a filter, that recieves the html content, searches for specific words (for example: "taste"=shoo) and according to that sets the expires or content type of the response. I understand that I have to build a Wrapper, but how d

  • MediaHub reset, FTP password gone

    As I was encoutering some problems with my MediaHub (could not activate external access anymore, firmware update would not work anymore) I did a full reset. After that my MediaHub updraged automatically to firmware 3.18.5, but now the options for usi

  • The photo library needs to be upgraded to work with this version of iPhoto??

    Just got this message after upgrading to Mavericks... The photo library needs to be upgraded to work with this version of iPhoto. Your photo library will not be readable by previous versions of iPhoto after the upgrade. The upgrade process for very l