Customers RFC TO PI

Hi!
  I have a ABAP to send the Custumers Data to External System by PI.
  CALL FUNCTION 'YMC1_RFC_CARGA_CLIENTES_DUMMY'
    DESTINATION 'ECC_TO_PI'
    TABLES
      in_t_clientes           = p_in_t_clientes
      in_t_clientecomplemento = p_in_t_clientecomplemento
      in_t_clienteareavendas  = p_in_t_clienteareavendas
      in_t_clientecontato     = p_in_t_clientecontato
      in_t_clienteendereco    = p_in_t_clienteendereco
      in_t_clienteusuariox    = p_in_t_clienteusuariox
      in_t_clientefaber       = p_in_t_clientefaber
      in_t_cliente_voltaaulas = p_in_t_cliente_voltaaulas
    EXCEPTIONS                                     
      system_failure = 1 MESSAGE lv_rfcmsg         
      communication_failure = 2 MESSAGE lv_rfcmsg  
      OTHERS = 3.                                  
**BEFORE IT DID NOT  HAVE THIS COMMAND
                            " EXCEPTIONS                                                                               
system_failure = 1 MESSAGE lv_rfcmsg    
                                          communication_failure = 2 MESSAGE lv_rfcmsg  
                                           OTHERS = 3.    
   And it had a Shot Dump
   "ShrtText                                                                                |
"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:
What happened?
Error in ABAP application program.
The current ABAP program "SAPLYMC1_GF" had to be terminated because one of the
statements could not be executed.                                                                
AND NOW.
  It has a SHOT DUMP.                        WHAT DO I DO?
    ShrtText
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
|    triggered on purpose by the key word MESSAGE (type X).                                
Thanks.

Hi Hari,
        No need to do any extra configurations for sender RFC scenario. You can directly import your RFC from your R/3 to IR and proceed with the design steps if the initial configuration/connection is there from your R/3 to PI.
Please go through the blogs below:
The specified item was not found.
http://wiki.sdn.sap.com/wiki/display/XI/RFCtoFILE
Thanks and Regards,
Naveen

Similar Messages

  • Service Desk for VAR - RFC Connections to customers

    Hi all,
    I'm trying to implement Service Desk for a VAR provider, however, I didn't found until now how to connect customer systems to Solution Manager in the VAR provider site.
    I was able to create systems in SMSY automatically, as the Business partners and OSS users, but in SMSY the system has no Client (000,100,800) assigned and could not get it as no read RFC for system is maintained. Should this RFC be created using SAPSERV connection via marketplace (automatically or not) or using a simple direct SAPRouter connection to customer? anyone know how can I proceed or know some online documentation available?
    Manually maintain this connections could be very anoing as we have a lot of customers and systems.
    Thanks in advance for you help.
    Best Regards
    Pedro Rodrigues

    Hi Pedro,
    normaly you don't need those RFCs as a VAR, that's right. With the new note 1320545 you also get product versions updated from OSS into SMSY. However if you require all patch levels of your customers in SMSY to do MOPZ you need RFC or SLD connection. You can generate RFCs connections from the SMSY system client screen for ABAP instances. There is a button "Router information" where you can maintain your and your customer's SAProuter IP adresses. These will be included in the routstrings of the generated destinations. Of course this must be done manually for each customer system because SAP suport Portal doesn't know your customers passwords and routers.
    Regards
    Andreas

  • RFC to get sales orders for customers from r/3 to crm ..

    Hello,
    Is there already a FM (RFC) in place to get the list of sales orders from r/3 to crm.
    CRM middleware is not configured to get this data from r/3 to crm .. so am looking out for a r/3 FM module which i could call from crm system to get the sales orders as an export parameter ..
    Regards
    Shivani

    Hi,
    If you are replicating the sales order from R3 to CRM then you will get all the orders present in CRM. If that is not the case then you need to write one RFC in R3 to get the desired data as R3 is governed by Select queries on tables instead of Function modules in CRM.
    So if you want to fetch any information from R3 then you need to create RFC and use select query to get the data.
    Thank you.
    Ashish

  • Problem with RFC and empty table

    Hi,
    I have a problem using and RFC function module. The problem is that the RFC returns a table type, but even though the table is emtpy the tag is returned. I have this target structure who has a required subsstructure:
    Input:
    <RFC_function_module>
    <customers>
      <customer1>   
        <table1>  (0..1)
          <item>  (0..Unbounded)
           <salesorder>
      <customer2>   
        <table1>
          <item>
             <salesorder>
        <table2>     
           <item>        
              <accountdoc>
    result:
    <customers>
      <list1> (0..1)
        <table1> (1..Unbounded)
      <list2> (0..1)
        <table2> (1..Unbounded)
    The problem is that if i just do at simpel mapping the mapping returns error because the missing table2 in the result. Then i have tried with an Exists function but it seems like the mapping program searches the hole file for just one occurences. Not record by record.
    Do anyone understand my problem an has a solution?
    /Jakob

    OK - what do you mean by to level of mapping? Mapping to an "internal" structure first and then for the final output?
    The reason i do not whant to change the External defintions is because of changes. If the ones who have designet the external defintions ie.  adds a field or something like that, we should remember to change this kind of thing before updating.
    Jakob

  • Trusted RFC and Remote logon not possible due to Nat'd IP addresses

    Hi,
    We are trying to connect our SolMan 4 to our cusotmers ECC 6 and BI7 systems, the systems are off site and the IP addresses for the customers systems are nat'd when they come in and go out from our Network.
    The problem we get is that we cannot set up Trusted systems or Remote Logon to these systems due to issues with the Nating of the IP adresses. We can set up all standard RFC's after adding the the appropriate addresses into the hosts file and they work fine. But the trusted RFC does not set up properly and the BACK rfc from the satelite system does not get set up properly. What appears to happen is that when you try to start a remote session SAP goes to the satelite system and finds the Instance Name and the local IP address rather than the NAT'd IP address and try's to open a session from there. I found this by going into the trusted RFC in SM59 and then going to Extra's, System Information, Target System, this then tells me the Target System information, where it shows the System ID and IP address (which is the incorrect IP address).
    Anyone know how we can get the system to try to have the correct IP adress in the target system information so that we can get Remote Logon's to work??
    Cheers

    Hi Carl,
    Based on your explanation about Nating,, how will the RFC determine to connect to Solmans internal IP after it has been directed to the IP for the Router connection.
    I feel it is like configuring a jump of RFCs from one IP to another in a single chain.
    Can this be done ?? I mean we have to specify an IP in the RFC connection right.. so how will the automatic jumping of IPs be done.
    Sorry not answering the question but its very interesting and wanted to know.
    Also went trough note # 148832, might help.
    Regards,
    Kaustubh.
    Edited by: Kaustubh Krishna on Aug 13, 2009 12:17 PM

  • RFC Destination - Unicode / non - Unicode behavior

    Hi All,
    In our current production system the RFC destination from R3 to Xi is non-unicode.We have currently 300 Interfaces running using this RFC destination in production.
    In few upcoming requirements for some 15 Interfaces some special characters will come from R3 to Xi system.In this case we need a unicode RFC Destination.
    I have a query here , can i go ahead and change the existing RFC destination to Unicode or is it suggestible to create a new RFC destination only for these 15 Interfaces?
    Need expert advice on this?
    <<Text removed>>
    Regards,
    RK
    Edited by: Matt on Oct 5, 2011 9:38 AM

    Hello,
    The Non-Unicode Single code page systems are supported by SAP for older applications for historical reasons - unicode was not available when they were released. These systems are restricted to only processing characters from their specific code page. This means their can be restrictions if they need to support language combinations that span multiple code pages - basically it is not possible. In addition some languages are not fully available at all for single code page systems like Thai. In addition the Euro symbol is not available.
    Unicode is the future for all applications - SAP or otherwise. The significance at the moment is where customers who needs to convert to unicode to support additional business requirements like additional languages. Converting a system, although a simple process is not a trivial process in terms of time and resources.
    So u can go ahead and change the existing RFC destination to Unicode .it will not create any prob. for other interfaces which are using non unicode setting.
    Regards
    Monica

  • RFC system error for destination GTADIR_SERVER

    I just installed trial version 7.0 ABAP SP12. I started the learning path displayed in SE80, create a table and some class for working with it.
    When trying to create a data-element I get the error "RFC system error for destination GTADIR_SERVER". Any hints about what this server is and how to set it up?

    This message is not supposed to appear for customers, but it doesn't cause any harm either.  You can click through and ignore it. 
    The message is removed for customers in SP13.  Check OSS Note 1063482.

  • IDoc via RFC problem between certified app and SAP ECC 5.0 on AS/400

    Greetings.
    I'm not sure this is the best forum for this question but here it goes:
    Ever since 2000, we have our certified application for HR-PDC interface. We never had any problem that would be hard to resolve.
    Recently, we had a customer who installed our app to exchange data with SAP ECC 5.0 on an AS/400 machine (first time interfacing with this platform for us).
    We already checked all user permissions and every SAP note that mentioned this problem but it still doesn't work: when receiving and IDoc (just any), we get the error IDOCTYPE_READ_COMPLETE:OBJECT_UNKNOWN.
    Permissions for user are SAP_ALL and SAP_NEW and the IDocs used are the ones stated in the HR-PDC interface (for example, HRCC1DNPERSON, for instance).
    I traced down the problem by examining the .trc files (RFC trace files) and I found where the problem lies: IDOCTYPE_READ_COMPLETE is being passed the IDoc Basic Type HRCC1DNPERSON and it should be HRCC1DNPERSON01. I did the same tracing for another installation (not AS/400 with SAP 4.6) and everything goes fine: IDOCTYPE_READ_COMPLETE is called with correct HRCC1DNPERSON01.
    I'm wondering if this could be a problem in SAP 5.0 for AS/400 as we already have other customers running the same version on different platforms and everything just goes fine.
    Any clues, anyone?
    Thanks and regards,
    André Baptista

    hi
    we have a similary problem with our certified as400 application. Our client has the version 4.6C service pack 51 and patch 2161. Data transfert by RFC is ok but we have problems since the installation of the patch 2252. The RFC function RFCaccept do not run any more : the log
    <i>argc    = 2                                                           
    argv[0] = 'HLSAP45A/HLKA15C'                                          
    argv[1] = '-DCP03'                                                    
      Fri Nov 24 14:21:53 2006   *                                      
    <==  RfcAccept                           rfc_handle = RFC_HANDLE_NULL 
    <==  RfcLastError                                                     
    RFC operation/code:  RfcAccept                                        
    ERROR/EXCEPTION                                                       
    key     : RFC_IO5                                                     
    status  : CODE=CM_PRODUCT_SPECIFIC_ERROR STATUS=??? DATA=??? ID=???   
    message : LOCATION    CPIC (TCP/IP) on local host                     
    ERROR       connection to partner broken                              
    TIME        Fri Nov 24 14:21:53 2006                                  
    RELEASE     45A                                                       
    COMPONENT   NI (network interface)                  
    VERSION     31                                      
    RC          -6                                      
    MODULE      nio4i.c                                 
    LINE        891                                     
    DETAIL      NiPRea                                  
    internal: IO HANDLE=1 DRV=??? LINE=1369 CODE=5      
    <==  RfcClose  </i>                                     
    Do you have solve your problem ?
    thanks

  • BC to PI to RFC / RFC to BC scenarios help

    Hi
    I have a scenarios to work on the Business Connector <> PI <> RFC (R/3) wise versa, I don't have any idea about the BC connectors. Please help on these with your experience and knowledge, like what I need to get from BC side for BC Receiver and BC sender Adapters(PI 7.0).
    Thanks
    Vasu

    Hi Vasu,
    SAP Business Connector:
    The SAP Business Connector is a middleware product based on webMethods’ B2B Integration Server. It allows you to integrate with R/3 using open and non proprietary technology. SAP BC uses the Internet as communication platform and XML/HTML as data format. Thus it seamlessly integrates different IT architectures with R/3.
    SAP BC allows for full bi-directional communication to and from R/3. On the one hand all SAP functionality accessible using BAPIs and IDocs can be made available to business partners over the Internet as secure XML-based services. On the other hand applications and information running on a remote web site can be instantly invoked by a simple SAP function call thus making the information of the Web available to an R/3 System.
    SAP BC provides an XML layer on top of R/3 functionality so that other applications do not need any understanding of R/3 internal data structures or protocols. You can deploy SAP BC to simply but effectively achieve business-to-business integration between trading partners, thereby extending the reach of your SAP infrastructure to customers, partners and suppliers. Examples for applications may include real-time integration between supplier inventories and your SAP System or multi-vendor product, price and availability information and your purchasing application.
    For further Information on the same see WHAT IS SAP BC ?
    SAP XI:
    SAP Exchange Infrastructure (XI) enables you to implement cross-system business processes. The aim of the Exchange Infrastructure is to integrate different versions of SAP and non-SAP systems implemented on different platforms (Java, ABAP, and so on). The Exchange Infrastructure is based on an open architecture, makes uses of open standards (in particular those from the XML and Java environments) and offers services that are essential in a heterogeneous and complex system landscape: Namely a runtime infrastructure for message exchange; configuration options for managing business processes and message flow; and options for transforming message contents between the sender and receiver systems.
    Check the following links:
    Also go through the following links:
    /people/bla.suranyi/blog/2006/07/10/xi--sap-business-connector-integration-using-the-http-adapter
    https://websmp106.sap-ag.de/~sapdownload/011000358700005272252005E/BC2XIMig-RZ.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
    /people/kamaljeet.kharbanda/blog/2005/09/16/xi-bi-integration
    Amaresh

  • Table parameter does not contain values in RFC call

    Hello Experts,
    I created RFC in R/3 with table parameter I_CUSTOMER. This RFC will be called by the CRM to pass all the customers data to R/3. The RFC was triggered by CRM passing 20 entries in I_CUSTOMER. However, when the debugger jumps in R/3 the table I_CUSTOMER in R/3 is empty. Can anyone help me to resolve the issue? any idea? thanks in advance!
    Best Regards,
    Alezandro

    Hi Alezandro ..
    what is the type of table parameter I_CUSTOMER u have declared??
    if CRM is passing 20 values through  I_CUSTOMER, u must take
      type <b>TABLE TYPE</b> which is to be created in dictionary.
    if it doesn't helps u ...can u be more clear??
    Ram

  • Its very urgent ...Rfc deffinately rewarded with 10 points....

    Hi Experts....this is my requirement...plz help me in this ...case
    here we have TWO Databases: Db1 , db2 (this intereact with the Third Party),
    In SE38 ABAP Editor : we have to write a programme
    in this we have to SELECT-OPTION is Used Four Fields and validate them before sending to database (Db1,db2)
    after validating we have to send them to databases(Db1,db2) through RFC call in this we have to check whether thease orders or Loacked in DB1 and not locked in DB2(Thirda party) if this condition met then we have to displays the second screen to the User and in the second screen we have to Use Table Controle in that we have to displays thease
    1,SHIP TO ADDRESS
    2,ORDER QTY.
    3,CRAD changes.
    4,SOS Changes.
    we have to allow the user to enter any one changes like
    reamainig fields we have to freez it , in this screen we have to put three command buttons like SUBMIT,PEND,BACK,CANCEL,
    If he clicks SUBMIT button it has to update in sales order ,by using VA02, and update in the DB1,DB2
    Message was edited by:
            hari prasad
    Message was edited by:
            hari prasad
    Message was edited by:
            hari prasad
    Message was edited by:
            hari prasad

    Hi Prasad,
    Try the below steps
    1.Configure the DBCON table in sm30 ( check whether a connection parameter is already existing for the database you wanted to connect )
    <b>CON_NAME</b> - Connection name which identifies your connection. You can give any name up to 30 Charecter's. This name would be used in conjunction to "CONNECT TO <name>" command to make an actual connection to database.
    <b>DBMS</b> - Type of database you want to connect
                   ORA Oracle
                   INF   Informix
                   MSS Microsoft SQL Server
                   DB2 DB2/MVS
                   DB6 DB2/RS6000
                   ADA ADABAS/D
                   DB4 DB2/OS400
    <b>USER_NAME</b> - Database User name used by the connection
    <b>PASSWORD -</b> Database User Password
    <b>CON_ENV</b> - name that identifies the database instance
    2.Write a  ABAP program SE38 with Native SQL statements to update or read  external database.
    EXEC SQL.
    CONNECT TO
    ENDEXEC.
    EXEC SQL.
    SET CONNECTION
    ENDEXEC.
    EXEC SQL.
    SELECT CUSTOMERID, COMPANYNAME into :CID, :CNAME
    FROM CUSTOMERS
    WHERE CUSTOMERID = :F3
    ENDEXEC.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3b8b358411d1829f0000e829fbfe/frameset.htm
    3. when 'SUB'
    call BAPI_SALEORDER_CHANGE to change SO details in SAP , if you want to chnage in external database then u need to write Native SQL statements,
    Good Luck
    Satish

  • Send multiple records to rfc without using BPM

    Dear Experts,
    Could you please help on the following scenario.
    I need to send multiple customer master data records from a file  to rfc without using BPM.
    The following is the mapping i am using
    source                                                 Target( RFC)
    ======                                          =============
    Tree             occurance   type           Tree occurance              
    cust_mt        1..1        
       customer     0..unbound -
    >          ztest_cust( rfc )  1..1
          cname     1..1             -
    >            cname   0..1
          cno          1..1            -
    >            cno       0..1
           bank           -
    >            bank    0..1
                                                                    item :  0..unbound
             code      -
    >                                   code   0..1
             name     -
    >                                    name  0..1
             location   -
    >                                      location 0..1
    1. Multiple banks possible for one customer
    2. Multiple customers possible in datafile from mdm
    Problem 1:Only one customer record from file is being sent to RFC thouth many records are in the file, the second, third .. and so on records not being sent to rfc.
    Problem 2:
      if add o.. unbound for the rfc occurance, <messages>,<message1> tags are getting added in message mapping, and no single customer record sent to rfc..
    Your help is rewarded with good points.
    Appreciate your help.
    Thanks.
    sravya.

    Hi VJ,
    Thank you for the immediate reply.
    one more thing, when i tried to change the occurences of   ztest_cust( rfc) to 0..unbound,
    I am not seeing the occurances updated in the imported rfc structure.
    The following is the wsdl for rfc, could you please help me to add occurances 0..unbound.
    Thanks a lot.
    sraya.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" name="ZTEST_CUST" targetNamespace="urn:sap-com:document:sap:rfc:functions">
         <wsdl:documentation>
         test for mdm
         </wsdl:documentation>
         <wsdl:types>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions">
                   <xsd:element name="ZTEST_CUST">
                        <xsd:complexType>
                             <xsd:all>
                                  <xsd:element name="CNAME" minOccurs="0">
                                       <xsd:simpleType>
                                            <xsd:restriction base="xsd:string">
                                                 <xsd:maxLength value="10" />
                                            </xsd:restriction>
                                       </xsd:simpleType>
                                  </xsd:element>
                                  <xsd:element name="CNO" minOccurs="0">
                                       <xsd:simpleType>
                                            <xsd:restriction base="xsd:string">
                                                 <xsd:maxLength value="10" />
                                            </xsd:restriction>
                                       </xsd:simpleType>
                                  </xsd:element>
                                  <xsd:element name="BANK" minOccurs="0">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="item" type="ZST_CUST" minOccurs="0" maxOccurs="unbounded" />
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:all>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element name="ZTEST_CUST.Response">
                        <xsd:complexType>
                             <xsd:all>
                                  <xsd:element name="BANK" minOccurs="0">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="item" type="ZST_CUST" minOccurs="0" maxOccurs="unbounded" />
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:all>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:complexType name="ZST_CUST">
                        <xsd:sequence>
                             <xsd:element name="CODE" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="60" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="NAME" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="60" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="LOCATION" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="60" />
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
              </xsd:schema>
         </wsdl:types>
         <wsdl:message name="ZTEST_CUST.Input">
              <wsdl:part name="parameters" element="rfc:ZTEST_CUST" />
         </wsdl:message>
         <wsdl:message name="ZTEST_CUST.Output">
              <wsdl:part name="parameters" element="rfc:ZTEST_CUST.Response" />
         </wsdl:message>
         <wsdl:portType name="ZTEST_CUST.PortType">
              <wsdl:operation name="ZTEST_CUST">
                   <wsdl:input message="rfc:ZTEST_CUST.Input" />
                   <wsdl:output message="rfc:ZTEST_CUST.Output" />
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="ZTEST_CUST.SAPBinding" type="rfc:ZTEST_CUST.PortType">
              <rfc:binding style="rfc" />
              <rfc:type name="ZST_CUST">
                   <ifr:container xmlns:ifr="urn:sap-com:ifr:v2:metamodel" xmlns:xlink="http://www.w3.org/1999/xlink">
                        <ifr:descriptor>
                             <ifr:description language="EN">
                             test
                             </ifr:description>
                        </ifr:descriptor>
                        <ifr:properties>
                             <ifr:sourceSystem />
                             <ifr:sourceClient>
                             020
                             </ifr:sourceClient>
                             <ifr:release>
                             640
                             </ifr:release>
                             <ifr:category>
                             structure
                             </ifr:category>
                             <ifr:unicode1>
                             true
                             </ifr:unicode1>
                             <ifr:unicode2>
                             true
                             </ifr:unicode2>
                             <ifr:isFlatStructure>
                             true
                             </ifr:isFlatStructure>
                        </ifr:properties>
                        <ifr:definition>
                             <ifr:internalLength1>
                             180
                             </ifr:internalLength1>
                             <ifr:internalLength2>
                             360
                             </ifr:internalLength2>
                             <ifr:fields>
                                  <ifr:field name="CODE" category="simple">
                                       <ifr:descriptor />
                                       <ifr:properties>
                                            <ifr:helpValuesSupported>
                                            false
                                            </ifr:helpValuesSupported>
                                            <ifr:offset1>
                                            0
                                            </ifr:offset1>
                                            <ifr:offset2>
                                            0
                                            </ifr:offset2>
                                       </ifr:properties>
                                       <ifr:definition>
                                            <ifr:scalarType>
                                                 <ifr:definition>
                                                      <ifr:type>
                                                      CHAR
                                                      </ifr:type>
                                                      <ifr:abapType>
                                                      C
                                                      </ifr:abapType>
                                                      <ifr:length>
                                                      60
                                                      </ifr:length>
                                                      <ifr:internalLength1>
                                                      60
                                                      </ifr:internalLength1>
                                                      <ifr:internalLength2>
                                                      120
                                                      </ifr:internalLength2>
                                                      <ifr:decimals>
                                                      0
                                                      </ifr:decimals>
                                                 </ifr:definition>
                                            </ifr:scalarType>
                                       </ifr:definition>
                                  </ifr:field>
                                  <ifr:field name="NAME" category="simple">
                                       <ifr:descriptor />
                                       <ifr:properties>
                                            <ifr:helpValuesSupported>
                                            false
                                            </ifr:helpValuesSupported>
                                            <ifr:offset1>
                                            60
                                            </ifr:offset1>
                                            <ifr:offset2>
                                            120
                                            </ifr:offset2>
                                       </ifr:properties>
                                       <ifr:definition>
                                            <ifr:scalarType>
                                                 <ifr:definition>
                                                      <ifr:type>
                                                      CHAR
                                                      </ifr:type>
                                                      <ifr:abapType>
                                                      C
                                                      </ifr:abapType>
                                                      <ifr:length>
                                                      60
                                                      </ifr:length>
                                                      <ifr:internalLength1>
                                                      60
                                                      </ifr:internalLength1>
                                                      <ifr:internalLength2>
                                                      120
                                                      </ifr:internalLength2>
                                                      <ifr:decimals>
                                                      0
                                                      </ifr:decimals>
                                                 </ifr:definition>
                                            </ifr:scalarType>
                                       </ifr:definition>
                                  </ifr:field>
                                  <ifr:field name="LOCATION" category="simple">
                                       <ifr:descriptor />
                                       <ifr:properties>
                                            <ifr:helpValuesSupported>
                                            false
                                            </ifr:helpValuesSupported>
                                            <ifr:offset1>
                                            120
                                            </ifr:offset1>
                                            <ifr:offset2>
                                            240
                                            </ifr:offset2>
                                       </ifr:properties>
                                       <ifr:definition>
                                            <ifr:scalarType>
                                                 <ifr:definition>
                                                      <ifr:type>
                                                      CHAR
                                                      </ifr:type>
                                                      <ifr:abapType>
                                                      C
                                                      </ifr:abapType>
                                                      <ifr:length>
                                                      60
                                                      </ifr:length>
                                                      <ifr:internalLength1>
                                                      60
                                                      </ifr:internalLength1>
                                                      <ifr:internalLength2>
                                                      120
                                                      </ifr:internalLength2>
                                                      <ifr:decimals>
                                                      0
                                                      </ifr:decimals>
                                                 </ifr:definition>
                                            </ifr:scalarType>
                                       </ifr:definition>
                                  </ifr:field>
                             </ifr:fields>
                        </ifr:definition>
                   </ifr:container>
              </rfc:type>
              <wsdl:operation name="ZTEST_CUST">
                   <ifr:container xmlns:ifr="urn:sap-com:ifr:v2:metamodel" xmlns:xlink="http://www.w3.org/1999/xlink">
                        <ifr:descriptor>
                             <ifr:description language="EN">
                             test for mdm
                             </ifr:description>
                        </ifr:descriptor>
                        <ifr:properties>
                             <ifr:sourceSystem />
                             <ifr:sourceClient>
                             020
                             </ifr:sourceClient>
                             <ifr:release>
                             640
                             </ifr:release>
                             <ifr:package>
                             $TMP
                             </ifr:package>
                             <ifr:akhNode />
                             <ifr:released>
                             external
                             </ifr:released>
                             <ifr:outbound>
                             false
                             </ifr:outbound>
                             <ifr:synchronous>
                             true
                             </ifr:synchronous>
                             <ifr:asynchronous>
                             false
                             </ifr:asynchronous>
                             <ifr:unicode1>
                             true
                             </ifr:unicode1>
                             <ifr:unicode2>
                             true
                             </ifr:unicode2>
                        </ifr:properties>
                        <ifr:definition>
                             <ifr:parameters>
                                  <ifr:parameter name="CNAME">
                                       <ifr:descriptor>
                                            <ifr:description language="EN">
                                            Character Field Length = 10
                                            </ifr:description>
                                       </ifr:descriptor>
                                       <ifr:definition>
                                            <ifr:scalarType name="CHAR10">
                                                 <ifr:properties>
                                                      <ifr:helpValuesSupported>
                                                      false
                                                      </ifr:helpValuesSupported>
                                                      <ifr:fixedValuesListDefined>
                                                      false
                                                      </ifr:fixedValuesListDefined>
                                                      <ifr:mixedCaseSupported>
                                                      false
                                                      </ifr:mixedCaseSupported>
                                                      <ifr:signedNumber>
                                                      false
                                                      </ifr:signedNumber>
                                                 </ifr:properties>
                                                 <ifr:definition>
                                                      <ifr:type>
                                                      CHAR
                                                      </ifr:type>
                                                      <ifr:abapType>
                                                      C
                                                      </ifr:abapType>
                                                      <ifr:length>
                                                      10
                                                      </ifr:length>
                                                      <ifr:internalLength1>
                                                      10
                                                      </ifr:internalLength1>
                                                      <ifr:internalLength2>
                                                      20
                                                      </ifr:internalLength2>
                                                      <ifr:decimals>
                                                      0
                                                      </ifr:decimals>
                                                      <ifr:outputLength>
                                                      10
                                                      </ifr:outputLength>
                                                 </ifr:definition>
                                            </ifr:scalarType>
                                       </ifr:definition>
                                       <ifr:properties>
                                            <ifr:direction>
                                            in
                                            </ifr:direction>
                                            <ifr:class>
                                            import
                                            </ifr:class>
                                            <ifr:type>
                                            scalar
                                            </ifr:type>
                                            <ifr:optional>
                                            true
                                            </ifr:optional>
                                            <ifr:basedOnDictionaryReference>
                                            true
                                            </ifr:basedOnDictionaryReference>
                                       </ifr:properties>
                                  </ifr:parameter>
                                  <ifr:parameter name="CNO">
                                       <ifr:descriptor>
                                            <ifr:description language="EN">
                                            Character Field Length = 10
                                            </ifr:description>
                                       </ifr:descriptor>
                                       <ifr:definition>
                                            <ifr:scalarType name="CHAR10">
                                                 <ifr:properties>
                                                      <ifr:helpValuesSupported>
                                                      false
                                                      </ifr:helpValuesSupported>
                                                      <ifr:fixedValuesListDefined>
                                                      false
                                                      </ifr:fixedValuesListDefined>
                                                      <ifr:mixedCaseSupported>
                                                      false
                                                      </ifr:mixedCaseSupported>
                                                      <ifr:signedNumber>
                                                      false
                                                      </ifr:signedNumber>
                                                 </ifr:properties>
                                                 <ifr:definition>
                                                      <ifr:type>
                                                      CHAR
                                                      </ifr:type>
                                                      <ifr:abapType>
                                                      C
                                                      </ifr:abapType>
                                                      <ifr:length>
                                                      10
                                                      </ifr:length>
                                                      <ifr:internalLength1>
                                                      10
                                                      </ifr:internalLength1>
                                                      <ifr:internalLength2>
                                                      20
                                                      </ifr:internalLength2>
                                                      <ifr:decimals>
                                                      0
                                                      </ifr:decimals>
                                                      <ifr:outputLength>
                                                      10
                                                      </ifr:outputLength>
                                                 </ifr:definition>
                                            </ifr:scalarType>
                                       </ifr:definition>
                                       <ifr:properties>
                                            <ifr:direction>
                                            in
                                            </ifr:direction>
                                            <ifr:class>
                                            import
                                            </ifr:class>
                                            <ifr:type>
                                            scalar
                                            </ifr:type>
                                            <ifr:optional>
                                            true
                                            </ifr:optional>
                                            <ifr:basedOnDictionaryReference>
                                            true
                                            </ifr:basedOnDictionaryReference>
                                       </ifr:properties>
                                  </ifr:parameter>
                                  <ifr:parameter name="BANK">
                                       <ifr:descriptor>
                                            <ifr:description language="EN">
                                            test bank type
                                            </ifr:description>
                                       </ifr:descriptor>
                                       <ifr:definition>
                                            <ifr:complexType xmlns:xlink="http://www.w3.org/1999/xlink" name="ZST_CUST" type="structure" xlink:role="type" xlink:href="/Content?TYPE=type&amp;NAME=ZST_CUST" />
                                       </ifr:definition>
                                       <ifr:properties>
                                            <ifr:direction>
                                            inout
                                            </ifr:direction>
                                            <ifr:class>
                                            tables
                                            </ifr:class>
                                            <ifr:type>
                                            structure
                                            </ifr:type>
                                            <ifr:optional>
                                            true
                                            </ifr:optional>
                                            <ifr:basedOnDictionaryReference>
                                            true
                                            </ifr:basedOnDictionaryReference>
                                       </ifr:properties>
                                  </ifr:parameter>
                             </ifr:parameters>
                        </ifr:definition>
                   </ifr:container>
              </wsdl:operation>
         </wsdl:binding>
    </wsdl:definitions>

  • BAPI to get customers filtered by sales org and distribution channel

    Hi there,
    I'm writing a little portal web-app on an MS platform to allow externals to place orders directly.  I have a problem that I need to get a list of customers (for ship-to) that is filtered by the same sales org and dist chan as my sold-to company and BAPI_CUSTOMER_GETLIST doesn't return this info for filtering.  What options do I have?
    Many thanks,
    Ashley

    Hello,
    Create custom RFC function module.
    Use table KNVV to get your customer list based on sales org. & distribution channel.
    Regards,
    Sameer

  • One Solution Manager for different customers

    Hi Guys!!
    I am configuring a Solution Manager for different customers wich have a different S-users and different users to manage the solution manager system.
    My problem is that there is only one SAP-OSS RFC destination where I can fill the data only for one of the S-users. From "solution_manager" transaction you can indicate the S-user too (Edit - Global Settings) but the same problem occurs, I can fill the gap only with one S-user and I have to change this one when I want to work with different S-user.
    Can i configure the system to indicate different S-users depens on the user who I use to logon to solution manager system?
    Thank you very much in advanced,
    Edorta.

    Hi Edorta,
    you did not mention, which scenarios do you plan to use.
    Functionality to use the SolMan for many customer numbers is already available or will be added in future Support Package Stacks.
    It has been already added for
    - Maintenance Optimizer
    Note 1021275 - Maintenance Optimizer: RFC Destinations for Partners
    - Forwarding SAP Messages (with different S-Users resp. customers)
    IMG: Solution Manager -> Scenario-Specific Settings -> Service Desk -> Value Added Reseller
    Check for SAP Notes on component SV-SMG* with key word "VAR" (as Valued Added Reseller), "Service Provider"
    Best regards,
    Ruediger Stoecker
    SAP Notes added
    Message was edited by: Ruediger Stoecker

  • Customer Deletion via RFC

    We would like to delete a customer (set deletion flag) via RFC. The problem is that the BAPI_CUSTOMER_DELETE calls screens which means that it cannot be called. We want to avoid doing database updates on KNA1-LOEVM because we want such deletions recorded in the change log and properly executed.
    Are there any functions in SAP which delete customers properly without user interaction?

    Here is the sample code:
    DATA: BDCDATA TYPE TABLE OF BDCDATA.
    DATA: ITAB TYPE TABLE OF BDCMSGCOLL.
    DATA: PROGRAM LIKE SY-REPID,
          WA_BDCDATA TYPE BDCDATA.
    WA_BDCDATA-PROGRAM  = 'SAPMS38M'.
    WA_BDCDATA-DYNPRO   = '0100'.
    WA_BDCDATA-DYNBEGIN = 'X'.
    APPEND WA_BDCDATA TO BDCDATA.
    CLEAR WA_BDCDATA.
    WA_BDCDATA-FNAM     = 'RS38M-PROGRAMM'.
    WA_BDCDATA-FVAL     = PROGRAM.
    APPEND WA_BDCDATA TO BDCDATA.
    CALL TRANSACTION 'SE38'  USING BDCDATA  MODE 'N'
                             MESSAGES INTO ITAB.
    For more info, please refer to SAP online help documentation http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm

Maybe you are looking for

  • Basic query using DECODE not working as expected.

    Version:11.2.0.3 Platform: RHEL 5.8 I am trying to use DECODE function. In the below example, If the search encounters the string "Enterprise" , then the decode should return 'Enterprise' . But it doesn't seem to work. I thought some hidden character

  • Basic Questions on UITableView

    Hi, I'm trying to learn the iPhone API by creating a simple table application and I have some basic questions. There are stuff in the example code and the docs that seem to contradict, and I'm hoping some people can clarify. 1) Table View Programming

  • CDC timestamp / JRN Date

    Hi, I need to record in my target table the timestamp recorded in the CDC change table field TIMESTAMP$ .. This field is propagated through to the journalized views and eventually appears as the JRN_DATE field when you selected Journalized data only

  • Read application server directory and file

    Hi,   I'm using the FM "RZL_READ_DIR_LOCAL" to retrieve the application server directory and filename.  The returned result contain all the directory name and filename.  Is there any other FM can separate the result into directory and file?? Regards,

  • Migrating MS SQL 2005 to Oracle 9i  (sqlserver_utilities can't compile)

    The package sqlserver_utilities can’t compile. (SQLSERVER_UTILITIES Body Compiled (with errors) ) I am migrating a MS SQL 2005 database to an Oracle 9i database. I have the following installed: •     Oracle 9i Enterprise Edition Release 9.2.0.1.0 –Pr