Print output not coming from ECC 5.0

Hi all,
Following are the settings done in my system
In SPAD -> Device attributes
Device Type              SWIN SWIN     : Windows printing via SAPlpd         
Spool Server             sapdev_DEV_00         SAPTRANS                       
                               135.147.150.178                                      
Device Class              Standard printer                                                                               
Model         hp LaserJet 1010                                                
Location      135.147.150.178                                                 
Message       Laser jet printer                                               
SPAD -> Access Method
Host Spool Access Method     U U: Print Using Berkeley Protocol                                                                               
Host printer                            DEFAULT                                                                               
Destination host                     135.147.150.178                                  
.when i shoot a printoutput SAPLD is launched and it says
(12:06:25 PM) Number of processors: 2
(12:06:25 PM) Icon DLL loaded.
(12:06:25 PM)
(12:06:25 PM) Network Communication via SAP-NiLib
(12:06:25 PM) Hostname : IT08
(12:06:25 PM) IP Address: 135.147.150.178
(12:06:25 PM)
(12:06:25 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
(12:06:25 PM) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 2
(12:06:25 PM) Copyright © 1992-2001 SAP AG
(12:06:25 PM)
(12:06:34 PM)
(12:06:34 PM) Receive job for printer __default (Berkeley LPD protocol / RFC1179)
(12:06:34 PM) send_status called
(12:06:34 PM) send_status called
(12:06:34 PM) send_status called
(12:06:34 PM) send_status called
(12:06:34 PM) send_status called
(12:06:34 PM) Job 000000969800002.DEV for user ABAP03 queued.
(12:06:34 PM) Job 000000969800002.DEV (raw) started on printer HP LASERJET 1010 SERIES DRIVER
(12:06:35 PM) Job 000000969800002.DEV (raw) with 1881 bytes finished
but the output is a blank page with just these words in O/P   :
Unsupported personality  : PCL
Eagerly waiting for the answers,
Sachin Soni

Hi,
change access method from berkely to F or G . if you are intrested in Frontend printing , you need not give the IP address of the printer. __default will select the default printer of the Workstation from which GUI is operated.
Thanks,
Tanuj

Similar Messages

  • Response not coming from bapi

    hi all,
                I am sending a request from XI to bapi and it is going but the response is not coming from the BAPI.Below is the structure of the response bapi which is required
    <i><?xml version="1.0" encoding="UTF-8" ?><ns0:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
       <EQUIPMENTID>
          <item>
             <EQUIPID/>
          </item>
       </EQUIPMENTID>
       <LOCATIONID>
          <item>
             <LOCID/>
          </item>
       </LOCATIONID>
       <OILID>
          <item>
             <OILID/>
          </item>
       </OILID>
       <OUTPUT>
          <item>
             <ZSAMPLEID>22</ZSAMPLEID>
             <ZSAMPLEDUEDATE>20061205</ZSAMPLEDUEDATE>
             <VCODE>55</VCODE>
             <KURZTEXT>ww</KURZTEXT>
             <ZEQUIPDES>dddd</ZEQUIPDES>
             <MAKTX>33</MAKTX>
             <ZPLANID>3</ZPLANID>
             <ZPLANIDESC>hhh</ZPLANIDESC>
          </item>
       </OUTPUT>
       <RETURN>
          <item>
             <TYPE/>
             <CODE/>
             <MESSAGE/>
             <LOG_NO/>
             <LOG_MSG_NO/>
             <MESSAGE_V1/>
             <MESSAGE_V2/>
             <MESSAGE_V3/>
             <MESSAGE_V4/>
          </item>
       </RETURN>
    </ns0:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response></i>
    Equip id,loc id and oil id are mapped in the request mapping and in response we need the output fields.But during runtime we get the below as the payload structure
    <i><?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <EQUIPMENTID>
    - <item>
      <EQUIPID />
      </item>
      </EQUIPMENTID>
    - <LOCATIONID>
    - <item>
      <LOCID>1</LOCID>
      </item>
    - <item>
      <LOCID>2</LOCID>
      </item>
    - <item>
      <LOCID>3</LOCID>
      </item>
    - <item>
      <LOCID>4</LOCID>
      </item>
    - <item>
      <LOCID>5</LOCID>
      </item>
    - <item>
      <LOCID>6</LOCID>
      </item>
    - <item>
      <LOCID>7</LOCID>
      </item>
    - <item>
      <LOCID>8</LOCID>
      </item>
    - <item>
      <LOCID>9</LOCID>
      </item>
    - <item>
      <LOCID>10</LOCID>
      </item>
      </LOCATIONID>
    - <OILID>
    - <item>
      <OILID>BP260</OILID>
      </item>
      </OILID>
      <OUTPUT />
    - <RETURN>
    - <item>
      <TYPE />
      <CODE />
      <MESSAGE />
      <LOG_NO />
      <LOG_MSG_NO>000000</LOG_MSG_NO>
      <MESSAGE_V1>Invalid Customer Number</MESSAGE_V1>
      <MESSAGE_V2 />
      <MESSAGE_V3 />
      <MESSAGE_V4 />
      </item>
      </RETURN>
      </rfc:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response></i>
    Can anyone plz help me out
    thanks and regards,
    Nisheeta

    hi shweta,
                      I was not giving a 10digit number as KUNNR so the error was coming but now the output is still not coming.the payload is showing as
    <i><?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <EQUIPMENTID>
    - <item>
      <EQUIPID />
      </item>
      </EQUIPMENTID>
    - <LOCATIONID>
    - <item>
      <LOCID>1</LOCID>
      </item>
    - <item>
      <LOCID>2</LOCID>
      </item>
    - <item>
      <LOCID>3</LOCID>
      </item>
    - <item>
      <LOCID>4</LOCID>
      </item>
    - <item>
      <LOCID>5</LOCID>
      </item>
    - <item>
      <LOCID>6</LOCID>
      </item>
    - <item>
      <LOCID>7</LOCID>
      </item>
    - <item>
      <LOCID>8</LOCID>
      </item>
    - <item>
      <LOCID>9</LOCID>
      </item>
    - <item>
      <LOCID>10</LOCID>
      </item>
      </LOCATIONID>
    - <OILID>
    - <item>
      <OILID>BP260</OILID>
      </item>
      </OILID>
      <OUTPUT />
      <RETURN />
      </rfc:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response></i>
    am i doin anythin wrong with the mapping??

  • GRPO print preview not coming it shows internel error

    Dear Experts!.
                        While i am viewing my end user system in the GRPO template print preview not coming, eventhough the default system template also i am trying it shows internel error  so anyone suggest me
    It is very urget
    Regards
    Selva.D

    Hai jeyakandan,
                    While  print preview  the system template the error message shows
    "internal error occured " .
                                     This is a  system template . And My GRPO template also i can't get preview  that also shows the same error.
      Eventhough  The System  configured with the printer,so  i can able to take print from other marketing document like purchase and sales order documents in both system template and My Designed template.

  • Business partner(employee) is not replicated from ECC to CRM

    The Business partner Not replicated in CRM.Two Sales organization have been maintained for the employee for the different time lines in ECC.Checked the BDOCs and the validation error occur in FM CRM_BUPA_MAIN_VAL .The BDOCs message was saying the BPGUID was missing .Could anyone please suggest what could be the root cause of the data not replicated from ECC to CRM.

    Hi Pragnya,
    This is the case where at the time of creation of BP there was some issue with replication.
    The BP itself is not there in CRM or only the changes are not reflected?
    In such scenarios, perform following steps for successful replication:
    1. Go to TCode: CRMM_BUPA_MAP
    2. Enter the BP no. {initially it says it does not exist}
    3. Enter ERP customer no. and press enter, the BP GUID gets filled
    4. Click on "Gather Information about customer" [you can see the status of the object]
    5. Now again enter the BP no. -> The customer is available in CRM now.
    Regards,
    Swagi

  • Sharepoint List to Telerik Grid, Where data is not coming from database into List.

    SharePoint List to Telerik Grid, Where data is not coming from database into List.
    Here, i have a SharePoint list , where configurable text are stored, using some utility.
    I want to convert that SharePoint list into Telerik grid, with all Editable Option which i have in SharePoint.

    I know little about Telerik Grid, only find following article about Telerik integrate with SharePoint:
    http://www.telerik.com/help/aspnet-ajax/moss-spradlistview_designer_general.html
    a similar question:
    http://www.telerik.com/forums/how-to-bind-to-a-sharepoint-list-using-radgrid
    Thanks,
    Qiao Wei

  • Invoice output not coming properly

    Dear Experts,
    I have maintained condition record for the billing type and assigned it to the printer. Some of the invoices output are coming properly but for 4 to 5 invoices, print out prview is just skipping and when I click for printing, the system throws an error  " output could not be issued" and the error is in green colour.  I am not able to understand the reason behind it.
    Can anybody help me out to solve the issue please.
    Thanks & Regards,
    Reji

    Dear Reji,
    T. Code: VF02/ VF03
    Key-in your Invoice No. and Don't hit "enter".
    On to the same Page, from Menu-bar, Click: Billing Document --> Issue Output to
    A Window: Output Output, will pop-up.
    Here, select the Output-line and Click Icon: Print Preview
    Now, you would able to see Invoice Preview, providing Output Condition record is maintained.
    If still, Invoice Preview doesn't appear, on to the same window: Output Output, Click Tab: Print Options.
    Another Window will pop-up. Here, maintain Output Device (say, LP01) and tick Box: Print Immediately, and OK.
    Again Select Output line and Click: Print Preview.
    Best Regards,
    Amit

  • Print Preview not coming.

    Hi Experts ,
    I want to generate one SFP form YLFN_INVOICE_FORM_PT , via one output type ZP00 using TC VF03.
    Previously the Print preview was coming , but now no Print Preview is coming.
    Please check how i am doing.
    1) Goto VF03 , selecting the billing type ZP00 and pressing the Print Preview.
    2) Its Blank and come to Screen of VF03.(Invoice Display)
    Can u suggest what should i check in form or in Layout. After so many hours of debugging i found Formatting Error at last.
    But when i am checking with the previous version i am not getting any layout difference and also my form is also activated.
    Please help me out . <removed by moderator>
    Waiting for your reply.
    VIvek
    Edited by: vivek srivastava on Sep 8, 2011 12:42 PM

    a few things to check..
    in your calling program:
    1) when you call your PDF FM, check the value in your outputparams-preview field,
    2) I believe if you request the PDF data back from the FM, you won't get a preview
    Can you print the invoice just not see it? If that's the case, in your adobe form itself, check to make sure all of your subforms etc... have the correct visibility - you may have them set to Visible Print Only.

  • File read write program output not coming correct

    this code is compiling without issues but the output is not what i am expecting .. the contents of delta.txt are as follows
    *4014254420*
    *2897449776*
    *4207405601*
    and the output thats coming is
    +4014254420+
    +40142544204207405601+
    +4207405601+
    its not reading the 2nd line somehow
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.File;
    import java.io.*;
    import java.io.FileWriter;
    import javax.swing.*;
    import java.util.Scanner;
    public class testloop
              static int i;                                             
               static char c;                                               
               static int j = 1;     
                    static String filename;                                                  
      public static void main(String[] args)  throws IOException 
    try {
         FileReader fmi = new FileReader("delta.txt");
         FileWriter fmo = new FileWriter("Updated.txt");
         BufferedReader br = new BufferedReader(fmi);
                   String temp=null;
                        do{
                        temp = br.readLine();
                        if(temp.startsWith("*"))
                             String tempc = temp.substring(1);                         
                             System.out.print(tempc+"\n");
                            long tp = Long.valueOf(tempc);
                             System.out.print(tp);                    
                   else
                   fmo.write(temp);
                        }while((temp=br.readLine()) != null);
                   fmi.close();
                   fmo.close();
                   }catch (FileNotFoundException e){ System.out.print("not found");     }
                   catch (IOException e){System.out.print("io"+e);
                   e.printStackTrace();
        also if i use the following delta.txt
    **4014254420*
    **2897449776*
    **4207405601*
    mmm+
    i get the output as
    +4014254420+
    +40142544204207405601+
    +4207405601Exception in thread "main" java.lang.NullPointerException+
    at testloop.main(testloop.java:33)*
    its not writing the text to the file updated.txt
    Edited by: adhiraj on Nov 27, 2007 6:58 AM

    You are getting the next line twice.
    do{
                        temp = br.readLine();
                        if(temp.startsWith("*"))
                             String tempc = temp.substring(1);                         
                             System.out.print(tempc+"\n");
                            long tp = Long.valueOf(tempc);
                             System.out.print(tp);                    
                   else
                   fmo.write(temp);
                        }while((temp=br.readLine()) != null);You need to change your code around so that you only call
    temp=br.readLine();once per iteration of the loop.

  • PDF print preview not coming as it contains chinese character

    hi
    when i see the print preview of the Delivery note ( in scripts ) normally, the chinese characters appears. but when i want to check with pdf print preview nothing is coming.
    i am using convert_otf func. module.
    is it because of function module or because of adobe acrobat?
    also when i try to print the ordinary print preview - output is coming as ####.
    My advance thanks for your replies.
    Regards,
    Sakthi Sri.

    Hi Sandra Rossi,
    In PDF i could not able to get the output. So discussed with TL and we made the chinese characters in .tiff and uploaded through se78 and now it is coming in ordinary print preview.
    but this is only temporary solution.
    Anyhow thanks for help given by experts.

  • Some accounts in 0ACCOUNT hierarchy MD not loading from ECC

    Hi,
    I am trying to load 0ACCOUNT hierarchy master data from ECC to BW, using standard data sources. The process is in place in Production and was running fine until couple of days back. All of a sudden, the daily master data load doesn't bring in new accounts added to hierarchy in ECC.
    The user responsible for adding and updating new accounts to hierarchy has checked on the ECC, and I have seen the ECC screen. The new accounts are correctly placed in correct hierarchy on ECC side.
    I have checked and tried couple of things. The Attr and Text are coming through fine, only hierarchy is not getting updated on BW side. I tried to replicate Metadata for the data source on BW side, I have manually run the DTPs, but still no success.
    I will really appreciate your help on this.
    Thanks,
    Abhishek.

    Hi all,
    Thanks for your prompt replies. To answer to all the above replies:
    1) I am not getting any errors while loading the account hierarchy. The process state is Green. It is just skipping the new accounts. There are no new patches installed in BI, check with Basis team
    2) I had checked the ACR, 0ACCOUNT is already included in the process.
    3) At ECC side, the team always added the accounts/accounts ranges manually to the hierarchy and it worked well in the past. The hierarchy data source we are using always is either in Modified/Content mode and I assume we cannot activate the hierarchy data sources that is provided by SAP.
         3.1) Yes, we have maintained the hierarchy structure at Infoobject level. The attributes and texts are coming through fine and those accounts are already in SAP BI attribute/text, but they are not brought over in hierarchy.
         3.2) I am not authorized to access RSHIER/RSH1 T-code.
    Thanks,
    Abhishek.

  • Data not coming from DOE to Mobile After defining Rule for device attribute

    Hi All,
    I have created a DO and rule for it.In case of Bulk Rule for all definition when i triggere extract from Portal then all the data comes to outbound queue but when i define rule for Device attribute then no data comes to my Outboun queue.Here is the scenario what i am doing :
    1. I have order header in my backend which has a field named "Work_Center" and this will be criteria field.
    2. In CDS table i have all the records for all the work center.
    3. Now in RMM under customized , i have added an attribute named "Work_center".
    4. Now i defined a rule with Device attribute mapping and activated the rule.
    5. Now on Portal i assigned this data object and in the device attribute tab i assigned the value(this value exist in CDS table for few orders) of a   Work center to the attribute "Work_Center" .
    6. Then i triggrere extract but its Outbound queue is empty, what could be the reason.
    Is my approach is correct
    Regards,
    Abhishek

    Hi Abhishek,
    You can check one ore thing, after you have performed all the steps till step 5, i.e. just before triggering
    extract. Check if the AT table for ur DO has entries based on the criteria specified by you...
    1. In the workbench click on the Data Object, and then right click and select "View Metadata".
    2. Select Distribution Model tab.
    3. Now select your DO's Association table.
    4. For the input field DEVICE ID specify your corresponing device id,and also for status field specify it 
        as "I"  and execute
    If there are any entries now in the AT table, and on triggering extract if they are not coming to the
    outbound Q there is some EXTRACT Q blocked. And is there were no entries in the AT then the rule
    specified is not  the satifying.
    Thanks,
    Swarna
    Now if you have entries w

  • Data Not coming From DSO to Cube

    Hi All,
    I have data in DSO. When i run the DTP , request status is green.
    Now when i go to cube and see the data the request has came but data has not transferred .....
    The Request Status is green in cube but data is not cuming....
    No transferred data.
    How can bring data in cube..??
    Regards,
    Rohit

    Hi,
    When you loaded the DSO......after that are you loading the cube for the first time?If so .....and still data is not coming..then check if the last loaded request somehow got deleted from the DSO....
    If after loading the DSO....you have already loaded the cube...and this is the second time you are loading the cube.........then obviously it will pick 0 records...........since delta DTP always picks the fresh new request..........if there is no new request in the source .......then it will pick 0 records.......
    Also both the cased are not working.........then check the End routine or Start routine.if any.......
    Thanks and Regards,
    Debjani.......

  • SD billing Accounting document Profit center not coming from billing doc

    Hi Expert,
        I have stuck with the accounting doc entries. Issue is that accounting document should have
        the same profit center as billing document. Actually i have created profit center for my each of
        my divisions and want the same profit center whenever that particular division  is selected. But it
       is not  working.
        I have tried with substitution  method also by t-codes 0KEL and 0KEM. It works correctly till
       billing document means division wise profit center is coming in order,delivery , and billing but
       when we check accounting document,Profit center doc. Controlling Document and Profitab.
       Analysis  in Delivery and Bill it is coming from what i have maintained in material master.
       But it should come from what is in the delivery and billing document.
        Please share your ideas.
       Thanks &  Regards

    Hi SAP Consultant
    I would not agree with the first reply above.
    When you define a substitution in 0KEL and 0KES, it is intended to overwrite the PC from Material Master. It is a wrong notion that this Substitution will only impact FI, and not CO / COPA
    1. Are you able to see the over-written PC in Sales Order? (I think YES)
    2. Are you able to see the over-written PC in Billing doc? (I think YES)
    3. If in FI doc you are not able to see that, then see where is the problem. Probable reasons would be a Substitution written in OBBH, You are having a CO Object in the line item, a user exit written in the exit SDVFX008
    Ask your ABAP to check on these lines, if 1 and 2 is YES
    Br, Ajay M

  • Output not coming correct

    Hi,
    I had developed this code and after all modifications and alterations in it ,i am pasting here bcoz it is still giving the problem that the values of ITAB does not contain the correct data as it keep on repeating the same value for the data in ITFINAL.
    Plzz go through this code and help me out as i tried whole day and still it is not coming right.
    My job is online bcoz if it start displaying correct data then i have to make addition in other code also. plzz helpme out as help will be definately rewarded.
    here's the code:-
    TABLES: BKPF,MKPF,BSIK.
    DATA: BEGIN OF ITBKPF OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          AWTYP LIKE BKPF-AWTYP,
          AWKEY LIKE BKPF-AWKEY,
          BUDAT LIKE BKPF-BUDAT,
          END OF ITBKPF.
    DATA: BEGIN OF ITMKPF OCCURS 0,
          MBLNR LIKE MKPF-MBLNR,
          MJAHR LIKE MKPF-MJAHR,
          END OF ITMKPF.
    DATA: BEGIN OF ITAB OCCURS 0,
          BELNR LIKE BSIK-BELNR,
          WRBTR LIKE BSIK-WRBTR,
          LIFNR LIKE BSIK-LIFNR,
          BUKRS LIKE BSIK-BUKRS,
          GJAHR LIKE BSIK-GJAHR,
          BUDAT LIKE BKPF-BUDAT,
          END OF ITAB.
    DATA: BEGIN OF ITFINAL OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          AWTYP LIKE BKPF-AWTYP,
          AWKEY LIKE BKPF-AWKEY,
          MBLNR LIKE MKPF-MBLNR,
          MJAHR LIKE MKPF-MJAHR,
          WRBTR LIKE BSIK-WRBTR,
          LIFNR LIKE BSIK-LIFNR,
          END OF ITFINAL.
    *PARAMETERS: P_BUKRS LIKE BKPF-BUKRS,
               P_GJAHR LIKE BKPF-GJAHR,
               S_LIFNR LIKE BSIK-LIFNR.
    SELECT-OPTIONS: P_BUKRS FOR BKPF-BUKRS,
                    P_GJAHR FOR BKPF-GJAHR,
                    S_LIFNR FOR BSIK-LIFNR.
          SELECT ABUKRS ABELNR AGJAHR AAWTYP AAWKEY ABUDAT INTO TABLE ITBKPF FROM BKPF AS A
          WHERE  AAWTYP = 'MKPF' AND ABUKRS IN P_BUKRS AND A~GJAHR IN P_GJAHR.
          IF NOT ITBKPF[] IS INITIAL.
          SELECT AMBLNR AMJAHR INTO TABLE ITMKPF FROM MKPF AS A FOR ALL ENTRIES IN ITBKPF WHERE A~MBLNR = ITBKPF-AWKEY(10).
          SELECT ABELNR AWRBTR ALIFNR ABUKRS AGJAHR BBUDAT FROM BSIK AS A
          INNER JOIN BKPF AS B ON BBELNR = ABELNR
          INTO TABLE ITAB
          WHERE
          A~LIFNR IN S_LIFNR.
          ENDIF.
    SORT ITAB BY BELNR.
    LOOP AT ITBKPF.
    CLEAR ITMKPF.
    READ TABLE ITMKPF
    WITH KEY MBLNR = ITBKPF-AWKEY+(10)
              MJAHR = ITBKPF-AWKEY+10(4).
    CHECK sy-subrc EQ 0.
    ITFINAL-BELNR = ITBKPF-BELNR.
    ITFINAL-GJAHR = ITBKPF-GJAHR.
    ITFINAL-AWKEY = ITBKPF-AWKEY.
    READ TABLE ITAB
    WITH KEY BUKRS = ITBKPF-BUKRS.
    CHECK sy-subrc EQ 0.
    ITFINAL-WRBTR = ITAB-WRBTR.
    ITFINAL-LIFNR = ITAB-LIFNR.
    APPEND ITFINAL.
    CLEAR ITFINAL.
    ENDLOOP.
    LOOP AT ITFINAL.
    WRITE: / ITFINAL-BELNR , ITFINAL-GJAHR, ITFINAL-AWKEY+(10),ITFINAL-WRBTR ,ITFINAL-LIFNR .
    ENDLOOP.

    Hi,
    I had checked the all Interenal Tables and each and every table is having the desiered data except ITFINAL.,it is storing the value of ITAB
    i.e. displaying the same record for the data coming from the ITBKPF ,now my problelm is how to display the correct data from ITAB to the ITFINAL which is not able to store this coreect data,plzz help me out in solving this problem .
    The code in am using right now is:-
    TABLES: BKPF,MKPF,BSIK.
    DATA: BEGIN OF ITBKPF OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          AWTYP LIKE BKPF-AWTYP,
          AWKEY LIKE BKPF-AWKEY,
          BUDAT LIKE BKPF-BUDAT,
          END OF ITBKPF.
    DATA: BEGIN OF ITMKPF OCCURS 0,
          MBLNR LIKE MKPF-MBLNR,
          MJAHR LIKE MKPF-MJAHR,
          END OF ITMKPF.
    DATA: BEGIN OF ITAB OCCURS 0,
          BELNR LIKE BSIK-BELNR,
          WRBTR LIKE BSIK-WRBTR,
          LIFNR LIKE BSIK-LIFNR,
          BUKRS LIKE BSIK-BUKRS,
          GJAHR LIKE BSIK-GJAHR,
          BUDAT LIKE BKPF-BUDAT,
          END OF ITAB.
    DATA: BEGIN OF ITFINAL OCCURS 0,
          BUKRS LIKE BKPF-BUKRS,
          BELNR LIKE BKPF-BELNR,
          GJAHR LIKE BKPF-GJAHR,
          AWTYP LIKE BKPF-AWTYP,
          AWKEY LIKE BKPF-AWKEY,
          MBLNR LIKE MKPF-MBLNR,
          MJAHR LIKE MKPF-MJAHR,
          WRBTR LIKE BSIK-WRBTR,
          LIFNR LIKE BSIK-LIFNR,
          END OF ITFINAL.
    *PARAMETERS: P_BUKRS LIKE BKPF-BUKRS,
               P_GJAHR LIKE BKPF-GJAHR,
               S_LIFNR LIKE BSIK-LIFNR.
    SELECT-OPTIONS: P_BUKRS FOR BKPF-BUKRS,
                    P_GJAHR FOR BKPF-GJAHR,
                    S_LIFNR FOR BSIK-LIFNR.
          SELECT ABUKRS ABELNR AGJAHR AAWTYP AAWKEY ABUDAT INTO TABLE ITBKPF FROM BKPF AS A
          WHERE  AAWTYP = 'MKPF' AND ABUKRS IN P_BUKRS AND A~GJAHR IN P_GJAHR.
          IF NOT ITBKPF[] IS INITIAL.
          SELECT AMBLNR AMJAHR INTO TABLE ITMKPF FROM MKPF AS A FOR ALL ENTRIES IN ITBKPF WHERE A~MBLNR = ITBKPF-AWKEY(10).
          SELECT ABELNR AWRBTR ALIFNR ABUKRS AGJAHR BBUDAT FROM BSIK AS A      "
          INNER JOIN BKPF AS B ON BBELNR = ABELNR
          INTO TABLE ITAB
          WHERE
          ALIFNR IN S_LIFNR.    "ABUKRS = B~BUKRS.
          ENDIF.
          SORT ITAB BY BELNR.
         SELECT ABELNR AWRBTR ALIFNR ABUKRS A~GJAHR FROM BSIK AS A INTO TABLE ITAB
         FOR ALL ENTRIES IN ITBKPF
         WHERE
         ABUKRS = ITBKPF-BUKRS AND ALIFNR = S_LIFNR.
         ENDIF.
    LOOP AT ITBKPF.
    CLEAR ITMKPF.
    READ TABLE ITMKPF
    WITH KEY MBLNR = ITBKPF-AWKEY+(10)
              MJAHR = ITBKPF-AWKEY+10(4).
    CHECK sy-subrc EQ 0.
    ITFINAL-BELNR = ITBKPF-BELNR.
    ITFINAL-GJAHR = ITBKPF-GJAHR.
    ITFINAL-AWKEY = ITBKPF-AWKEY.
    SORT ITAB[] BY BELNR GJAHR BUKRS.
      READ TABLE ITAB
      WITH KEY
    BELNR = ITBKPF-BELNR
      GJAHR = ITBKPF-GJAHR
      BUKRS = ITBKPF-BUKRS
      BINARY SEARCH.
    CHECK sy-subrc EQ 0.
    ITFINAL-WRBTR = ITAB-WRBTR.
    ITFINAL-LIFNR = ITAB-LIFNR.
    APPEND ITFINAL.
    CLEAR ITFINAL.
    ENDLOOP.
    LOOP AT ITFINAL.
    WRITE: / ITFINAL-BELNR , ITFINAL-GJAHR, ITFINAL-AWKEY+(10),ITFINAL-WRBTR ,ITFINAL-LIFNR .
    ENDLOOP.
    Edited by: abaper2008 on May 29, 2008 6:35 AM
    Edited by: abaper2008 on May 29, 2008 9:21 AM

  • Barcode in PDF output not coming in Oracle R12.1.3

    Hi,
    We have a rtf template for Invoice report. In this report we have to display barcode in PDF output. In our development instance barcode is coming properly. But in our test instance barcode is not coming(same template is available in Development and Test instance).
    We are using wocrb.ttf and w128l.ttf font files and we have these files available at $OA_JRE_TOP/lib/fonts path.
    Also, we have config file available on $OA_JRE_TOP/lib directory. and this config file has correct path of both the font files.
    Still the barcode is not coming in Test instance.
    Request you all to please help me with this issue.
    Thanks,
    SA

    PDF requires the font be registered correctly, since it is not appearing you have missed something in your configuration.
    The most common error is the font family name does not exactly match the font name in Word. (Open the font on your PC and the name is present there also.)
    You can use the xdodebug.cfg troubleshooting method,  then see what error appears in the xdo.log when the font is accessed.
    See the following note for xdo.log:
    Note 364547.1 : Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    Thank you
    Eugen

Maybe you are looking for

  • Implicit enhancement to a standard function module.

    Hi everybody. I used an Implicit Enhancement to a Standard function module Customized_Message, at the starting of function module. Code: ENHANCEMENT 1  ZFK01_ENHANCEMENT4.    "active version If sy-tcode = 'FK01' and sy-CPROG = 'SAPMF02K' AND I_MSGNR

  • I am looking for a app that will allow me to build and form for staff review then log it back to a main computer across mutiple users

    Please help,  The app that I need is one that firstly build and set of question into a form,  then allow other staff member to fill in the answers and then generate a report back to a centre database for review.  Also within this app if it is able to

  • How to get customer name automatically in table maintainance generator

    Hi all, I am having a table maintainance generator in which ship to party is the primary key, i need to add another column customer name fetched from KNA1, i tried using the event 5.new entries creation, creating a new perform but the code which i am

  • BPM Task not listed in UWL

    Hi Experts, I have initiated the BPM Process through NWA. Task is not listed in the UWL but the mail is getting generated. UWL is configured to Provider System. UWL also receiving task from other BPM workflow. Thanks in Advance, Best Regards, Arun

  • Display PDFs in Java window?

    Hi, I was wondering if Acrobat is the right product to buy in order to dispaly PDFs in my custom Java application. That is: does it come with a Java API (Java 1.4.2). I only need to display PDFs, nothing else. And I do not want to display the PDFs in