RFC export parameters missing

Hi all,
My scenario is SAP 4.6 RFC to XI 3.0 to SAP 4.6 RFC...I created function Z_SEND_PCARD_PAYMENTS in 4.6 with export and table parameters....Imported this into XI...Setup messages, interface mappings, etc...When I execute RFC (async) using dest XI and look at XML monitor....I see only my table parameters....My RFC export parameters do not show in the payload....
Thanks,
Wiley

Hi,
import parameters in the RFC
are EXPORTING (not export)
parameters in the calling program
>>>Setup messages, interface mappings, etc...
did you define messages in XI for request RFC or response?
(it should be for request)
EXPORTING parameters from your abap report are
import parameters in th RFC and these are request RFC messages in the XI repository
at least that's how it works for me:)
Regards,
michal

Similar Messages

  • Web Service Export Parameters missing when consumed by Visual Studio 2005

    Hi,
    I am using Visual Studio 2005 (2.0 framework) to consume bespoke SAP Web Services (SAP 4.7) however some of the export parameters are missing. I have tested the SAP web services with various XML tools and they all work perfectly.
    Is there anything I can do to enable Visual Studio to genarate the correct proxy?
    Many thanks for any tips.
    Billy

    This isn't going to work as well as I had thought.
    That is correct that the Name and Value fields come back as XmlNode arrays. Each XmlNode array contains two XmlNode objects (or one if you received a null value from the db). One object contains the atrributes and one contains the value. I had planned on going into the ColumnValueType Value field and pulling the text of the 2nd XmlNode object.
    Now here is the problem:
    For every column you select you get a ColumnValueType object. Rather than being contained in some type of "Row" parent object, each column sits in the root of your results. For example, in the query I am using I am asking for the AlertingName and DnOrPattern columns of the NumPlan table. My results come back like this (simplified):
    AlertingName
    John Doe
    DnOrPattern
    1234
    With the data in this format, I can't just do a foreach loop and iterate over the ColumnValueType objects.

  • Problem passing an export parameters in rfc call using the function control

    Hello,
    I use SAP Remoute Function Control (wdtfuncs.ocx) in my C++ application. I can execute remote functions, if they don´t need any export parameters:
    CSAPFunctions m_Functions;
    CFunction f;
    f.m_lpDispatch = m_Functions.Add("RFC_CREATE_DOCUMENT_MASTER");
    f.Call();
    How can I set the export parameters?
    Any help appreciated.
    regards,
    Vladimir

    check out this thread
    Re: Sample code in ASP to connect SAP?
    Regards
    Raja

  • RFC importing parameters values

    Hi guys,
    One doubt, I've implemented an RFC with a table and an importing parameter of the the type char.
    I've done the mapping on the IR and everything is ok.
    When I test the scenario, I've introduced a breakpoint on the R/3 side to check if the values are coming right on the rfc, and I'm not getting any values on the table or on the char parameter.
    What is the "catch" that I'm missing...?
    Thanks in advance.

    Hi Naveen,
    I've been trying to see if there was any other problem but I can't get anything...
    On the R/3 side I now have two importing parameters, two tables and in the exporting parameters I have one char.
    "are u testing end to end , that is from xi to r3 or just testign your rfc on the abap side??"
    >> The scenario is an end to end, XI calling R/3, sending the xml file with a structure expected (theoretically) by R/3.
    "also if you were testing from xi, do u see testing data in sxmb_moni??"
    >> Yes, I see my XML file one the sending data.
    did you make any changes to the rfc after you imported the rfc into XI??
    >> No, the RFC is rightly imported...
    When I test the scenario, when the RFC is called, on the breakpoint I don't get any of the tables filled...
    Do you have any suggestions why isn't XI filling the tables?

  • Display of Export parameters as Rows

    Hi
    How do you pass the export parameters as individual rows instead of columns in RFC Adaptive Call of Bapi functions.
    Thanks in advance
    Srikant

    Hi Anil,
    Its not clear what you mean to say here.
    In my application: The Export Parameters are to be shown as rows of a table. But while binding they get displayed as columns.
    Firstly how do I transfer the ModelNode metadata to Valuenode metadata info? As, they are incompatible data types
    Secondly, even if i'm able to transfer metadata to value node. On giving the binding to this data source, value attributes again get displayed as columns only!!
    Is there any better solution to it?
    Thanks in advance
    Srikant

  • Error in Billing doc posing to FI - Export data missing

    Hi Experts ,
    While releasing SD Bills to Accounting Some export documents are not posted to FI and posting status is given 'G' (Posting document not created export data missing ).
    Please give me solution which data may missing to post export billing documents to FI.
    Amol

    Hi amol
    Go to VF02 and first go to item data -> foreign trade data tab and click on the incompletion log , you will get the list what all to be filled . Once you complete. then go to header data -> foreign trade data tab and click on the incompletion log ,you will get the list of data which has to be filled and you can fill it and save it .
    Then once the billing document is saved it will be passed on to FI
    Regards
    Srinath

  • Posting Document not created (export data missing)

    We are working on ECC 6.0 and during creation of Cancellation Billing document type IVS for the Intercompany billing, the document did not create Accounting document giving the Posting status as G - Posting document not created (export data missing). However checked the Foreign trade data and the system states that Foreign trade is complete.
    Can any one suggest the solution for this?
    Thanks.

    Hello Mohammad,
    About this issue, the incompletion of this cancellation document
    arises might because the reference delivery has been archived/deleted.
    This is likely due to your current copy control settings (VTFL).
    If you have set ' ', in the export determination field this means that
    there is a common 'exnum' key between the delivery and billing documents
    LIKP-EXNUM & VBRK-EXNUM are the same.
    The result of deleting the delivery is that you also delete the FT data
    for the delivery, Because the billing document and delivery share the
    same foreign trade table entries, you have in effect deleted the FT data
    of the billing document too. This would most likely go unnoticed but if
    you then cancel the invoice the system has no FT to copy into the new
    cancellation billing document, which leads to this issue.
    Firstly you should set the export determination flag in the copy control
    of the delivery & billing documents. This will avoid this issue in the
    future. Set it to to 'A' or 'B' depending on your requirements.
    For the incomplete cancellation billing document, you could use userexit to
    set it as complete:
    You can use transaction CMOD.
    Create a project for example FT project button create short text: ....
    drop button Enhancement assignment & save use for example local object.
    Use the F4-help for Enhancement and look for V50EPROP.
    Drop button Components:
    here you will find EXIT_SAPLV50E_005 and EXIT_SAPLV50E_006
    In the userexits doubleclick on the includes ZXV50U05 and ZXV50U06
    The coding in the userexits should be: C_COMPLETE = 'X'.
    Afterwards activate generate ... and save.
    The development class is VEI.
    Please also check note 118573 which explains the FT user exits.
    Regards,
    Alex

  • OLD RFC export structure being referred to

    Hello all,
    I am testing a XI to RFC call in PI. The structure of the export parameter was changed after being imported into IR and accordingly I did re-import the modified RFC into IR. The export parameter in IR reflects the latest correct structure. Whereas when I test my scenario, the interface is failing because the response from the RFC is still referring to the old export parameter structure and not the new one.
    In fact the response XML has the old RFC export parameter and hence its failing in mapping runtime because its unable to generate the newer version of the export parameter as expected by IR.
    *This is the error i am getting.
    RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:Vista_MR2A_Response_MT/Rows/RECORD_ID. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start*
    Can anyone please help on how to solve this problem.
    Cheers,
    Babs

    Hi,
    you also need to refresh RFC cache (by restarting RFC adapter service in visual admin for example)
    or by restarting java stack if this will be faster in your case
    Regards,
    Michal Krawczyk

  • Export Parameters in Parameterized Message Mapping does not work.

    Hello, XI-Gurus!
    I have a question: how to use an EXPORT parameter in Parameterized Message Mapping? seems it does not work...
    (I use XI / PI 7.1)
    For example, I have a follow scenario: a large message comes to XI from one BS (message contains a lot of rows), then this large message splits to some small messages (something about 1000 rows in one small message), and send small messaeg one by one from XI to second BS. So, after receive step I use a transformation step with Parameterized Message Mapping to get a total amount of rows in large message (it needs for making condition for loop in IP, for example). I want to use an EXPORT parameter to pass this number from Parameterized Message Mapping to Integration Process. How can I do it?
    Of course, I know the way to how to make this scenario without any parameterizing, but I want to use exactly "Parameterized Message Mapping" like it writes in this help:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm
    This topic contains something about procedure how to use an EXPORT parameter, but this procedure does not work. I don't understand how to write this UserDefined Function, which I can set any export parameters.
    I read this blog:
    /people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
    this blog has NO solutions about EXPORT parameters. about IMPORT parameters - everything OK.
    Some topics about how to use export parameters in MM in this forum marked as "answered", but this is not true.
    How to export parameters from Message Mapping
    Export parameter REALLY work in message mapping???????
    Export parameter in Message mapping UDF
    WBR,
    Vsevolod

    Hi Rudolf,
    It still does not works.
    Great thanks for all your answers! If your advice works on your PI-server, it means that my problem not in UDF.
    Step by step:
    1) I create in "Signature" tab two parameters: FILE_NAME, FILE_TYPE (of course, they both Export and xsd:string type)
    2) Then, I goes to "Functions" tab and create new function "testUDF" with one argument var1.
    3) In body of this UDF insert 2 strings:
       getOutputParameters.setString("FILE_NAME" , "Order");
       getOutputParameters.setString("FILE_TYPE" , "PDF");
    4) in "Definition" tab I bind function "Local.testUDF" with one field in my input message and goes to "Test" tab for testing.
    5) And then I have a message window "Problems While Testing":
    Source text of object Message Mapping: mm_ParamMap | urn:****.*.:****:TEST has syntax errors:
    Function testUDF, Line 1:
    cannot find symbol
    symbol  : variable getOutputParameters
    location: class com.sap.xi.tf._mm_ParamMap_
    getOutputParameters.setString("FILE_NAME" , "Order");
    ^
    Function testUDF, Line 2:
    cannot find symbol
    symbol  : variable getOutputParameters
    location: class com.sap.xi.tf._mm_ParamMap_
    getOutputParameters.setString("FILE_TYPE" , "PDF");
    ^
    Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details. Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Look at this notes, first writes that I use a deprecated API, second - about unchecked or unsafe operations.
    And I have no idea what's wrong... Can you help me?
    Thanks!
    WBR,
    Vsevolod

  • Table in import and export parameters

    Hi,
    this is a general doubt. can we pass an internal table in import/export parameters of FMs. I know there are table parameters, but can this be done in import export parameters.
    Regards,
    Vijay

    Hi vijay,
    1. if we pass thru TABLES,
      then we can pass an internal table,
      WITH HEADER LINE
    2. But if we use import/export,
       it has to be a TABLE TYPE
       defined in the data dictionary.
      (This table type will not have any header line).
    regards,
    amit m.

  • Difference between Import and Export parameters in Function Module

    Hi All,
    I am unclear about the import and export parameters, when i create a function module. Can anyone explain abt this. However when i call the function module in any program the import parameters in Function module are displayed as exporting in program amd the export parameters as importing.
    Any help on this would be appericiated.
    Shejal.

    HI,
    Import parameter in FM is the value u provide to FM for processing.
    export is the value u get from FM after processing.
    when u call a FM in a progam the import parameter will appear as Export bcos u r giving value to the FM.
    and u r getting value from FM in import parameter(bcos u r importing).
    rgds,
    latheesh
    Message was edited by: Latheesh Kaduthara

  • Import and export parameters of an FM are passed by value---why?

    Q]      By default the import and export parameters of an FM are passed by value---what is  the advantage of this system?

    Hi,
    Import and export parameters are, by default, passed by value. However, they can also be passed by reference. Tables parameters can only be passed by reference.
    Pass by reference means, passing the address itself rather than passing the value.
    I guess passing by value is easier and advantageous

  • Import and export parameters.

    Hi Experts,
    If I am using import n export parameters for getting data from a different program into my main program, do i have to declare the variables again in the second program.
    For ex:
    The main report has the following piece of code:
    data: int1 type I,
            int 2 type I.
    export: int1 to memory id 'mem1',
               int2 to memory id 'mem2'.
    submit report 'call_report' and return.
    The call_report has the following piece of code:
    import: int1 from memory id 'mem1',
               int2 from memory id 'mem2'.
    So if I am not declaring int1 n int2 explicitly in this report, i get the syntax error that they r not defined.
    My confusion is that when v r exporting int1 n int2 from the main report, then y is the explicit declaration required?
    Is ther no other way out than decalring int1 n int2 in the call_report.
    I will reward all the helpful answers.
    Thanks,
    Ajay.

    Hi Ajay,
    With EXPORT u r not exporting the variable and its definition but the content(data) of the variable u r exporting. So if u want to get the content in another program then u have to declare the variables of same type in the calling program also. Similarly with IMPORT u are not downloading the attributes of the field but only the content of variable u exported earlier.
    Another point to remember is u have declare the variable in the second report with the same name and type as of first report.
    Also check below piece of code which is similar to ur req
    First report
    REPORT Z75694_TEST .
    DATA: i_data TYPE i VALUE '1111'.
    EXPORT i_data TO MEMORY ID 'VINOD'.
    CHECK sy-subrc IS INITIAL.
    WRITE: 'Exported'.
    SUBMIT Z75694 AND RETURN.
    Second report
    REPORT z75694.
    DATA i_data TYPE i.
    IMPORT i_data FROM MEMORY ID 'VINOD'.
    WRITE:/ i_data.
    It is working fine.
    Hope this clarified ur doubt.
    Thanks,
    Vinod.
    Edited by: Vinod Kumar Vemuru on Apr 11, 2008 10:35 AM
    Edited by: Vinod Kumar Vemuru on Apr 11, 2008 10:44 AM

  • Export parameters for iDVD compatibility

    Hi everybody,
    I export some keynote presentation with sound capture to quicktime.
    When I collected several of those exports, I'd love to create a DVD with iDVD.
    When I drop the generated quicktime movies onto iDVD, iDVD will re-encode them to a proper iDVD format for burning.
    I noticed that when I use Share->Transfer to... -> iDVD, Keynote generates a quicktime movie that is included in iDVD but that does NOT require a new encoding of the movie.
    My question is: Which Keynote quicktime export parameters should I use in Keynote to prevent re-encoding in iDVD? (codec, format, speed, throughput, etc. are they all important?)
    Many thanks for your help.

    Hi,
    Check the below code
    PERFORM get_materialbatch CHANGING i_mchb.
    FORM get_materialbatch  CHANGING fp_i_mchb TYPE ty_tab_mchb
    The values that are changed will get updated in the i_mchb..
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 10, 2008 3:13 PM

  • Handling Export Parameters

    Hi Friends,
    How to handle the export parameters from a BAPI? When i import a BAPI as a model the context has got two interfaces - BAPI_xxx_Input and BAPI_xxx_Output. The BAPI_xxx_Input has got both the import parameters and the tables parameters under output.I have created a service controller for this model and created a model node corresponding to BAPI_xxx_Input. So I am recieving the TABLES under the same node after wdContext.currentBapi_xxx_Input.modelObject().execute().
    This is ok with the TABLES and i am getting the return values. But When i try to bind the Export parameters (Structures) i end up with an error. So i had to create a model node corresponding to the BAPI_xxx_Output and bound all the export parameters. But i am not getting any values for the export parameters.
    Theres no execute method under wdContext.currentBapi_xxx_Output.modelObject()
    How to go about it? Thanks in advance.
    Nathan.

    Got it solved

Maybe you are looking for

  • ISight not behaving in brand new MacBook

    Hi. I've had my MacBook three days. Whenever I launch Photo Booth, I get a few seconds of motion before the picture freezes. If I get click to another active window and back again, the same thing happens. If I click to take a picture, it takes an ima

  • Some Concerns Before Snow Leopard Upgrade

    Hey. I have a white MacBook 2.2 GHz2.2, 4 GB RAM and I wanted to get any input from others with this model about any issues with the OS X 10.6. My main concerns before installation are running Photoshop CS4 and the Intel GMA X3100 performance, my ext

  • Officejet 7410 shows "Remove and check color cartridge" on display.

    I have removed and checked the Color Cartridge and replaced it.  No change. I carefully cleaned the cartridge contacts with distilled water. Still no change. I went and bought both a new Color Cartridge (#97) and a new Black Cartridge (#96). Installe

  • When importing files from desktop to laptop using home sharing, files fail to copy "An unexpected error occured (-50)"

    So I'm trying to copy my library from my desktop computer to my laptop. I'm using the import feature when browsing the other library through Home Sharing. Some files wil copy, anywhere from 6-150 songs then it will fail. I have 6000 songs to copy, so

  • Download lion without install

    I just bought a standalone copy of osx 10.7. But I want to install onto a different computer than the one I've downloaded to. How do I do this? It appears that it simply wants to go straight to install. If I do the install on this computer, can I sti