Dataretrieval in hr abap  (how to combine both pa and om in hr abap)

Hi Experts?
    My requirement is i wants to retrieve the data from HRP1000 table i.e get the long text from the field sc_text ,for this they have provided me some field values like PLVAR='01'  ,  OTYPE='O'  , OBJID -
(not given)  ,ENDDA =9999.12.31. and also they have mentioned table PA0001-BUKRS(field).
      how to get objid field?
   Please provide me query ,how to combine Organizational data(hrp1000)  with Personnel administration data(pa0001-bukrs)
Thanks in advance,
mohan

Hi mohan,
1. Its very impractical,
   especially in SAP HR Tables,
   to directly get data from tables using joins.
2. In your case,
   first read from infotype 0001
   using direct select statement,
   (or u can use HR_READ_INFOTYPE)
3. After wards, LOOP / FOR ALL ENTRIES IN
   and then read from the other required tables HRP1000.
regards,
amit m.

Similar Messages

  • How to combine both values and subquery in the insert statement

    Hi everybody,
    This is a case of inserting rows into a final results table from a temporary one. Actually, one of the fields is not always given in the temporary table. Thus, when inserting the rows into the final results table, an error message comes up to.
    More clarification:
    final results table(F_RESULT): field1, field2, field3 ( they are also primary keys with not null constraint)
    temporary table(TEMP): field2, filed3
    Is it possible to combine both values and subquery branchs of the insert statement:
    Insert into F_RESULT (field2,field3) select field2,field3 from TEMP;
    Insert into F_RESULT (field1) values (0);
    into only one like this:
    Insert into F_RESULT (field1,field2,field3) values (0, select field2 form Temp, select field3 from Temp);
    Or there is another more effective solution. The main problem for me is the message that doesn't accept the null value. From the data integrity point of view, it is accepted to set field1 to zero.
    Any hints?
    Thanks for your reply.

    That's easy, you can select any value from a table:
    Insert into F_RESULT (field1,field2,field3)
    select 0, field2, field3 from Temp;

  • How to combine both ITEM and SCL data

    Hi all,
    I am working in Purchasing.I am having requirement to use both 2LIS_02_ITM which is Item level and 2LIS_02_SCL which is Schedule Line level.
    I created a ODS which includes both the data sources (2LIS_02_ITM & 2LIS_02_SCL) but whenever I am load data to the ODS from both of them I am not able to get values for certain Info Objects like Purchasing Document Number (0OI_EBELN), Item Number (0OI_EBELP) but when I load only from 2LIS_02_SCL I am able to get data for the objects.
    If I load from 2LIS_02_ITM also I am not able to find data.
    Can anyone tell me what is the error.
    Thanks in advance....
    regards,
    Mahi

    Hi,
    I will guide you how to find the issue.
    As you have correct data in PSA you can try simulating update from PSA with debugging switched on.
    From RSMO > Details > Data Package > Right click > Simulate update > Here check Debugging on for Transfer rules and Update rules. This will tell whats happening for the record. where is it being filtered.
    As this is coming in correctly you can rule out any issue with extraction.
    Hope this helps.
    Thanks,
    JituK

  • How to populate both key and text in drop down list in dialog prog screen

    Hi, Can anyone please advice how to display both key and text in the drop down list in dialog prog screen. I tried with below code. keys and texts are getting populated in values table but only text is appearing when click on drop down. need to display both key and text in the drop down. Thanks in advance.
    TABLES: ZRPP_MODELS, ZRPP_FFLSTRATEGY.
    TYPE-POOLS : VRM.
    DATA : field_id TYPE VRM_ID ,
           values   TYPE VRM_VALUES,
           value    LIKE LINE OF values.
    FORM fill_model_list .
      select MODEL MODEL_DESC from ZRPP_MODELS into value.
        APPEND value TO VALUES.
      endselect.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = 'ZRPP_MODELS-MODEL'
          values = values.
    ENDFORM.

    You need to concatenate KEY & VALUES
      wa_values-key = '1'.
      wa_values-text = '1 - One'.
      append wa_values to i_values.
      wa_values-key = '2'.
      wa_values-text = '2 - Two'.
      append wa_values to i_values.
      wa_values-key = '3'.
      wa_values-text = '3 - Three'.
      append wa_values to i_values.
      call function 'VRM_SET_VALUES'
        exporting
          id              = 'LIST_BOX'
          values          = i_values
        exceptions
          id_illegal_name = 1
          others          = 2.

  • How to print  both normal and bold data in a single line

    Hi ,
    I have requirement wherin the data need to be displayed in a single line.
    FAX:              Z8525_text.
    where FAX needs to be in bold and Z8525_text is a standard text and it shoould not be bold , both of this needs to be displayed in
    a single line.
    Can you let me know how to print  both normal and bold data in a single line one of which is coming fro standard text.
    Regards,
    Senthil

    Hi Senthil,
    If you are using smartforms, have a character format created for BOLD and apply it to the text you want to highlight. The remaining text of the line could be applied with a Character format which is not highlighted.
    Try and revert in case you need further assistance

  • McAfee - combining both VSE and Agent?

    Hi everyone,
    We are planning to deploy McAfee (agent 4.6& vse 8.7) to some of user machines by using sccm2012. In our case, we don't want to use ePO or updater to push 
    the vse automatically. 
    Is there any ways to combining both VSE and Agent into one package? Or any scripts that can perform installing vse after agent install completed?
    Appreciated if someone here can help on this.
    Thank you.
    Best.

    Use task sequence.
    Refer to the below for the procedure
    http://griffo.hubpages.com/hub/Deploy-Packages-in-an-Order-Using-SCCM-2012
    Blog: http://theinfraguys.com
    Follow me at Facebook
    The Infra Guys Facebook Page
    Join the Singapore System Center Admin Group
    SG System Center Admin Group
    Please remember to click Mark as Answer on the answer if it helps you in anyway

  • How to combine Area chart and Line chart?

    Hi,
    I have to display Area chart with the Line chart in one graph.
    How can i do that,
    Please suggest.

    Pretty easy, just add series to your chart
    http://forums.arcgis.com/threads/73636-How-to-combine-line-chart-and-stacked-column-chart
    Dany

  • How to print both letter and legal size docs at same time with two trays

    I have an HP Laser Jet P2055dn printer. How can I print both letter and legal docs at same time?

    Not quite sure what you mean by "print both letter and legal docs at same time".
    If you mean that sometimes you want to print a document on Letter size paper, and at other times you want to print a different document on Legal sized paper, then all that is neccessary is to ensure that:
    The printer knows what Paper Size (e.g. Letter or Legal) is present in each tray; on many LaserJet devices, the size is detected automaticaly by sensors in each tray (except for the drop-down tray), but some devices may require that you set the size via front panel menus, or (for network models) via the Embedded Web Server equivalent.
    You may also need to specify what Paper Type (e.g. Plain or Letterhead) is present in each tray, in order to distinguish between two or more trays which have the same paper size loaded.
    Within your appllcation / print preferences, ensure that you select the required combination of size and type for the document.
    But if you mean how do you print a document with some pages on one size of paper, and other pages on a different size, this may only be possible with bespoke applications and/or printer drivers.

  • How can we relate c and x  types in ABAP

    hi all,
    I would like to know how we could relate c type and x type in ABAP.
    In terms of size specification.
    Thank you all
    prasad.

    Hi Prasad,
    Consider the following code snippet -
    data : char type c,
           hexa type x.
    Now, both these variables are of 1 byte each. However, they store different kinds of data, so we have -
    hexa = '41'.
    write : hexa to char.
    write: char , hexa.
    hexa is going to store the hexadecimal number 41. (the decimal equivalent is 65). The first write statement does the automatic type conversion. so we get the 65th ASCII character in the character variable (which is the capital A).
    Hope that helps.
    Regards,
    Anand MAndalika.

  • How to combine a doSubmit and a f?p call ?

    Hello,
    I've got an updateable report with a link column. That column is defined in my SQL query (select '<a href="f?p=&APP_ID.:4:' ||:APP_SESSION || ' ...) . That link is an image.
    When the user click on that image, I'd like to simulate the doSubmit('MyButton') function, but I can't manage to combine the doSubmit and the f?p call.
    If I write <a href=javascript:doSubmit('MyButton');f?p=...
    => it only executes the doSubmit.
    If I write <a href=f?p=.... ;javascript:doSubmit('MyButton');
    =>It only executes the f?p.
    Have you got an idea to combine both f?p and doSubmit ?
    Thanks
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Cyril,
    You can either submit a page, or you can go to another page by clicking on a link. In HTML DB those links start with f?p. Your after-submit computations, validations and processes are only executed if you actually submit a page. If you want to submit a page by clicking on a report link, you need to use some Java Script that submits the page and a branch to specify where to go next, e.g. return to the same page. The following thread contains more detailed information about how to do this, and how to keep track of which column link the user actually clicked on:
    Submit page before launching report link
    Regards,
    Marc

  • How to put both number and char in values?

    Hi ,
    Cud anyone tell me how can i put both number and char value in one colun. Such as i want to put ..(A121)..in REFNo column . so it includes both number and char .how can i do this?

    Hi,
    If you will ever want to treat the numeric part of refno as a NUMBER, then I suggest you store the values in two separate columns, refno_alpha and refo_num. For example, if "ORDER BY refno" should produce:
    A1
    A1.1
    A2
    A10
    A11
    A100
    A121
    B1then it will be easier to have two columns.
    When necessary, you can always combine the two columns (using "refno_alpha || refno_num"). You can create a function-based index and/or a view with that expression if it helps you.
    Also, as William said, validation is easier if the numbers are separate.

  • How to keyword both NEF and JPG files?

    I use a Nikon D300 and shoot NEF+JPG. I ingest the files to my hard drive using Downloader Pro and then import them into Lightroom. Lightroom apparently "stacks" the NEF and JPG files together, and the thumbnail is shown as filename.NEF+JPG. When I keyword the files, the keywords are applied only to the XMP sidecar to the NEF file, and not to the JPG files.
    While I guess this "NEF+JPG" is called a stack, this appears to be some kind of special stack, as I cannot unstack the images and keyword them separately. Selecting "Stacking->Expand all stacks" does nothing. "Stacking->Unstack" is disabled.
    How can I get the keywords applied to the JPG files as well as to the NEF/XMP files?
    Thanks.
    Guy

    OK, I found that option and will try it.
    What's the best way of recovering the directories I have already imported with NEF+JPG files? I presume I could delete those directories from the LR database and import them again. (I have enabled the option always to write to XMP.)
    That would, I hope, give me both NEF and JPG files showing up in LR. Is there an easy way to copy the keywording from each NEF to the corresponding JPG file?
    Thanks.
    Guy

  • How to combine a JFormattedTextField and a button in a cell editor

    Outside of a table we have a JFormattedTextField into which the user types an amount. Next to the field is a calculator button. If the user clicks the calculator button, we open a calculator, enable the user to type his calculations, and when he presses OK, we copy the result to the field.
    Now we want the field to be a cell editor and to display the button next to the field (in the table cell). How can we do this? Do I have to make the button a separate column, or can I combine the field and button in 1 column?
    Thanks,
    Eli

    Hi,
    Try like this:
    DATA: BEGIN OF line,
          col1 TYPE i,
          col2 TYPE i,
          END OF line.
    DATA itab LIKE STANDARD TABLE OF line.
    data ch(1) type c.
    PERFORM fill CHANGING itab.
    PERFORM out USING itab.
    FORM fill CHANGING f_itab LIKE itab.
      DATA f_fill LIKE LINE OF f_itab.
      DO 3 TIMES.
        f_fill-col1 = sy-index.
        f_fill-col2 = sy-index ** 2.
        APPEND f_fill TO f_itab.
      ENDDO.
    ENDFORM.                    "FILL
    FORM out USING value(f_itab) LIKE itab.
      DATA f_fill LIKE LINE OF f_itab.
    write ch as checkbox.
      LOOP AT f_itab INTO f_fill.
        WRITE:/ f_fill-col1, f_fill-col2.
      ENDLOOP.
    Regards,
    Bhaskar
    ENDFORM.                    "OUT

  • How to use SET BIT and GET BIT in ABAP Programming

    Hi,
    Our team is currently working for an Upgrade  project which is using a tool automatically upgrades when we supplly the code. fine, But now the requirement is , we need to write different test cases for the available key words in ABAP. Now we r looking for the usage of  " BIT ", keyword. so , kindly provide any program or code using this key word.
    Please find the description Provided and give some relative ABAP code to satisfy the given description.
    The data object byte_string must be byte-type. The statement reads the bit at the bit position BITPOS of the variable byte_string and assigns its value to the variable val. A default mode can be specified if required *
    Thanks & Regards,
    P.N.Kumar.

    What on earth are you testing? That ABAP still works? I think SAP might have run that through rigourous testing themselves.
    If you want sample code, why not read the ABAP help, and work some out for yourself?
    matt

  • How to combine discrete audio and video files?

    I am working on a project which requires me to merge a video file with a PCM audio file from another source.
    I just bought Compressor 4.1.1, expecting to be able to do exactly this.
    The only "multiple input - single output" option I can see is creating a surround sound group, adding my audio as left and right channels, and then attaching the video.
    This does not work. Pressing "add" at the end of the process does not result in a new job.
    Help please!
    G.

    QT7 Pro is able to do this. Cost is $30.
    In QT7 Pro, open up the audio and video files to be matched.
    Select all the audio and then select copy
    In the video window, put the playback head where you want the audio to start then select add to movie.
    Verify the playback is as desired, then save the movie. Done.
    Takes longer to describe the process than to do it.
    x
    Of course, life is good when the in point is exactly the same for both audio and video ...

Maybe you are looking for

  • [KERNEL-2.6.33] Aufs2 rebuild fails

    With kernel 2.6.33 we have the marble bug on our live-cds again. So I downloaded the latest git and patched my custom kernel with the aufs2-patches as usual until I ran into troubles with aufs2: phil@[chroot]:~/kdemod/chakra/aufs2$ ../makepkg ==> Mak

  • Search Indices in 2D Array in a Range

    Hello. I have two 2D Arrays (9x9) and I would like to find indices of an element that lies in a specific range. For example, ±15% of the value I look for. I have found and implemented Search 2D Array.vi, it works well but it is possible to set only o

  • Forms Builder 6i and 9i

    Currently, we have many existing applications that were written using Forms Builder 6i as client/server apps. I need to install Developer9i (Forms) so that I can do a proof of concept that we can do new application development using 9i while being ab

  • Wrong CD and track identification (11.1.3, OS X 10.7.5)

    This is kinda funny, but rather disturbing. I recorded a live audio performance on a Tascam CD-RW901SL CD recorder. Normally those CDs display in iTunes as "Audio CD" with files named "1 Audio Track", "2 Audio Track", etc., which is reasonable. Windo

  • Check boxes -Update many Items

    I have a list of Construction Specs and want to have one form with check box that when = Yes or 1 = dontshow item The form has a check box with each item The action update form does not update the database I get an error: