File--XI--R/3 Create PO

Hi Friends,
Iam working on a scenario where Iam sending a .xml file to XI which contains the required data to create a PO in R/3 like (DocType, PurchasingGroup, PurchasingOrg, CompCode, Plant, StorageLoc, VendorCode, MatNumber, Price...). I mapped this data to the IDoc PORDCR04.
But when I send the file in sxmb_moni it does show me any error. But in RWB Adapter monitoring, for the RFC Receiver adapter I see the error
<b>- Error: 2006-06-23 13:33:37 UTC: Message processed for interface PORDCR.PORDCR04: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declaration(2)</b>
How to solve this issue??
Regards,
Raju

hi,
but you use the IDOC receiver adapter right?
and not RFC adapter...
if you want to use a BAPI (RFC adapter) try BAPI_PO_CREATE1
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • Acrobat distiller won't open file from word to create pdf

    I can choose acrobat from word and print pdf -- but acrobat pro 9 gives me an error message when I try to select a file from word to create a pdf. I can print acrobat from word but not from acrobat
    The error message just says can't open, check if you have read permissions for this file.  I've been doing this, but now it won't select a file from word.
    Thanks.

    Sorry Bill, It's Word 7.  I can create an acrobat pdf by choosing it when I print in word but if I try to create a pdf from acrobat - from the file - it won't work.  I get the same error.  Can't open  do you have read priviledges.  Not sure what that is or if there is a setting someplace that got checked or unchecked.
    Thanks.

  • Getting "java.lang.NullPointerException" error message when trying to run an OATS OpenScript file from Eclipse to Create a record in Oracle EBS

    Hello,
    I'm trying to run a simple OpenScript script in Eclipse that creates a record (a Supplier in this case) in Oracle E-Business Suite. So I copied the the script file from OpenScript and created it as a Class in Eclipse.  Then I created a main class to call the methods within the script class but no matter what method I call (initialize, run or finalize) I'm getting the java.lang.NullPointerException message. The error doesn't seem to be related with any specific line in the script but with the way that I'm calling it.
    Should I call the OpenScript class from my main class in a different way? (see my examples below)
    BTW, all external .jar files coming with OATS have been added to my project in Eclipse.
    1) Here's the main class I created to call the OpenScript method (Eclipse auto-corrected my main class adding a Try and Catch around the method call):
    public class Test {
        public static void main(String[] args) {
            nvscript nvs = new nvscript();
            try {
                nvs.initialize();
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    2) Here's the script from OpenScript (the actual script has more steps but I'm just using the first one for a proof of concept):
    import oracle.oats.scripting.modules.basic.api.*;
    import oracle.oats.scripting.modules.browser.api.*;
    import oracle.oats.scripting.modules.functionalTest.api.*;
    import oracle.oats.scripting.modules.utilities.api.*;
    import oracle.oats.scripting.modules.utilities.api.sql.*;
    import oracle.oats.scripting.modules.utilities.api.xml.*;
    import oracle.oats.scripting.modules.utilities.api.file.*;
    import oracle.oats.scripting.modules.webdom.api.*;
    import oracle.oats.scripting.modules.formsFT.api.*;
    import oracle.oats.scripting.modules.applet.api.*;
    public class nvscript extends IteratingVUserScript {
        @ScriptService oracle.oats.scripting.modules.utilities.api.UtilitiesService utilities;
        @ScriptService oracle.oats.scripting.modules.browser.api.BrowserService browser;
        @ScriptService oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService ft;
        @ScriptService oracle.oats.scripting.modules.webdom.api.WebDomService web;
        @ScriptService oracle.oats.scripting.modules.applet.api.AppletService applet;
        @ScriptService oracle.oats.scripting.modules.formsFT.api.FormsService forms;
        public void initialize() throws Exception {
            this.getSettings().set("formsft.useformsonly",true);
            browser.launch();
        public void run() throws Exception {
            beginStep(
                    "[1] E-Business Suite Home Page Redirect (/ebs12cloud.winshuttle.com:8000/)",
                    0);
                web.window(2, "/web:window[@index='0' or @title='about:blank']")
                        .navigate("http://ebs12.xxxxxxx.com:8000/");
                web.window(4, "/web:window[@index='0' or @title='Login']")
                        .waitForPage(null);
                    think(4.969);
                web.textBox(
                        7,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_text[@id='usernameField' or @name='usernameField' or @index='0']")
                        .setText("winshuttle_user");
                    think(2.0);
                web.textBox(
                        8,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
                        .click();
                    think(1.109);
                web.textBox(
                        9,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:input_password[@id='passwordField' or @name='passwordField' or @index='0']")
                        .setPassword(deobfuscate("kjhkjhkj=="));
                    think(1.516);
                web.button(
                        10,
                        "/web:window[@index='0' or @title='Login']/web:document[@index='0']/web:form[@id='DefaultFormName' or @name='DefaultFormName' or @index='0']/web:button[@id='SubmitButton' or @value='Login' or @index='0']")
                        .click();
            endStep();
        public void finish() throws Exception {       
    3) Here's the error messages I'm getting based on the method I call from my main class:
    3.a) when calling Initialize():
    java.lang.NullPointerException
        at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.getSettings(IteratingVUserScript.java:723)
        at nvscript.initialize(nvscript.java:22)
        at Test.main(Test.java:9)
    3 b) when calling Run():
    java.lang.NullPointerException
        at oracle.oats.scripting.modules.basic.api.IteratingVUserScript.beginStep(IteratingVUserScript.java:260)
        at nvscript.run(nvscript.java:30)
        at Test.main(Test.java:9)
    Any help and/or constructive comment will be appreciated it.
    Thanks.
    Federico.

    UPDATE
    Compiling from command line I found out that the class definition for oracle.oats.scripting.modules.basic.api.IteratingVUserScript is missing. Do you know what .jar file contains this class?
    Thanks.
    Fede.

  • How do I add data to an existing file, without having to create a new one?

    Hi,
    I made a servlet which is supposed to write the word "new" in a file everytime the server creates an instance:
    File chatInfos = new File("LOCATION_OF_THE_FILE/infos.dat");
       if(chatInfos.exists()) {
        try {
        FileOutputStream fos = new FileOutputStream(chatInfos);
        ObjectOutputStream os = new ObjectOutputStream(fos);
        os.writeObject("new");
        os.close();
        fos.close();
        } catch(IOException e){};
       }But it doesnt work. It seems like that every time the old file is destroyed and a new one is created. But I dont want that. I simply want to add a new object to the file.
    thanx

    http://java.sun.com/j2se/1.4.1/docs/api/java/io/FileOutputStream.html#FileOutputStream(java.io.File, boolean)
    Kind regards,
    Levi

  • How do i move a picture from one pdf-file to another already created pdf-file with adobe reader?

    How do I move a picture from one pdf-file to another, already created pdf-file, with adobe reader?

    Reader doesn't have editing capabilities.

  • Adding a file to an already created Archive throws error

    Hello Experts,
    In one of the WLST python scripts, we had a piece of code which was adding a file to an already created archive. Below is the code snippet:
    import zipfile
    try:
    conn='1.properties'
    fileName='/home/pbnagara/temp/Zip1.par'
    myZip = zipfile.ZipFile(fileName, mode='a')
    myZip.write(conn)
    myZip.close()
    except Exception:
    print 'Exception occurred while writing to Zip file: ' + fileName
    --> it makes use of the standard python module [zipfile] to add a file to the archive.
    This code has started failing [for some strange unknown reason] when we upgraded.
    The same script works fine in a standalone mode[using the system's default python packages] but fails only when run within WLST.
    Does WLST package a different set of zipfile libraries? Can anyone point out what might be going wrong here?

    I did get a reply from someone on the jfreechart forum, but need to ask more questions. This was his reply:
    Hi Allyson,
    You are trying to add a (subclass of) JFrame to a JPanel...that won't work, of course, and Java tells you so.
    You need to create a ChartPanel to display your chart. This is a subclass of JComponent, which you can happily add to a JPanel (or any other container).
    Regards,
    Dave Gilbert
    Here is the code for the method:
    private void LineChartFrame() {
    double[][] data = new double[][] {
    { 1.0, 4.0, 3.0, 5.0, 5.0, 7.0, 7.0, 8.0 },
    { 5.0, 7.0, 6.0, 8.0, 4.0, 4.0, 2.0, 1.0 },
    { 4.0, 3.0, 2.0, 3.0, 6.0, 3.0, 4.0, 3.0 }
    DefaultCategoryDataset dataset = new DefaultCategoryDataset(data);
    // set the series names...
    String[] seriesNames = new String[] { "First", "Second", "Third" };
    dataset.setSeriesNames(seriesNames);
    // set the category names...
    String[] categories = new String[] { "Type 1", "Type 2", "Type 3", "Type 4", "Type 5", "Type 6", "Type 7", "Type 8" };
    dataset.setCategories(categories);
    // create the chart...
    chart = ChartFactory.createLineChart(
    "Line Chart Demo 1", // chart title
    "Category", // domain axis label
    "Value", // range axis label
    dataset, // data
    true, // include legend
    true, // tooltips
    false); // urls
    chartPanel = new ChartPanel(chart);
    chartPanel.setPreferredSize(new java.awt.Dimension(500, 270));
    setContentPane(chartPanel);
    }And I tried this to add it to my panel:
    jPanel1.add(chartPanel, null);But I get this error:
    java.lang.NullPointerException
    ChartPanel is defined globally in this file.
    jPanel1 is my main panel that I want to add the chart to.
    I am putting my last duke dollar on this in the hopes that someone can help. Thanks.
    Allyson

  • ITunes will no longer play nor add to the library any mp3 files which I have created by conversion from a wav file.

    I am running iTunes 10 on XP Pro and it will no longer play those mp3 files which I have created by conversion from wav files.  I tried to delete some from the library and then re-add them but iTunes will not add them back to the library.
    Can anyone help solve this, please?

    Back up your purchased music before you upgrade, I've read at least 5 cases where purchased music has just gone.....missing.
    That is not supposed to happen, didn't happen to me or thousnds of other iTunes users, but you don't want to be the 6th person, do you?
    There are two things to try before you upgrade:
    Barbara Hall, "Unknown Error (-208)" #1, 07:42pm Oct 19, 2005 CDT
    http://docs.info.apple.com/article.html?artnum=302478

  • Is there any way to embed the pdf file in the book created in iBooks Author to make it available to be downloaded or sent to email? So that the user can print it out.

    Is there any way to embed the pdf file in the book created in iBooks Author to make it available to be downloaded or sent to email?
    I'm making the book for children and there is one chapter providing coloring pages. So I wish to attach pdf files that allow users to download it at the end of chapter so that  they can print it out. Been searching through discussion, I've found some advice about taking screen snapshot page-by-page > then send the pics from photo album to email. However, I'm wondering if there's a way that make the process easier.

    Warehouse that PDF on your own server, then link to it from your book.
    Ken

  • Uploading data from excel file to a dynamically created internal table

    Hi,
    I have a requirement where i have to upload data from an excel file into a database table. I would be able to determine the structure of the table only at runtime based on the user input.. so i have created an internal table dynamically.
    Could you please tell me if its possible to upload data from an excel file to the dynamically created internal table using any function modules?
    I thought of doing this by declaring a generic internal table of one field and then uploading the *.csv file into it and then splitting it based on "," and then assigning it to the field symbol referencing the internal table.. but my file length exceeds 132 characters and i'm only able to get data of lenght 132 char's in my internal table ( generic one).
    Could anyone please show me a way around this.
    Thanks in advance,
    Harsha

    Sure, check this out.
    report zrich_0002.
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    data: it_fldcat type lvc_t_fcat,
          wa_it_fldcat type lvc_s_fcat.
    type-pools : abap.
    data: new_table type ref to data,
          new_line  type ref to data.
    data: iflat type table of string.
    data: xflat type string.
      data: irec type table of string with header line.
      data: tabix type sy-tabix.
    data: file type string.
    selection-screen begin of block b1 with frame title text .
    parameters: p_file type  rlgrap-filename default 'c:Test.csv'.
    parameters: p_flds type i.
    selection-screen end of block b1.
    start-of-selection.
    * Add X number of fields to the dynamic itab cataelog
      do p_flds times.
        clear wa_it_fldcat.
        wa_it_fldcat-fieldname = sy-index.
        wa_it_fldcat-datatype = 'C'.
        wa_it_fldcat-inttype = 'C'.
        wa_it_fldcat-intlen = 10.
        append wa_it_fldcat to it_fldcat .
      enddo.
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
                   exporting
                      it_fieldcatalog = it_fldcat
                   importing
                      ep_table        = new_table.
      assign new_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
      create data new_line like line of <dyn_table>.
      assign new_line->* to <dyn_wa>.
      file = p_file.
      call method cl_gui_frontend_services=>gui_upload
        exporting
          filename                = file
        changing
          data_tab                = iflat
        exceptions
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          others                  = 17.
      loop at iflat into xflat.
        clear irec. refresh irec.
        split xflat at ',' into table irec.
        loop at irec.
          tabix = sy-tabix.
          assign component tabix of structure <dyn_wa> to <dyn_field>.
          <dyn_field> = irec.
        endloop.
        append <dyn_wa> to <dyn_table>.
      endloop.
    * Write out data from table.
      loop at <dyn_table> into <dyn_wa>.
        do.
          assign component  sy-index  of structure <dyn_wa> to <dyn_field>.
          if sy-subrc <> 0.
            exit.
          endif.
          if sy-index = 1.
            write:/ <dyn_field>.
          else.
            write: <dyn_field>.
          endif.
        enddo.
      endloop.
    Regards,
    Rich Heilman

  • I have file with 500 pages created from AutoCad file. In all pages, I have different document numbers.The file is not editable in pdf. How to change all the document numbers using "Comment" feature? Any alternate method?  alternate method? I have Adobe Ac

    I have pdf file with 500 pages created from AutoCad file. In all pages, I have different document numbers.The file is not editable in pdf. How to change all the document numbers using "Comment" feature? Any alternate method?  alternate method? I have Adobe Acrobat X Pro and Windows -7 platform.

    Yes, I just want to cover up all the pages for those particular area of document numbers.
    Nothing sensitive about it. I just want to show the correct document numbers on all pages in print out.
    So, I wanted to cover up by comments, but commenting on each page will be difficult. So, I wanted to comment the same on all pages.

  • I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Help please

    I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Does anyone have the same problem or know how to fix it?

    In Lion the Finder folder is now invisible.  To make it permanetely visible enter the following in the Terminal applicaiton window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    For opening your domain file in Lion for the first time or to switch between multiple domain files  Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an applicaiton.
    Just launch the applicaiton, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    OT

  • Can not open JPEG files and can not create JPEG files from other software

    Can not open JPEG files and can not create JPEG files from other software (For example from Solidworks).
    When I try to right click on a JPEG, a notice window appears written: "Windows Explorer has stopped working - Windows is
    checking for a solution to the problem" and then the notice box disapears, the desktop appears and I can continue working.
    From the other side - If I try to save as JPEG a screen of Solidworks (like a view of a part) the Solidworks falls but the JPEG
    is created (I can see its name in the directory I created it).
    I can open the JPEGS with the Paint software if I want but not with the Windows Photo Viewer.
    I have the feeling that the Windows Photo Viewer disapeared from my computer - just a feeling.
    I will appreciate your assistance.
    Avi T. 2014

    Hi,
    Did Windows Photo Viewer option appear when you right click the JPEG file and select open with?
    I would like suggest you use Clean Boot to troubleshoot if there is third-party software conflict:
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135
    Karen Hu
    TechNet Community Support

  • Cs5 camera raw: "this file could not be created" problem

    When I'm attempting to save raw files in any format (jpeg, dng, tiff, etc) to a different directory from where they're intially opened from I get "this file could not be created" error.  It saves fine if goes to the same directory where the file has been opened from.
    The problem started happening for no apparent reason.  There have been no changes to the system (no new installs, etc), except for recent adobe updates, but I can't find any other users complaining about this problem.  This happens on admin and all other accounts.  Any suggestions on how to fix it would be much appreciated.  Thanks in advance.
    photoshop cs5 / win7 64-bit

    Hm, perhaps a folder closer to the root than the folder you have selected has a permissions issue.
    Is the folder you're trying to use rooted on the hard drive (i.e., does the path begin with a drive letter)?
    Keep in mind that whether you are an Administrator or not, with Windows UAC enabled the app is normally not running as an Administrator.  That can affect permissions.  You might want to either try running the app via Run As Administrator or temporarily disable Windows UAC to see if this is an issue.
    How are you starting Camera Raw?  From within Photoshop or Bridge?
    Also, do you have the latest Camera Raw update?
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4926
    -Noel

  • Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.

    Is there any way to edit and save an existing spreadsheet file that was not created from my iPad? I get excel spreadsheets emailed to me and would love to edit them on my iPad and not ever use my PC.

    Thanks. I tried an app called Office2HD and it does exactly what I need. I can even email my edited file from this app.

  • HT2731 When I try to open Itunes, I get message cannot open this file because it was created by a newer version

    When I try to open itunes, I get message cannot open this file because it was created by a newer version
    CAn anyone help?

    Which system are you running (is this information correct in your profile)?
    Are there complicating issues to this question such as you transferring libraries between computers?
    Have you upgraded iTunes recently?
    Troubleshooting iTunes installation on Mac OS X - http://support.apple.com/kb/HT2311  - read section on Opening iTunes for information about running multiple copies of iTunes.

  • How can I attach a PDF file on an iWeb created page?

    How can I attach a PDF file on an iWeb created page so that person can click the link and open the file.  I have a website for my Labradors and would like something that will link from the dogs web page to their pedigree.  TIA.

    Make a link to your pdf file.
    If that's too easy, do it the expert way :
    http://wyodor.byethost8.com/Attachment_with_php.html

Maybe you are looking for

  • Firefox and Minefield won't open articles in the Washington Post. Any suggestions?

    It opens the front page of the site, but not all articles.

  • Asset on Lease.

    Hi Experts, We need to send a asset to different customer sites and charges will be based on the usage of the customer sites. All asset accounting, depreciation will be in company only. We need to get the details of the usage of the asset customer wi

  • Help on partitioning

    Hi All.. This is an extension to my question @ Fetching distributed data I have a normal table with 2 million records.. So instead of doing history , archival process and getting into the problem of fetching data from all the history , current , arch

  • Why can't i use an installed font in pages??

    hi.. i´m now using the news OS X and the news pages version... but now my installed font can't be used unter pages... there is still the standard s*** but not that what i installed as ttf within the font collection i can see it installed... i still c

  • Where is privacy panel in firefox 5.0.1? I do not see it in firefox/options menu.

    On my desktop PC, windows vista 64 bit OS, I updated to Firefox 5.0.1. I am not seeing the "privacy panel", when I goto the firefox/options menu. Where is this privacy panel in firefox 5.0.1, which in earlier versions, i used to see in tools menu.