Get PA0002-INITS by using Partner (ZI Introducing Employee)

Hello everyone, need to write a routine as follows,
in oder to get the reimbursement for the person who related to this quotation. and the initials should be appears on the quotation sheet, using the ZI introducing employee I can fetch the personnel Nr, and then through HR table PA0002 to get the intials.
Document Nr      table    VBPA
                 field    VBELN 
      table   -
>field PARVW  (ZI)
Personnel Nr. -
>field  PERNR
HR             table    PA0002
               field    PERNR
               field    INITS
so far I am doing in this step, there might be some errors in this report.who can help me to finish this report?
Routine: GET_ZI_INITS USING VBELN (DOCNR) CHANGING INITS
DATA:
      vbeln LIKE vbak-vbeln,
      inits LIKE pa0002-inits,
read params
READ TABLE PARAMS WITH KEY 'VBELN'.
MOVE PARAMS-value TO VBELN.
VBELN (doc nr)
get pernr_zi (introducing employee number) from document header
SELECT-SINGLE PERNR FROM VBPA
      WHERE
           PARVW = ZI
IF SY-SUBRC NE 0.     " ZI exists?               
ENDIF.
get initials
SELECT-SINGLE INITS FROM PA0002
     WHERE
          PERNR EQ pernr_zi and     " introducing employee number
          ENDDA GE AUDAT    and     " document date
          BEGDA LE AUDAT.
IF SY-SUBRC NE 0.
     " what we can do if it is Not good,
          I am think of to get the first alphabet of the first name and last name from HR
ENDIF.
return params
INITS (initials)
thank you very much for ur help!

Hi Sean,
I do not see anything wrong with your approach.. Did you get any errors in the actual code? Pl take a look at the following piece to retriev info from PA0002.
data: w_inits type inits,
      w_nachn type nachn,
      w_vorna type vorna.
select nachn vorna inits into (w_nachn,w_vorna,w_inits)
                          up to 1 rows
                          from pa0002
                          where pernr = '00000124' "introducing employee number
                            and begda le sy-datum  "document date
                            and endda ge sy-datum.
endselect.
if sy-subrc ne 0.
* infotype 0002 record does not exist.. PERNR number may be wrong
else.
  if w_inits is initial.
    concatenate w_vorna(1) w_nachn(1) into w_inits.
  endif.
endif.
Regards,
Suresh Datti

Similar Messages

  • Initials (Field PA0002-INITS) of the Partner ZI (Introducing Employee)

    I need to write a routine, which need to get the Initials from the HR, by using pernr, and this should be apears on the Quotationsheet, behind the ZI Introducing Employee, so far I have written a Routine like following, since I am still a Amature, need kindly some help. thanks in Advance.
    FORM GET_ZI_INITS TABLES
    PARAMS STRUCTURE ITCSY.
    RESULT STRUCTURE ITCSY.
    DATA:
      VBELN LIKE VBDKR-VBELN,          
      INITS LIKE PA0002-INITS,
      AUDAT LIKE Document Nr. but from which Table?
    read parameters
      READ TABLE PARAMS WITH KEY 'VBELN'.     
      MOVE PARAMS-value TO VBELN.
    get personnel number of introducing employee (ZI)
      SELECT-SINGLE INITS FROM PA0002
        WHERE
          PERNR EQ pernr_zi and     " introducing employee number
          ENDDA GE AUDAT    and     " document date               BEGDA LE AUDAT.
      IF SY-SUBRC NE 0.
        " Not good                         <- what do we do if not good?
      ENDIF.
      IF SY-SUBRC = 0.
        VBELN = VBDKR-VBELN.               <- VBDKR-VBELN is not defined
      ENDIF.
    get initials of personnel.
      READ pernr_zi WITH KEY NAME = 'PA0002-INITS'. MOVE pernr_zi  TO INITS.
      ... <- please add this part
      READ TABLE RESULT WITH KEY 'ZI_INITS'.
      IF SY-SUBRC = 0.
        WRITE ZI_INITS TO RESULT-VALUE.
        MODIFY RESULT INDEX SY-TABIX.
      ENDIF.
    ENDFORM.                               "get_ZI_INITS

    Hi sean,
    1. I understood your requirement.
    2. This is the rectified code.
    REPORT abc.
    *&      Form  GET_ZI_INITS
          text
         -->PARAMS     text
         -->RESULT     text
    FORM get_zi_inits TABLES
    params STRUCTURE itcsy
    result STRUCTURE itcsy.
      DATA:
      vbeln LIKE vbdkr-vbeln,
      inits LIKE pa0002-inits,
      audat LIKE sy-datum.
    *------- Data for introducing pernr
      DATA :  pernr LIKE p0001-pernr.
    read parameters
      READ TABLE params WITH KEY 'VBELN'.
      MOVE params-value TO vbeln.
    Read PERNR
      READ TABLE params WITH KEY 'PERNR_ZI'.
      MOVE params-value TO pernr.
    get personnel number of introducing employee (ZI)
      SELECT SINGLE inits FROM pa0002
      INTO inits
      WHERE
      pernr EQ pernr AND " introducing employee number
      endda >= sy-datum AND begda <= sy-datum.
    Output Values
      READ TABLE result WITH KEY 'ZI_INITS'.
      IF sy-subrc = 0.
        WRITE inits TO result-value.
        MODIFY result INDEX sy-tabix.
      ENDIF.
    ENDFORM. "get_ZI_INITS
    regards,
    amit m.

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • Customer Num (Kunnr) using Partner Functions (PARVW) in MV45AFZZ

    Hi all,
    Is it possible to get the Customer Number(KUNNR) by using Partner Function (PARVW) in MV45AFZZ, how?
    My requirement is to get the NAME1 and NAME2, for this i need the customer number and by passing only the partner function.
    But in VBPA database table there is different customer numbers for same partner function.
    Thanks iin advance,
    regards,
    NarsiReddy.

    Hi,
    maybe you have different customer for each items.
    VBPA have two fields for the key : The Document number & the item number, because you could specify, for example, different delivery customer for each item.
    regards
    Fred

  • 10G ora.init and using the orarun RPM

    First I have 1 question and 1 comment:
    Question: I did a new Install of Oracle 10g on SUSE SLES9, all went well. My question is where and what ORA.INIT file does it use when it starts the DATABASE?
    The reason I am asking this is I am trying to setup ARCHIVELOG for STREAMS to move data from one database to another. I have successfully changed the DATABASE itself to be ARCHIVELOG MODE, now I need to do the below:
    The reason I ask this, is I modified the ORA.INIT file in my install directory /opt/oracle/product/10g/dbs/ora.init, but it doesn't seem to look at this file on startup. The reason I say this, is I changed to ARCHIVELOG, changed the archive_log_dest=/opt/oracle/product/10g:[oracle.archive] and archive_log_start=true and when I check the parameter files it doesn't show the change.
    So finally my question, is what init file or files, does ORACLE 10g use on startup? I'm lost????
    Next, this is just a comment or helpful HINT:
    Before I did the Install, I downloaded the latest orarun RPM file from NOVELL/SUSE. After the complete install, I noticed that when I did a REBOOT, my DATABASE and LISTNER did not start. I would get the error Insufficent Permissions: After looking and searching everywhere I found no real answer as to why. I then looked at the DBSTART and DBSHUT file and I made changes to the following areas within the files and all is working. Here is what I changed if anybody else is having the same issue:
    On each of the lines where is has the CONNECT statement, I modified that line to read:
    CONNECT SYS/(YOURPASSWORD) AS SYSDBA
    After making these changes and a clean REBOOT all is working well.

    By default, starting with 9i, Oracle doesn't use init.ora, but a file called spfile<SID>.ora, normally located in $ORACLE_HOME/dbs. This file is generated at database creation time, a corresponding init.ora can be generated by 'create pfile from spfile;' . It is possible to make changes in this init.ora , use 'create spfile from pfile;' to forward these changes to spfile<SID>.ora .

  • HT201248 My email address associated with my Apple ID on my iPad has been turned off from the ISp (U.S. army).   I have a new gmail account with a new Apple ID. How do I get my iPad to use my gmail account?

    Help. My old @us.army.mil email address was terminated by the army. I used that address to register my first apple id account on my iPad. I can't remember my original Apple ID number and if I ask to reset my password, Apple sends the reset link to my old non-working email address. I have a new gmail address and a new Apple ID number associated with that address. How do I get my iPad to use my new gmail address and new apple ID number?  Remember, I can't log out of my old account because I can't remember the password. Amd Apple will only reset the password by sending a link to my old, non functioning army email account. ( I hate army webmail for canceling all retired military email accounts). John Marc
    <Personal Information Edited By Host>

    Hi John,
    You can change the email address associated with an Apple ID using the steps in this article -
    Change your Apple ID - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • HT5624 Why in my email ( the one on my ipod5 that I use with my apple ID) when I get emails about my use of my apple ID to use a service in the from field it has my fathers name and when I click on it it shows his contact info ????

    Why in my email ( the one on my ipod5 that I use with my apple ID) when I get emails about my use of my apple ID to use a service in the from field it has my fathers name and when I click on it it shows his contact info ???? I also set up my apple ID with a new email account and also I signed up for iCloud but used the same apple I'd email and password but it gave me a I cloud email! I did activate the favorites in my email . Noticed the from field has my fathers name and contact and it is a notification about me using my apple ID to sign in to FaceTime! Something is messed up, not sure how or why???

    i didn't read a lot of your 2nd paragraph, but it seems like the password is the issue, right?
    do a true clean install
    reboot your machine and hold down command+option+r, you should see a spinning globe - if you don't see the globe or anything that reads internet recovery, shut down and try again
    at menu, chose disk utility and once there, find your HD on the left side, select the physical name and erase it as mac journaled
    exit disk utlity
    at menu, choose install OSX
    this time, when it asks for a password just hit continue, it will let you complete without a password
    you should be able to get into your laptop, now figure out what password you'll be able to use with your kb issue

  • To save time, could I get away with just using ProRes Proxy?

    Might be a dumb question.  But please play along with me...
    I've been battling with FCP-X since it first came out.  Beach balls, crashes, failed auto saves, you name it.  Sluggishness is my middle name.  But I think it might be because I'm trying to force too much quality through my older, less powerful machines and my little firewire 400 hard drive.  All three of my Mac are 3-4 years old, all are from the old "Core 2 Duo" era (not quad core processors), and are all maxed out at 4GB of RAM.  While I've read that many people are having performance problems with FCP-X even on brand spankin' new suped-up Mac Pros with lots more horsepower than I'm running, I've long thought that my machines and their lack of power by today's standards may be at the heart of my sluggishness problem, especially given that most of the material I work with is shot in 1080 HD.  (I've never actually tested it in FCP-X, but I'm assuming that things would speed along more like I've been used to in the past if I would just do everything in Standard Definition 480, but that ain't gonna happen.)
    Like many, I shoot most everything in 1080 HD (usually 24p, sometimes 30), unless I'm occasionally shooting 720 HD at 60i for later slowing down to slo-mo.
    Here's my question:  Most everything I edit is for web delivery, and 99 percent of it is for my own use (not clients).  Mostly podcast-like stuff, although occasionally I'll create something for my business website.  Most of what I do is talking head type stuff, not a lot of motion (except for the 720/60i slo-mo stuff, which usually has some motion, which is why I shoot it at 60i for slowing down).  Most of what I shoot is green screen talking heads, intended to be keyed in front of some innocuous background like some of the generators in FCP-X.  I want it to look good.  Even great.  But given the limitations of power on my machines, I also don't want to invest an eternity in rendering and processing time.  The work I'm doing with video just isn't that important.  It's mostly for grins.
    Until last night, I had been working exclusively in ProRes422 (aka "Optimized").  But last night I shot some footage and imported it into FCP-X, encoding it ONLY in ProRes Proxy.  And frankly, I couldn't discern any difference.  It looked every bit as good as the 422 stuff I'd shot before.  There was absolutely no difference to my naked eye.  That said, the footage I shot last night to test this out was not shot in front of the green screen (I'll test that out today or tonight), so maybe the Proxy footage won't key as well.  (I've been stunned at how good the keyer is in FCP-X, but up to this point I've only been keying ProRes422 footage, not Proxy.)  But really, based on just eyeballing the footage, I couldn't tell the difference between the Proxy footage and all the other footage I'd shot previously that had been imported and converted to "Optimized" ProRes422.
    I'm not looking to deliver anything for broadcast television (if I were, I'd for sure use 422).  I'm not doing any feature film type stuff.  My video work consists mainly of stuff just for me, for my own personal amusement (and for the amusement of anyone who might watch it on the web).  It's intended for YouTube, Vimeo, or occasionally (in smaller dimensions than 1920x1080) for deployment on my company website.  Mostly, it's just me doing podcast-type stuff.  Occasionally I'll shoot and edit something for church, or for friends.  I like to think the production values of my stuff tend to be higher than, say, the footage Aunt Delores shot at Uncle Ralph's birthday party (okay, A LOT higher than that!).  But my stuff isn't going to air on "Good Morning Flatbush" either (unless, on the off chance it should happen to go viral).
    So let me make my question as clear as possible:  Could I not get away with just using ProRes Proxy throughout my entire work flow, end to end, never switching over to ProRes 422 even when exporting?  Honestly, it has taken hours just to render the keyed green screen footage on a 15 minute video, and just the other night, it took the better part of 4 hours (after it was already rendered) to export a 15 minute ProRes422 sequence to YouTube (and then the darn thing timed out, essentially wasting all my time).  I'd rather just stay in Proxy the whole way through if doing so would streamline my workflow without compromising too much quality in the "look" of the video.  Based on my very limited use of Proxy (just testing it out last night for the first time), I couldn't tell the difference.  Maybe for web deployment, Proxy is all I really need.
    Have any of you just stayed in Proxy the whole way through, never switching to 422 even when exporting?  Might this be an acceptable work flow for some of us, especially those of us on older, less powerful machines?  Is this a viable solution?  Do any of you work this way?  What's your level of satisfaction?
    Thoughts?

    A lot of what I'm shooting is being shot on a Canon XA-10.  Some (and certainly all of the 720 footage, but some of the 1080) is shot on a 7D.  And still more is shot on either an iPhone 4S, or even on a Flip Ultra (720p, 30fps).
    Most is shot on the XA-10.
    What I'm trying to avoid is the excessive render times (doesn't the ProRes 422 footage have to render as well?), and the ridiculously long times it takes to export.  Would all that not be reduced significantly by sticking to Proxy the whole way?  And what would the trade-off be?  I mean, I honestly can't see any discernible difference.  Maybe I will when I try to pull a decent key.  (Haven't gotten that far yet in my Proxy experimentation.)
    Of course, editing in Proxy and outputting using 422 requires that FCP-X encode to BOTH when importing, right?  Doesn't that add yet another bit of time to the overall process?
    I'm trying to streamline, and to reduce the overall amount of time I'm spending doing this stuff.

  • Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group.

    Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group. Through this memberof class I am trying to find full qualified name(DN) of my group.
    code I have used:
    //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "";
    Also I have used,
                 String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "ou=ibmgroups,o=ibm.com";
    But in both cases I am getting value for Total groups as 0.
    Code Reference:
    * memberof.java
    * December 2004
    * Sample JNDI application to determine what groups a user belongs to
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    public class memberof     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls          
                   SearchControls searchCtls = new SearchControls();
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Andrew Anderson))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the group members
                   int totalResults = 0;
                   //Specify the attributes to return
                   String returnedAtts[]={"memberOf"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        System.out.println(">>>" + sr.getName());
                        //Print out the groups
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();totalResults++) {
                                            System.out.println(" " +  totalResults + ". " +  e.next());
                             catch (NamingException e)     {
                                  System.err.println("Problem listing membership: " + e);
                   System.out.println("Total groups: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
    Any help will be highly appreciated.

    Not able to get group name by using memberof class, getting Total groups as 0 even I am member of that group. Through this memberof class I am trying to find full qualified name(DN) of my group.
    code I have used:
    //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "";
    Also I have used,
                 String searchFilter = "(&(objectClass=user)(CN=Username))";
                   //Specify the Base for the search
                   String searchBase = "ou=ibmgroups,o=ibm.com";
    But in both cases I am getting value for Total groups as 0.
    Code Reference:
    * memberof.java
    * December 2004
    * Sample JNDI application to determine what groups a user belongs to
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    public class memberof     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls          
                   SearchControls searchCtls = new SearchControls();
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(CN=Andrew Anderson))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the group members
                   int totalResults = 0;
                   //Specify the attributes to return
                   String returnedAtts[]={"memberOf"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        System.out.println(">>>" + sr.getName());
                        //Print out the groups
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();totalResults++) {
                                            System.out.println(" " +  totalResults + ". " +  e.next());
                             catch (NamingException e)     {
                                  System.err.println("Problem listing membership: " + e);
                   System.out.println("Total groups: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
    Any help will be highly appreciated.

  • How to get spool number when using SUBMIT job

    Hi All,
    I am calling standard program using SUBMIT through JOB as below. Now I need spool number for this job to covert the output to PDF and send to mail. See the below code and guide me.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      data: Zscreen type table of RSPARAMS with header line.
       Zscreen-selname = 'PM_AENNR'.
       Zscreen-kind = 'P'.
       ZSCREEN-LOW = '500000000125'.
       APPEND ZSCREEN.
    SUBMIT RCC00130 WITH selection-table Zscreen TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                       WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5

    Hi,
    Do this way, first get print parameters by using function module 'GET_PRINT_PARAMETERS'
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination    = 'LP01'
          list_name      = 'TEST'
          list_text      = 'SUBMIT ... TO SAP-SPOOL'
          immediately    = ' '
          line_size      = '1023'
          no_dialog      = 'X'
        IMPORTING
          out_parameters = wa_pri_params
          valid          = w_valid.
    If it returns success then
        IF w_valid EQ 'X'.
          CONCATENATE 'R'                                   
                       w_tabix                                
                       sy-datum+4(4)
                       sy-uzeit INTO
                       wa_pri_params-plist.
        ENDIF.
        SUBMIT rprccc00
               WITH firmennr = w_cid
               WITH bel_clus = 'X'
               WITH testlauf = ' '
               WITH not_lokl = 'X'
               WITH file_in  = w_arc_out
               TO SAP-SPOOL WITHOUT SPOOL DYNPRO
               SPOOL PARAMETERS wa_pri_params AND RETURN.
        COMMIT WORK AND WAIT.
    SELECT rqident
             FROM tsp01
             INTO w_rqident
             UP TO 1 ROWS
             WHERE rq2name = wa_pri_params-plist.
      ENDSELECT.
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          src_spoolid     = w_rqident
          no_dialog       = 'X'
          dst_device      = 'LP01'
          pdf_destination = 'X'
        TABLES
          pdf             = t_pdf.
    Hope it solves your problem
    Regards
    Krishna

  • I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    Yes

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • How can we get ADFSecurity work when used in OC4J, OID and OAM?

    I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
    But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
    I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
    system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
    But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
    - The app works fine when I use without OAM. ADF Security permissions work fine.
    - The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
    - When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
    In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
    LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
    We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
    How can we get ADFSecurity work when used with OID and OAM?

    Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
    We have application specific roles which we map to OID roles using orion-application.xml.
    Any pointers to achieve this would be greatly appreciated.
    thanks,
    Dipal

  • Than how can i get java class by using it's class file?

    Hi
    After compilation of a java program, it creates a class file.
    After getting class file suppose class file has been deleted.
    Than how can i get java class by using it's class file?
    Thanks in advance.

    get a decompiler and run your class file through it--I'll assume you want the source code back and that you are not trying to recover a missing class file by attempting to use the class file that is missing--if it's missing, then I've not a clue on how to get it back by using what is already missing.
    BTW: many of your compilers have source control--if it does, just restore your missing file.

  • Is there any way to get around having to use iDVD to burn DVD?

    Is there any way to get around having to use iDVD to export FCE to DVD?
    I've been trying to burn a FCE2 sequence to DVD. A friend of mine told me all I had to do was put a blank DVD in, click on the icon on the desk top, export the sequence to Quicktime and drag the QT sequennce into the DVD icon and click burn.
    Well something happened! But there's nothing on the DVD!! What am I doing wrong? I loathe iDVD. i don't want to author. I just want to burn the project on a DVD. Please advise. Thanks.
    Chuck
    iMAC 1.25 GHz PowerPC G4 Mac OS X (10.3.1)
    iMAC 1.25 GHz PowerPC G4   Mac OS X (10.3.1)  

    If you export a sequence at full resolution to can burn it onto a DVD as a data DVD, but this is for transportation purposes only. At full resolution the DVD, especially as it fills up, will not have sufficient throughput to sustain good playback of the material. That's why the material is encoded into MPEG-2 for DVD authoring. If you want to make a DVD for set-top playback it has to be authored to include the DVD format structure. There is no way around that. If you don't like iDVD, take a look at Final Cut Studio, you might prefer DVD Studio Pro. Or you might what to look at Roxio's Toast. It has basic authoring capabilities. Personally I don't think direct playback hardware solutions (except for seriously expensive ones) produce acceptable quality, but that's just me.

Maybe you are looking for

  • Are Virtual Copies saved in Backups? How do I insert a backup into an existing catalog?

    Are Virtual Copies saved in Backups? How do I insert a backup into an existing catalog I deleted a tif image file that I didn't intend to, which had several LR virtual copies created from it. The virtual copies had a lot of important history that doc

  • Burning Blu-Ray?

    I'm about to order a Blu-Ray internal burner for my Mac tower. I heard a rumour that Apple is not necessarily friendly to Blu-Ray. Maybe I've heard wrong. What app would you recommend for creating Blu-Ray disks? What is the official Blu-Ray codec, an

  • How to get node's JMX port?

    How to get assigned node's JMX agent port from admin node in weblogic 9.2.2 clustered env?

  • ROTATE VIEW TOOL QUESTION-CS-6

    First time I've tried using this tool (That's my excuse): I used the tool to rotate the image, as desired, but saw no "Commit" / confirm command, as with the Crop Tool. I wished to crop the image after applying Rotate View Tool, but when I select the

  • IPhoto Crash when I try creating a book

    I bought iLife '11 so I could create a book. But whenever I click on create -> book, the program crashes on me.