How should we we validate the pn structure in hr abap reports?

Hi Experts,
   i am done some coding by using LDB PNP , in that program i got selection screen for PN and PERNR tables.
but when i am validating the program by using pernr structure it will pic up the data given by the pernr and personel area.
when i am given dates in pn structure it will will not trigger . i am not getting how should i go through pn structure .
Please give some help on that.
Thanks in advance.
Venkat.

Hi Experts,
   i am done some coding by using LDB PNP , in that program i got selection screen for PN and PERNR tables.
but when i am validating the program by using pernr structure it will pic up the data given by the pernr and personel area.
when i am given dates in pn structure it will will not trigger . i am not getting how should i go through pn structure .
Please give some help on that.
Thanks in advance.
Venkat.

Similar Messages

  • How should I find out the number of messages on queue?

    I am using iMQ 3.0. Point-to-point messaging.
    I have sent some messages to the queue. How should I
    find out the number of messages on queue ?

    You can use MQ's admin tools (imqcmd or imqadmin)
    to find that out.
    'imqcmd query dst -n queuename -t q' will print out what
    you want.
    Check the administration guide for more info.

  • ECM- how to assign amount to the budget structure ?

    Hi,
    I'm new to Enterprise Compensation Management (ECM Module).
    I need to know how we create a budget structure for org units? How we assign amount to the budget structure.
    I found one program 'RHECM_BUDGET_GENERATE' which generates the budget structure, but it doesn't assign the amount. So how to assign the budget amount. Which transaction we use for the same ? or Is there any FM which assigns the amount to the budget structure? I am trying to enhance the program 'RHECM_BUDGET_GENERATE'  so that it assigns the budget amount also.
    Thanks in advance,
    Shrinivas

    I'm fuming! Same problem as I like to manually assign location data, esp as I just imported lots of old photos which I recently found on an old drive. They are now on new Photos app, but iPhoto, otherwise I would use the latter to assign geo data as before. It seems very complicated but maybe I could delete from iPhoto, somehow import in to iPhotos, then import from iPhoto to Photos. Would that work?
    Lots of my photos have ALSO lost their geo data and their face data due to the fact that somehow my new "Photos" library suddenly decided to put 4000 odd duplicates in the new library imported from iPhoto. I then ran a duplicate-finding application in the new photos library, managed to remove most of the duplicates, however most of the photos that then remained had lost their face data which took ages to put on in the first place!!! (Perhaps the ones I deleted had the location nd face data I wanted and the software kept the duplicate version. I don't know...)
    Plus I am having a nightmare with the new automatic uploading photos to icloud application that runs in the background if enabled.. It says its still uploading  but doesn't appear to have got past a thousand in last few days and just 'stuck' on this amount, despite saying it is uploading automatically. My iOS devices only show a fragment of what is on my mac.
    O well!

  • How to keep track of the changes done in ALV GRID Report

    Hi Experts,
    how to keep track of the changed record in ALV GRID Report. how to set the field to be editable even for the entire row also. Can anybody guide along with code also?...
    Valuable answers will be rewarded.
    Thanks,
    Satish.

    Hi,
    Access the table through SM30. It comes blank as standard. Click "New Entries" and make entries for changes to be tracked. For example, whenever an org. unit changes 002 and 003 relationship, you will make entries like:
    01 O 1001 B002 Activate box checked
    01 O 1001 B003 Activate box checked
    Here, 01 is your active plan version, O is org. unit, 1001 is infotype and B002 and B003 are the subtypes. You can also use * for infotype and subtype which means every change will be logged.
    If you then run the report RHCDOC_DISPLAY through SA38, it will pick up all the changes pertaining to B002 and B003 relationship for org. units (in the above example).
    Similarly, you can set up this table for other object types.
    For more information, follow SPRO>Personnel Management>OM>Basic Settings>Activate change documents and go through the documentation for that node. Also, read up the documentation for the report.
    Hope this helps.
    Donnie

  • How to read data from the Deep structure.

    Hi
    How to get from the deep structure. Means i have one table in that having onother structure. i need to read data from that inner structure.
    Regards
    Reddy

    Hi,
    you can access in the way u use for the normal structure, u should only consider a deep structure is a table without headerline.
    TABLES: BKPF, BSEG.
    TYPES: TY_ITEM TYPE TABLE OF BSEG.
    DATA:   BEGIN OF W_DOCUMENT,
                    HEADER TYPE BKPF,
                    ITEM       TYPE BSEG,
                 END    OF W_DOCUMENT.
    DATA: T_DOCUMENTS LIKE STANDARD TABLE OF W_DOCUMENT.
    Insert the data:
    SELECT * FROM BKPF WHERE ....
       W_DOCUMENT-HEADER = BKPF.
       SELECT * FROM BSEG INTO TABLE W_DOCUMENT-ITEM
                                       WHERE BUKRS = BKPF-BUKRS
                                            AND BELNR  = BKPF-BELNR
                                            AND GJAHR  = BKPF-GJAHR.
       APPEND W_DOCUMENT TO T_DOCUMENTS.
    ENDSELECT.
    Read the data:
    LOOP AT T_DOCUMENTS INTO W_DOCMENT.
    Header data
        WRITE: / W_DOCUMENT-HEADER-BUKRS,
                      W_DOCUMENT-HEADER-BELNR,
                      W_DOCUMENT-HEADER-GJAHR.
    Item data
        LOOP AT W_DOCUMENT-ITEM INTO BSEG.
             WRITE: / BSEG-BUZEI,
                           BSEG-WRBTR CURRENCY W_DOCUMENT-HEADER-WAERS.
        ENDLOOP.
    ENDLOOP.
    Regards,
    Padmam.

  • How should devs interact with the db?

    Good day. For some time my organization has worked as most small shops do: web and software developers log into the database and create their own views, procs, etc. However we have grown to a much larger staff and have begun the process of transitioning into a more "professional" shop.
    In your experience, how should web/software developers (and their products) interact with the production database? In other words, should they send their views to the DBA who will create said views? Or should they not be connecting to views at all? Should they have their own schema on the production database (and this will be the one which holds their views)?
    If you say that the developers should have absolutely no access to the production db at all, then how should their products interact with the database?
    I appreciate any links, advice, etc.
    Thank you.
    EDIT: the developers products are about 75% read-only search/reporting apps and 25% data entry.
    Edited by: 893968 on Oct 12, 2012 8:39 AM

    893968 wrote:
    Good day. For some time my organization has worked as most small shops do: web and software developers log into the database and create their own views, procs, etc. However we have grown to a much larger staff and have begun the process of transitioning into a more "professional" shop.
    In your experience, how should web/software developers (and their products) interact with the production database? In other words, should they send their views to the DBA who will create said views? Or should they not be connecting to views at all? Should they have their own schema on the production database (and this will be the one which holds their views)?
    If you say that the developers should have absolutely no access to the production db at all, then how should their products interact with the database?
    I appreciate any links, advice, etc.
    Thank you.
    EDIT: the developers products are about 75% read-only search/reporting apps and 25% data entry.
    Edited by: 893968 on Oct 12, 2012 8:39 AMThink about this. The earlier in the process that the DBA becomes a reviewer/gatekeeper, the earlier in the process you can eliminate bad design decisions. Bad design decisions can be any of the following and more:
    wrong data types
    badly normalized tables
    use of reserved or key words for object/table/column names
    reinventing wheel (especially common when needing a sequence number)
    object names that make no sense and fit no pattern.
    I'm sure others will chime in with more.
    The point being, if you allow developers the 'create' privilege at any level, they will create things that will become a headache for you further down the road. Let them write queries and procedures ... that's their job. But not tables, indexes, sequences, etc.
    And don't fall for "it's just dev, we can clean it up when we move to QA". No, they won't. At the time it moves to QA it will be "we've got too much invested in this, we can't afford to make those changes now." And regardless of what was agreed to six months earlier, management will side with the developers because they really can't afford to pay for the re-work that would have been avoided in the first place with proper division of responsibility.
    It will be a painful process to bring about. Someone will have to stand firm. And there will always be low-level complaints, but it still comes back to 'if you don't have time to do it right the first time, when will you find time to fix it later?" It's part of the DBA's job to make sure it gets done right the first time, and he will need management support to maintain it.

  • How to create Formulas in the hierarchy structure

    Hi,
    Is it possible to create formula with in the hierarchy structure, so that the both hierarchy drill down and the created formulas can be displayed at the query output. Please give the valued suggestions.
    Thanks
    VEERU.

    Hello
    You have in this case to create a structure and select the node concerned in your hierarchy.
    Then create a new formula based on your previous selection for example.
    Rgds

  • Pushbutton on the application bar on an abap report

    Hello All,
    I need to have a pushbutton (labelled Download) on the application bar on the abap report screen .
    This button should enable me to download the report contents in a file format (like excel).
    Please can you guys help me acheive this.How should the button with this functionality be placed in application bar?
    Thanks in advance for the kind help
    Swati

    Hi Swathi,
    In such case, as said above, create a new GUi status and then assign to the report using the below statement:
    AT PFnn.
    Effect
    This obsolete statement defines an event block whose event is triggered by the ABAP runtime environment during list display - provided the screen cursor is on a list line and a function is selected using the function code PFnn. Here nn stands for a number between 01 and 24. In the standard list status, these function codes are assigned to the function keys of the input device.
    Then what processing needs to be done when the user presses the button, will be written in the below control statement..
    AT USER-COMMAND
    Effect
    This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen.
    Note
    Self-defined function codes are all those that include character combinations, except for the following:
    The function codes "PICK" and "PFnn" ("nn"stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PFnn.
    All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1.
    The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor.
    Table 1
    Function code Function
    %CTX Call a context menu
    %EX Exit
    %PC Save to file
    %PRI Print
    %SC Search for ...
    %SC+ Find next
    %SL Search in office
    %ST Save to report tree
    Table 2
    Function code Function
    BACK Back
    P- Scroll to previous page
    P-- Scroll to first page
    P+ Scroll to next page
    P++ Scroll to last page
    PFILE name Store list lines in a text file named "abap.lst" in standard character representation in the standard directory of the application server. If a name is entered using name, this is converted to lowercase letters and used as the file name.
    PL- Scroll to first line of the page
    PL-n Scroll n lines back
    PL+ Scroll to last line of the page
    PL+n Scroll n lines up
    PNOP No effect
    PP- Scroll back one page
    PP-n Scroll n pages back
    PP+ Scroll one page forward
    PP+n Scroll n pages forwad
    PPn Scroll to beginning of page n
    PRI, PRINT Print
    PS-- Scroll to first column
    PS++ Scroll to last column
    PS- Scroll one column to the left
    PS-n Scroll n columns to the left
    PS+ Scroll one column to the right
    PS+n Scroll n columns to the right
    PSn Scroll to column n
    PZn Scroll to line n
    RW Cancel
    Example
    This program works with a self-defined GUI status MYLIST. The function that is linked there with the function code MY_SELECTION causes the event AT USER-COMMAND during list display and also creates details lists.
    REPORT demo_at_user_command.
    START-OF-SELECTION.
      SET PF-STATUS 'MYLIST'.
      WRITE 'List line'.
    AT USER-COMMAND.
      IF sy-lsind = 20.
        SET PF-STATUS 'MYLIST' EXCLUDING 'MY_SELECTION'.
      ENDIF.
      CASE sy-ucomm.
        WHEN 'MY_SELECTION'.
          WRITE: / 'You worked on list', sy-listi,
                 / 'You are on list', sy-lsind.
      ENDCASE.
    Regards
    Shiva

  • How should IT Departments approach the App Store?

    This question is in the capacity as an IT Administrator for a small/mid size company.  We have 4 Macs, 8 iPads, and 3 iPhones.  I have 1 Mac and 1 iPad at work that I use.  2 years ago we considered the options with how to support Apple ID accounts, iTunes, App Store, and the payment method(s) which need to be on-file. 
    Given our experience with accidental app and in-app purchases (according to the employees), the accounting department and the president decided after a conference call with Apple Support using Apple Care that rather than use corporate credit cards on file with corporate apple IDs, we would switch to a model that de-coupled the purchasing approval with installation approval.  The old method required us to review the monthly corporate card accounts, then chase down the people to make sure proper purchasing approval had been sought prior to app or in-app purchase.  There was no incentive for the employees seek prior approval even though one would expect professional adults to do so.  Currently the company notes that it would take on average 8 weeks for an employee to reimburse the company for a recreational purchase. 
    The replacement system currently in use now is for all Apple IDs to be personal accounts with personal credit cards.  Then employees are responsible for submitting an expense report and risk having the expense report request denied.  The thinking was that this would curtail the accidental app or in-app purchases as the employee would risk not being reimbursed for an unapproved purchase.  This system worked and accidental reimbursed purchases went down to zero for employees for whom this was a problem with corporate credit cards. 
    This is the model we use for iPads and iPhones.  Up until now, all Mac software purchases were shink-wrap purchased online from Apple or via an Apple VAR.  The push for the Mac to use the App Store changes this.
    MY QUESTION IS: if I buy the Mac OS X 10.7 Lion or 10.8 Mountain Lion with my personal Apple ID, can I install it on the other company Macs?  Will those users need to know my Apple ID password?  Or does the OS install without needing the Apple ID password?  What if a user needs me to install his or her OS on a company issued Mac, where he or she bought the OS under his or her Apple ID, can I install that OS without knowing his or her credentials?  Also can I install my copy of the OS on that company Mac and would future OS updates run without having to give that end user my own Apple ID Password?  Can I install the OS using my Apple ID then hand it off to him or her and let he or she run updates with his or her Apple ID?  Does it work that way?  We would rather not share passwords as each of our accounts has a personal credit card on file. 
    We would consider corporate Apple ID accounts if the following requirements can be implemented.  All app or in-app purchases should fire off an event which goes first to the employee’s direct manager then next to the company’s controller for approval.  If approved, then the app store or iTunes store should allow the end user to install the purchased item.  All company purchases should be kept under NET30 terms, then invoiced at the end of the month and paid all at once.  These are the requirements from our accounting department.  This is how all of our other vendors (IBM, Microsoft, Oracle, etc.) are paid. 
    The App Store seems to exist in some new virtual reality which our accounting department and legal/policy.compliance departments cannot comprehend.  I know IT Departments often get blamed for this, however, in our case that would just be shooting-the-messenger.   I am just trying to understand how all of this should work.  It would seem to me that this new consumer-cloud-model exists the way we have Apple IDs currently set up. The end-user interfaces with the App Store, then works directly with accounting to pay for the services.  It doesn't seem like IT needs to be involved anymore.  This is currently how we are attempting to approach this consumer cloud App Store model.  The upside is it let's IT focus on projects which directly require our unique expertise rather than play App-Store-middlemen with no value-add. 
    You thoughts?

    See also "Apple Support Communities > Mac App Store > Using Mac App Store > Discussions > purchase order" https://discussions.apple.com/message/15455935#15455935
    However, that cited solution won't work for us as the same Apple ID password would all for both purchases and installations.  We need to de-couple those 2 roles according to guidelines from our corporate office.  The decision making (purchasing) and adminstrative/administraton/installation roles need to be separate and discrete.  It is also similar to an enterprise model when developers write code in DEV environment,move it to a QA environment for testing, then a separate IT administrator (or Install Team) needs to copy the new code into the PROD environment. 

  • How to re-organize/reset the Info Structure S071?

    Hello Everyone,
    This is an extension to my previous thread [[No condition update from the sales orders exist - VK322 Message;] 
    How to re-organize the S071 info structure as I tried to re-organize it with Standard Program ' RV15F001' but it is not re-organizing this info structure... Any idea on this?
    Regards,
    Hrishi
    Edited by: Hrishikesh Bhalwankar on Oct 11, 2011 2:35 AM

    Hi Shiva,
    I will check and get back to you on this.
    Can you elaborate more on " To me it looks the issue is due to incorrect routine coding assigned in the value scale." please?
    Regards,
    Hrishi

  • How should I find out the stuff that keeps freezing the display?

    Hi,
    I am using gnome-shell from testing repo on a laptop computer. The system(I do not know which part) has frozen several times in a same way. The whole display just suddenly stops reacting while I am scrolling down the web page in Chrome, opening a wine program, or something else. I have not figured out any pattern of its occurrence, so it's not repeatable for now. It seems that it's related to some modules or libraries used by Google Chrome browser or Wine because it mostly happens when I am interacting with Chrome browser.
    It seems that only the display is frozen. I could not enter the tty with Ctrl + Alt + <F1...F8>, but I could move the cursor with my TrackPoint mouse. The NumLk/CapsLk LED also reacts normally. Even the network is working - when turning off and on the hardware switch of wireless, WiFi LED shows like the system is trying to reconnect the WiFi automatically.
    If there's anything related Chrome, I guess one of the possible reasons is that when installing google-chrome-dev from AUR, I replaced libpci with libpciaccess in the depends array so that it won't cause a file exists conflict when installing.
    Another possible reason is xinput, which I use for TrackPoint scrolling.
    Now I am very curious in finding out what exactly it is that keeps freezing the display, but I'm not sure where to start. Could anyone give me some suggestions?
    THANKS

    demian wrote:I'd start my DE from the terminal and when it freezes use alt+sysrq to regain control and see what happened. alt+sysrq+r,e,i should bring you back to the terminal.
    thanks, but my SysRq and PrtSc are on same button, and when I press Fn + Alt + [PrtSc, SysRq], the system just recognizes as Alt + PrtSc. This is weird....

  • HT201302 How do I import/backup the album structure from iPad to PC?

    I use my iPad to organise photos into albums. The photos are either taken on an ios device or my SLR. I know how to back up the photos as a group to my PC but I can't see a way to back them up in the same folders as I have them stored on my iPad.
    Any ideas? Is this possible?
    Thanks
    Chris

    See these Adobe documents for considerations regarding converting Starter Edition catalogs:
    http://helpx.adobe.com/photoshop-elements/release-note/photoshop-elements-10-release-notes .html
    http://helpx.adobe.com/photoshop-elements/kb/common-catalog-issues-upgrade-elements.html
    Ken

  • How to open and validate the tif images via java?

    Is it possible to open and validating the photoshop images via java. Kindly advise me.
    Thanks for looking into this.
    Maria Prabudass

    I have recently looked at athe code for Image Processor.
    To avoid bailing on errors it uses two techniques.
    1) It turns off all PS error reporting in addition to just turning off dialogs with:     app.displayDialogs = DialogModes.NO;  (it restores the original settings when exiting)
    2) It uses the Javascript construct  Try.....Catch around the basic body of the code so "any" error will not abort the script but just jump to the "Catch" code.
    Hope that is useful

  • How to use Structure in a ABAP Report

    Dear Sir,
    We are rqeuired to read the data from a Structure "RMCP3" . Please guide us  as how can we read the Data from Strcture using a SELECT statement and Where clause .
    It will be a great please .
    Regards
    B Mittal

    Hi
    Structures are Data Dictionary objects and they are not related to underlying database. So there is no data in a structure, They Have adta only During the Run time.
    Data: begin of itab occurs 0.
    Include structure  <Structure Name>
    Data: end of itab.
    Reward If Helpfull,
    Naresh.

  • Return values to the proxy structure  , incompatible Error in report   ?

    Hi Friends ,
                     Our scenario is ABAP proxy to File .  I have tested the sample scenario using the following  link.
    <i><b>ABAP Proxy to File</b></i>
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy          
                            It is working fine. It is sending  data with one structure like
    <b>
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_EmpProfileMsg_OB xmlns:ns0="urn:AbapProxyTest">
       <Empno>a101</Empno>
       <EmpName>ragha</EmpName>
       <DepartmentName>mis</DepartmentName>
    </ns0:MT_EmpProfileMsg_OB></b>
        but, our requirement is to send multiple values . like
    <ns0:MT_EmpProfileMsg_OB xmlns:ns0="urn:AbapProxyTest">
    <ROW>
       <Empno>a101</Empno>
       <EmpName>ragha</EmpName>
       <DepartmentName>mis</DepartmentName>
    </ROW>
    <ROW>
       <Empno>a102</Empno>
       <EmpName>VENDRA</EmpName>
       <DepartmentName>mis</DepartmentName>
    </ROW>
    </ns0:MT_EmpProfileMsg_OB></b>     
             While i was generating the proxy it is generating  it has generated th follwing
    <b>Class</b>     ZECCSPPCO_MI_ECC_SPP_OB     Proxy Class (Generated)
    <b>Structure</b>     ZECCSPPDT_ECC_TO_SPP_IB     Proxy Structure (Generated)
    <b>Structure</b>     ZECCSPPDT_ECC_TO_SPP_IB_ROW     Proxy Structure (Generated)
    <b>Structure</b>     ZECCSPPMT_ECC_TO_SPP_IB     Proxy Structure (Generated)
    <b>Table Type     </b>ZECCSPPDT_ECC_TO_SPP_IB_RO_TAB     Proxy Table Type (Generated)
    With reference to the blog 1387  ,we are using  this code as reference , but this is for one set of data , we need for multiple structutre what to do
    *& Report  ZBLOG_ABAP_PROXY
    REPORT  zblog_abap_proxy.
    DATA prxy TYPE REF TO zblogco_proxy_interface_ob.
    CREATE OBJECT prxy.
    <b>DATA it TYPE  zblogemp_profile_msg.
    TRY.
        it-emp_profile_msg-emp_name = 'Sravya'.
        it-emp_profile_msg-empno = '80101'.
        it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.
        CALL METHOD prxy->execute_asynchronous
          EXPORTING
            output = it.
         commit work</b>    .
      CATCH cx_ai_system_fault .
        DATA fault TYPE REF TO cx_ai_system_fault .
        CREATE OBJECT fault.
        WRITE :/ fault->errortext.
    ENDTRY.
    <b><i>My question is</i></b>
             1. While we are assigning the   values   for Multiple rows . It is showing as Type mis match  error .
                  <b>   Can you please explain as how to pass value to structure and reutrn the values to create file ?</b>
    Regards.,
    Shyam

    Hi Shyam,
    >>our requirement is to send multiple values ................
    for that u try thiscode and see..........
    DATA prxy TYPE REF TO ZECCSPPCO_MI_ECC_SPP_OB Proxy Class.
    CREATE OBJECT prxy.
    DATA:M_EMP TYPE ZECCSPPMT_ECC_TO_SPP_IB,
         I_EMP TYPE TABLE OF ZEMPDETAILS,  //create a table in SE11 in the name ZEMPDEATILS
         W_EMPD TYPE ZEMPDETAILS,
         W_EMP TYPE ZECCSPPDT_ECC_TO_SPP_IB_ROW,
         S_EMP TYPE ZECCSPPDT_ECC_TO_SPP_IB,
         T_EMP TYPE  ZECCSPPDT_ECC_TO_SPP_IB_RO_TAB.
    SELECT * FROM ZEMPDETAILS
           INTO CORRESPONDING FIELDS OF TABLE I_EMP.
    LOOP AT I_EMP INTO W_EMPD.
    W_EMP-emp_name = W_EMPD-enp_name.
    W_EMP-empno = W_EMPD-empno.
    W_EMP-DEPARTMENT_NAME  = w_EMPD-DEPARTMENT_NAME.
    APPEND W_EMP TO T_EMP.
    ENDLOOP.
    S_EMP-EMPLOYEE = T_EMP.
    M_EMP-MT_SRC_FILE2ABAP_CLIENT_PROXY = S_EMP.
    TRY.
      CALL METHOD prxy->execute_asynchronous
       EXPORTING
        output = M_EMP.
       commit work.
      CATCH cx_ai_system_fault .
        DATA fault TYPE REF TO cx_ai_system_fault .
        CREATE OBJECT fault.
        WRITE :/ fault->errortext.
    ENDTRY.
    Regards
    preetha

Maybe you are looking for