Export Parameter is blank....Business Connector

Hi,
I am using Business Connector to create a sales order thru web..
For this i have created an RFC which internally calls a BAPI that creates sales order...in the BAPI some user Exits will get called in them i am exporting some message to MEMORY ID & importing after retuning to the RFC and assigened it to one of the export parameters of RFC ...Everything is wrking fine when I am testing the RFC on R/3..but thru BC the Export parameter is blank..
I have tried set/get parameters & atlast ztable also...nothing is wrking..
what might be the problem?How to capture that msg & display thru web?
(Note : when dat export parameter is hardcoded in RFC that is getting displayed thru BC)
Thanks in advance
Swathi Vuddala

Hi,
Have look at this,
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
Regards,
Akshay.
reward points if find useful.

Similar Messages

  • RFC function callls a SAP Business Connector Flow - only upper case

    Hi everybody,
    I wrote a function in SE37 which is calling a Flow in SAP Business Connector.
    R/3 and SAP BC, both are Non Unicode systems.
    The export parameter is TYPE makt-maktx.
    The call to SAP BC works fine. Only all the text I can see in the pipeline of SAP BC is upper case.
    I checked wether the domain of the makt-maktx allows case sensitive texts.
    This is OK.
    I have no idea how I can tell SAP BC to receive case sensitive texts.
    I checked the forums. Seems nobody had such a problem.
    Can somebyody help?
    Best regards
    Jochen
    Hi to all,
    it was not the JAVA Version, or a bug or whatelse.
    I just ingnored while testing in SE37 that there is
    a Flag [X] case sensitive - That's all!
    Shame on me!
    Greetings Joe
    Message was edited by:
            Jochen Seeliger

    Hi Priya
    Seeing the messages, it appears that server is down.
    "java.net.ConnectException" occurs whenever you try to connect to a system which is not up and running.
    cheers
    Sameer
    PS: Please award points if you find the answer useful

  • Query Related to Business Connector

    Hi,
    I'm currently working on Business Connector, which is new to me. I am going through the reference documents to understand the working of the same. However, the requirements have started pouring in.
    As of now, I have the follwoing requirement.
    I've a SAP Function Module say "Z1234" which is RFC enabled. To this FM, all export paramets which are passed are FIELDS, none are table(s).
    Now what i require is to fetch this data into Business Connector by writing some code in Business Connector whose FRONT END is JAVA.
    Can anyone in here help me to achieve this requirement?
    Suggestions welcomed.
    Thanks & Regards,
    Rajesh

    HI,
    I think Scenario based is better
    1)  It's more reasonable to manage your documentation with the business process since they are quite related
    2)  I suggest that you use the check out /check in functionnality to prevent the modification from multiple users at the same time
    3)  As the changes happen some time, which means you have to maintain the related document often, it would be a good idea to use the link but not the copy of document
    4)  In most case, i would insert documents of various types in different tabs like Trainning materials, project documentation, test in SOLAR02
    5) What's more, if all your user guides are uploaded to the Trainning material tab, you will be able to use the existant documents to supply the SOLAR_LEARNING_MAP, which in my opinion, simplifies a lot the tranning session of any global-rollout
    Jiamin Pan

  • JCO Timeout for SAP Business Connector 4.7

    Environment :
      Windows 2000, SAP Business Connector (BC) 4.7
    General Description :
      SAP BC is used to invoke BAPI's in the SAP R/3 system.
    Issue :
      Some BAPI's are taking some time to return response depending on user load. Need to provide a timeout for RFC calls invoked by SAP BC using JCO.
      Following is the entry in the rfc trace log file when BC starts up ...
    000000  -
      2005-05-12 11:07:20 EDT
    000001  [B2B-SAP.0011.0001] [JNI-LAYER] RFC.nativeSetTraceLevel()                with rc = RFC_OK   leave, [SUCCESS]
    000002  [B2B-SAP.0002.0022] Log level set to 10
    000003  [B2B-SAP.0002.0025] Registered SAP package trace with core trace
    000004  [B2B-SAP.0002.0014] Starting SAP services
    000005  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.setProperty(jco.jdsr.comp_name, SAP BC server0023 5555)
    000006  [B2B-SAP.0003.0001] Loading native libraries
    000007  [B2B-SAP.0003.0002] JCO version: 2.1.4 (2004-10-20) sapjcorfc 2.1.4 (2004-10-20)
    000008  [B2B-SAP.0003.0004] jRFCLibrary info: 2.1.4 (2004-10-20)(C:\sapbc47\Server\packages\SAP\code\libs\sapjcorfc.dll)
    000009  [B2B-SAP.0003.0003] RfcLibrary version:
    This RFC library belongs to the SAP R/3 Release *** 640,0,41  *** MT-SL
    Versions of SAP internal libraries:
      dptr:    2
      ni  :   37
      cpic:    3
      rfc :    3
    00000A  [B2B-SAP.0011.0001] MiddlewareRFC.setProperty(jco.middleware.wait_for_request_time, 1)
    00000B  [B2B-SAP.0002.0016] Loaded SAP server configurations
    00000C  [B2B-SAP.0002.0015] SAP services started
    00000D  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setAbapDebug(false), current state false
    00000E  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setTrace(true), current state false
    00000F  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setAbapDebug(false), current state false
    000010  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setMaxWaitTime(30000)
    000011  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setConnectionTimeout(600000)
    000012  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setTimeoutCheckPeriod(30000) on pool SERVER-300&USER_RFC&300&EN
    000013  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.PoolManager.addPool:
          name = SERVER-300&USER_RFC&300&EN,
          connection = USER_RFC|300|EN|AS=[11.12.7.296|00|]G0|,
          pool_size = 10,
          max_wait_time = 30000,
          pooled_connection_timeout = 600000,
          timeout_check_period = 30000
    000014  [B2B-SAP.0005.0003] Pool changed: SERVER-300&USER_RFC&300&EN containing 0 connection(s)
    007E72  [B2B-SAP.0006.0001] Executing invoke for ZBAPI_TEST_Service on SERVER-300
    007E73  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.execute (ZBAPI_TEST_Service) on handle [2]
    Questions :
       1) Is there a SAP BC configuration parameter for RFC execution timeout ??
       2) Any other way of enforcing the RFC time out ??
       3) If there is a way to set timeout on JCO.Client.execute method ??
    I really appreciate your help !!

    I have tried changes the connection timeout value but if doesnot affect the time RFC. Following is from SAP BC adapter  guide ..
    Delay (minutes) until an unused connection to a SAP
    System is timed out (default: 5)
    I think I need similar setting as that for RFC connection !!

  • IDoc Inbound Business Connector

    Hello
    I am trying to send an inbound IDoc to SAP via Business Connector. This is shortly to be replaced by XI.
    The flow in Business Connector creates a routing rule which is blank because it is not finding the control information from the IDoc I believe.
    I think I am missing a step in my flow.
    Currently the flow is
    document to record
    Transform hierarchy to Flat.
    Map ( mapping the fields into the IDoc)
    Record to Idoc
    Inbound process
    The inbound process always fails because it doesnt recognise the message type, sender etc.
    This is all the idoc and in record to Idoc this is an input with an output of Idoc list which is passed to the inbound process.
    However Idoclist I believe doesn't seem to contain any data.
    I think a step is missing can anyone help??
    Thanks

    Hi,
    Please see this.
    Hi,
    BC adapter can be used when you want to communicate to a existing interface on Business Connector. If you are talking to SAP, you use RFC / IDOC adapters.
    The SAP Business Connector (BC) is used in a large number of SAP production environments. SAP Business Connector will probably be gradually phased out and replaced by SAP XI technology. For the short term SAP Business connector and SAP XI will inevitably continue to coexist in companies IT landscapes.
    See Below links
    Integrating your SAP Business Connector with SAP XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/96ed2129-0b01-0010-2e91-c45e1fad0d03
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4f27ad80-0c01-0010-f8b8-c5e153a16ca1
    Before XI
    Before XI
    webMethods Integration Server Vs.  SAP Business Connector 4.7 (BC)
    Choose the Right Adapter to integrate with SAP systems
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Thanks
    akshay

  • BAPI_TRANSACTION_COMMIT in Business Connector

    Hi,
    I am moving business partner master data into CRM via the business connector, using BAPI_BUPA_CREATE_FROM_DATA. This BAPI requires a 2nd BAPI: BAPI_TRANSACTION_COMMIT as a closing step. However, the BuPa is not saved in the database.
    The 1st BAPI returns without errors and a business partner number. The 2nd BAPI is called with WAIT = X.
    I think the problem is that the second BAPI is called in another LUW or session. I also tried using a sequence, but still the error occurs.
    Can someone help me?

    Hi,
    You can also try:
    1. pub.sap.client:createTID and assign created tid to variable $tid
    2. INVOKE sap.map:outbound for your BAPI and assign created tid in step 1 to parameter $tid
    3. pub.sap.client:confirmTID and assign created tid in step 1 to parameter $tid
    It should work.
    Krzys

  • Business Connector  : get querystring variables in url

    Hi;
    I have a server service in Business Connector .
    a client post a url like this
    http://10.10.10.10:5555/invoke/MM/mm2sms?drug_code=905913&drug_desc=aaaaa
    I have to get these variables drug_code,drung_desc and assing to a recordList..
    Firstly Which methods do i have to use and how?
    stringToDocument , documentToRecord?
    Thanks.

    Just declare these parameter names as input variables of type String in the Business Connector service. Then you will have them in your pipeline automatically.
    CSY

  • Service for delete local files in Business Connector

    I have used the "get" service for copy the files in the Business connector, does anybody know if there is any service for delete local files, i have seen the service for delete remote files with ftp, but i don´t know how to delete the copied files in my server.
    Thanks in advance
    regards

    Hi Carlos,
    For this issue the best choice is create your own Java Service. I attach you the Java code:
      Put this code in a new Java Service
             boolean success = (new File("filename")).delete();
             if (!success) {
                 // Deletion failed
       Before, you must to create an input parameter in the new service where you must to save the file path. Change Filename with the input parameter variable.
       It's not difficult.
    Best Regards
    Ivá

  • Using BAPI_DOCOUMENT_CREATE2 func. in Business Connector without SAPGUI.

    We're using "BAPI_DOCUMENT_CREATE2" function to upload XML data to SAP system in Business Connector 4.7
    We use SAPGUI in Business Connector to call the BAPI function.
    But we found that there's a performance problem when using SAPGUI.
    So, we want to use BAPI_DOCOUMENT_CREATE2 function in Business Connector without SAPGUI.
    If you know how to do this, please let US know.
    Thank you.

    Hi,
    You can also try:
    1. pub.sap.client:createTID and assign created tid to variable $tid
    2. INVOKE sap.map:outbound for your BAPI and assign created tid in step 1 to parameter $tid
    3. pub.sap.client:confirmTID and assign created tid in step 1 to parameter $tid
    It should work.
    Krzys

  • Get Data from SAP over the Business Connector into a Java Programm

    Hallo dear community,
    i would like to receive data from the sap over the application business connector into a java programm. i work with the german book "SAP Business Connector 4.8 - Administration und Entwicklung".
    Now i hand on the routing rule.
    [Screenshot|http://h-2.abload.de/img/routingruleuyt9.png]
    i don't know what i should configure here for receiving data, which i need for an java programm.
    i will be very happy, when somebody got a tip or an source (tutorial) where i can find such a configuration  :wink:

    I think u r writing BDC for Uploading the data from excel flile to sap. for this is the code I am sending u can use then for Uploading data from excel to sap.
    DATA: lv_filename TYPE rlgrap-filename.
    FIELD-SYMBOLS : <fs>.
    DATA : l_intern TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    DATA : l_index TYPE i.
    PARAMETERS : startcol TYPE i ,
          startrow TYPE i ,
          endcol TYPE i ,
          endrow TYPE i .
    PARAMETERS: p_flnam LIKE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnam.
      CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       program_name        = sy-repid
      FIELD_NAME          = ' '
       IMPORTING
         file_name           = p_flnam .
      MOVE p_flnam TO lv_filename.
    Uploading the flat file from the desktop
    START-OF-SELECTION.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                      = lv_filename
          i_begin_col                   = startcol
          i_begin_row                   = startrow
          i_end_col                     = endcol
          i_end_row                     = endrow
        TABLES
          intern                        = l_intern
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT l_intern BY row col.
      LOOP AT l_intern.
        MOVE l_intern-col TO l_index.
        ASSIGN COMPONENT l_index OF STRUCTURE itab TO <fs>.
        MOVE l_intern-value TO <fs>.
        AT END OF row.
          APPEND itab.
          CLEAR itab.
        ENDAT.
      ENDLOOP.
    I hope it will help u.
    Regards
    Nayan

  • Problems with variant configuration using BAPI on Business connector

    Hi every body I need help.
    Steps.
    1.- I created an RFC with BAPI_SALESORDER_CREATEFROMDAT2 and then  a commit function,
    I call this RFC via SAp business connector
    Im triying to create a Configure order(With characteristics) I fill all configuration structures exactly  like note 567348.
    I created a sales order but when i checked ti in VA01 transaction  the order quantys are diferents at  configuration tables, if the function is executed on directly on SAP this work fine the error is only in a SAP Business Connector
    Is necesary to send another parameter when i Execute Bapis on SAPBC?
    \[removed by moderator\]
    Edited by: Jan Stallkamp on Jun 27, 2008 4:21 PM

    Hi,
    Just debug your SAP BC service in which you are calling the RFC and check if proper values are getting mappend to your input variables of RFC.
    If that is correct than there wont be much chances of problem in BC.
    \[removed by moderator\]
    Regards,
    Siddhesh S.Tawate
    Edited by: Jan Stallkamp on Jul 1, 2008 4:32 PM

  • Business Connector 4.8 :upgrade

    Dear all,
    I need to upgrade the SAP Business connector from version 4.7 to 4.8. I have already gone through the documents mentioned in service.sap.com/connectors, especially through the SAP BC migration guide. My concern is, customer does not wants to uninstall SAP BC 4.7 and proceed with 4.8, which is the normal procedure. They want to run both the versions together in the same server and once they are OK with 4.8, we can uninstall 4.7. The question is: Is it OK to run both the versions on same server? Is there any precaution I need to take before I install 4.8 in the same server where 4.7 is currently running? If it is OK, can I use the same transfer method which is described in migration guide to export and import the configurations?
    Thanks for your valueable comments.
    Rajeev

    If installation is possible, the ports can be configured to use different onces in each server...
    But as I said before, why compromising a productive box with experiments when running Business Connector is possible in a regular desktop for testing purposes.
    Thats my 2 cents
    Regards
    Juan

  • SAP Business Connector Error

    Guys,
    Do you know what this error in SAP Business Connector means:
    Missing or Invalid Parameter:Sender
    Any help would be appreciated.
    Thanks,
    Sathya

    Now this is a broad question_
    I guess you mean: IDOC handling
    This means usually, that the Sender ID is not set up properly in the BC (Send/Reveice Rules). In case you don't have a 1:1 mapping, use the '*' for ALL.
    Can you please give more specific information:
    where is the Error (Log, Popup-message etc),
    what is the context (BAPI CALL, IDOC etc)
    -hs

  • SAP Business Connector and EDI

    Hi,
    I need to implement a new EDI version to use within Business Connector. However, I cannot remember where to extract the EDI template files from. Has anybody done this before and can inform me where to extract the EDI template files from.
    Thanks
    Martin

    Hi,
        DATA: L_DIRNAME LIKE EPSF-EPSDIRNAM,
            L_FILEMASK LIKE EPSF-EPSFILNAM,
    CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
        EXPORTING
          dir_name                     = l_dirname
          file_mask                    = l_filemask
    IMPORTING
      DIR_NAME                     =
      FILE_COUNTER                 =
      ERROR_COUNTER                =
        TABLES
          dir_list                     = pi_filelist
    EXCEPTIONS
       invalid_eps_subdir           = 1
       sapgparam_failed             = 2
       build_directory_failed       = 3
       no_authorization             = 4
       read_directory_failed        = 5
       too_many_read_errors         = 6
       empty_directory_list         = 7
       OTHERS                       = 8
    <b>Reward points</b>
    Regards

  • Sending of iDoc to Business Connector

    Hi Folks,
    I am new to business connector and know very little about the same.
    I have sent an idoc(MATMAS05) to the business connector. The idoc status is set to 03, which means the idoc is successfully sent to the BC. But how to find in BC whether any idoc has been received or not.
    Thank you in anticipation.

    We have made an "wrap-arround" to the FM IDOC_STATUS_WRITE_TO_DATABASE and made it RFC enabled.
    On the BC we have created an service to update the status of an IDoc to status 18. This service is placed as an "pre-proccesing service" of all routing-rules receiving IDoc's from R/3.
    If the IDoc is converted and send to the Receiver status of the IDoc is set to 39, if not status is set to 30.
    If an IDoc "only" has status 03 we look in SM59 and se why thy IDoc counld not be send to the BC.
    FUNCTION Z_IDOC_STATUS_WRITE_TO_DB.
    *"*"Local interface:
    *"       TABLES
    *"              IDOC_STATUS STRUCTURE  BDIDOCSTAT
    *"       EXCEPTIONS
    *"              IDOC_FOREIGN_LOCK
    *"              IDOC_NOT_FOUND
    *"              IDOC_STATUS_RECORDS_EMPTY
    *"              IDOC_STATUS_INVALID
    *"              DB_ERROR
      DATA: L_IDOC_STATUS LIKE BDIDOCSTAT OCCURS 0 WITH HEADER LINE.
      LOOP AT IDOC_STATUS.
        REFRESH L_IDOC_STATUS.
        L_IDOC_STATUS = IDOC_STATUS.
        APPEND L_IDOC_STATUS.
        CALL FUNCTION 'IDOC_STATUS_WRITE_TO_DATABASE'
             EXPORTING
                  IDOC_NUMBER               = IDOC_STATUS-DOCNUM
    *             IDOC_OPENED_FLAG          = ' '
    *             NO_DEQUEUE_FLAG           = 'X'
    *        importing
    *             idoc_control              = idoc_control
             TABLES
                  IDOC_STATUS               = L_IDOC_STATUS
             EXCEPTIONS
                  IDOC_FOREIGN_LOCK         = 1
                  IDOC_NOT_FOUND            = 2
                  IDOC_STATUS_RECORDS_EMPTY = 3
                  IDOC_STATUS_INVALID       = 4
                  DB_ERROR                  = 5
                  OTHERS                    = 6.
      ENDLOOP.
    ENDFUNCTION.
    Message was edited by: Kim Ternstrøm

Maybe you are looking for

  • URL redirection

    I am using web cache and OHS. I find the when I access the server by http://www.example.com/app1/ , it will go to the page that I want. But if I access the server by http://www.example.com/app1 (without the / at the end), it will redirect to http://1

  • Automatic Payment Program / Vendor Master Bank Details

    Hi All, in Vendor Master we have bank details section.for the vendor to be picked in APP, There the bank should be maintained, which is maintained in FBZP. Please correct me if I am wrong. Does the Payment Method have any role to play here?I mean if

  • "catch is unreachable" compiler error with java try/catch statement

    I'm receiving a compiler error, "catch is unreachable", with the following code. I'm calling a method, SendMail(), which can throw two possible exceptions. I thought that the catch statements executed in order, and the first one that is caught will e

  • Passing Parameters to Bounded Task Flow from JSPX

    Hi All, 1. Created a JSPX page using UIShell template.  This page contains 4 UI Components (InputComboBoxListOfValues) in SingleObjectContextArea.  Created a Managed Bean for this page and capture the selected value in ValueChangeListner and added th

  • Problems opening applications

    Hello! I have been reading tutorials on using the mac book. When I tried opening an application it just bounced up and down in the dock. The applications I tried are font book, dictionary, calculator, ichat and even dashboard. Consequently they are j