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

Similar Messages

  • Can TDMS Call a Custom Algorithm (via RFC) to Scramble a Value?

    Hi,
    Background: Our SAP is one of many systems in an integrated environment. We are looking at scrambling data across all systems for testing purposes. The implication is that if we scramble a field in a non-SAP system using a specific scrambling algorithm (provided by a non-SAP test data management tool) and that field also exists in the SAP system, then the same scrambling algorithm must be used in SAP as well.
    Question: Does anyone know or have tried calling a low level scrambling algorithm (via RFC call) to scramble the value of a field? This scrambling algorithm is a C library routine. The vendor said they can wrap it into an RFC call.
    Thank you in advance for any insights you can provide.
    Luke Lau
    IS Solutions Leader
    Insurance Corporation of British Columbia

    As far as I know calling an RFC from TDMS workbench is the same as calling an RFC from any abap program so as long as the destination is configured you shouldn't have any problems.
    Check here:
    http://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/content.htm
    Bruno

  • CSAP_MAT_BOM_CREATE problem via RFC because of 'strg-reset_sign'

    Hi!
    I have the following problem:
    I want to create a bom in SAP via RFC using the function CSAP_MAT_BOM_CREATE. The function fails if a component of the bom starts with 'X'!
    I have debugged the function CSAP_MAT_BOM_CREATE and found that there is a flag strg-reset_sign which contains an 'X' and every value of each component which starts with the same value ('X') is deleted. So all values (for example IDNRK) starting with 'X' are cleared and so I get the message "data incomplete..."
    The code doing this is:
    hlp_tabfld1 = <tabfld1>.
    check not <tabfld1> is initial.
    if strg-reset_sign is initial or
    hlp_tabfld1 ne strg-reset_sign.
    THIS CODE INSIDE THE IF IS NOT EXECUTED IF hlp_tabfld1 CONTAINS AN 'X'. hlp_tabfld1 CONTAINS THE FIRST VALUE OF EACH FIELD OF A BOM-COMPONENT IN A LOOP.
    The flag 'strg-reset_sign' is not set to 'X' when I try it inside the SAPGui with SE37!
    Is this a customizing issue or where does the flag come from???
    Thanks,
    Konrad

    Thanks for reply,
    i have debug my program and found that run time error is coming at GET_MAST function module.
    but  i have already checked that     MATNR and STLNR  is already filled before reaching to that FM.
    GET_MAST
    IF NOT SET IS INITIAL.
          IF     WA-MATNR IS INITIAL
             AND WA-STLNR IS INITIAL.
             RAISE KEY_INCOMPLETE.
          ENDIF.
          IF     WA-MATNR <> SPACE
             AND WA-STLNR <> SPACE.
             RAISE KEY_INVALID.
          ENDIF.
    please can any one provide me the solution for that.
    Regards
    Pavneet Rana

  • To get Document content via RFC

    Hi forum,
    I have a small bsp-application to show documents for a material-number stored in the SAP-tresor (via ftp).
    The SAP-tresor is installed in the core-system, the WEB-AS is another server.
    I developed a remote-enabled function module called get_doc_content_rfc. This function module reads some customizing to get all values for calling the function module CV120_DOC_CHECKOUT_TO_TABLE.
    Now, when I call my get_doc_content_rfc in the core-system, I get the document content via the function module CV120_DOC_CHECKOUT_TO_TABLE. When I call my function module get_doc_content_rfc form the developer-system via RFC in the core-system, the function module CV120_DOC_CHECKOUT_TO_TABLE dosn't deliver the document content.
    In the debugger, I can see, the function module CV120_DOC_CHECKOUT_TO_TABLE opens a ftp-connection to the server with the tresor and then reads the document content. Do I use my function module get_doc_content_rfc in the core-sysem, the ftp-connect can be established. Do I use my function module get_doc_content_rfc via RFC to the core-system, the ftp-connection opend by the function module CV120_DOC_CHECKOUT_TO_TABLE gets a time out.
    Now, my question. what can I do, to get the document content via RFC from the core-system.
    Thank you for help
    Meinolf

    Hi,
    Did you check RFC Adresses in SM59 both of two systems.
    May be different.
    ibrahim

  • Local item 0010 L  cannot be deleted via ALE

    Hi,
    I am trying to delete an line item from Sales Order BOM through BOMORD01 Idoc. When I process an IDoc, I am getting a message "Local item 0010 L  cannot be deleted via ALE" in log (SLG1). Could you please tell me how to correct this error?
    Thanks in advance.
    Regards,
    Balaji Viswanath.

    I customized IDOC_INPUT_BOMORD function module and setting memory id flg_ale = space.
    Regards,
    Balaji Viswanath.

  • What authorization required to post idoc from XI via RFC?

    Hi all,
    I need to post idoc to SAP R/3 system from XI. I have done all the steps correctly. While creating RFC in XI system to connect to the R/3 system, intially I gave my R/3 username and password and tested teh connection. Everything was working fine but when I actually ran the scenario, IDOC was not getting posted in the R/3. But there was no error anywhere.
    fianlly after debugging I fould it might be the issue of authorization the the R/3 user i used in the RFC. I then assigned SAP_ALL authorization to my user and posted the iodc again and it started working fine.
    Can anyone please tell me what are th exact authorizations/role i need to assign to the r/3 used to use it in RFC and successfully posting the idoc? I dont want to use SAP_ALL authorization in my production environemnt.
    Please help.
    Regards,
    Yash

    Hi,
    Even i had faced this problem. Whenever I tried to send IDOCs, i used to get an error in SM58, " No authorization to send IDOC of type DEBMDM".
    When i got SAP_ALL it worked. However I raised a note with SAP asking for an alternative and this is the reply gave me.
    You can get good information on this topic in your online help files.
    The following is taken from the document "General Security Measures
    (ALE)":
    Use the transaction SALE to maintain the ALE configuration, to include setting up the distribution model and setting up ALE user authorizations and profiles. Note the following:
    - Be restrictive when assigning the ALE authorizations.
    The authorization profile B_ALE_ALL contains the following
    authorization objects that are needed for ALE:
    Authorizations for ALE
    Authorization Description
    B_ALE_CGRP ALE Customizing Distribution: Group Activities
    B_ALE_LSYS ALE/EDI: Maintaining logical systems
    B_ALE_MAST ALE/EDI: Distributing master data
    B_ALE_MODL ALE/EDI: Maintaining customer distribution model
    B_ALE_RECV ALE/EDI: Receiving IDocs via RFC
    B_ALE_REDU ALE/EDI: Generating messages (ex. reduction)
    S_PROGRAM ABAP: Program run checks
    S_TABU_DIS Table Maintenance (using standard tools such as SM30)
    Protect external users and passwords.
    For example, for a non-SAP system to send IDocs to a SAP System using transactional RFC, it must also send a SAP user ID and password.
    In most cases, the user and password are stored outside of the SAP System. Make sure that this information is not accessible to external systems or programs. (How you can do this is dependent on the system that you have; therefore, you need to refer to the documentation for the system where the information is stored.)
    However, I feel assigining the profile S_IDOC_ALL should also be enough. Just try and see.
    Regards,
    Merrilly

  • Installing CCMS agent fails: calling SALS_MS_GET_LOCAL_MS_INFO via RFC

    Hi All,
    I'm trying to connect our SolMan development to the CEN. However when registering ccmsr within J2ee admin it gives the following errors.
    Does anybody have an idea?
    Output for : /usr/sap/DSM/SYS/exe/run/sapccmsr(-j2ee,-v,pf=/usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01)         
    CCMS version 20040229, 64 bit, multithreaded, Non-Unicode         
    compiled at Oct 28 2006         systemid 324 (IBM RS/6000 with AIX)         
    relno 7000         
    patch text patch collection 2006/4, OSS note 914721         
    patchno 83         intno 20050900         
    running on ijmdsm01 AIX 3 5 00C97C6E4C00
    Logfile for : /usr/sap/DSM/SYS/exe/run/sapccmsr(-j2ee,-R,-f,/tmp/csm53771.conf,pf=/usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01)      [Thr 01]   Mon Mar 26 13:29:05 2007      
    INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/DSM_00/sapccmsr      
    INFO: CCMS agent sapccmsr config file is /usr/sap/ccms/DSM_00/sapccmsr/csmconf   
    INFO: Central Monitoring System is . (found in config file)   
    INFO: additional Central Monitoring System is . (found in config file)   
    INFO: found ini file /usr/sap/ccms/DSM_00/sapccmsr/sapccmsr.ini.         
    INFO: Checking Distributed Statistical Records Library dsrlib.o    
    INFO: checking version an Unicodeness of dsrlib.o   
    INFO: DSR: Dynamic Library dsrlib.o (version 22) successfully loaded.   
    INFO: DSR: Dynamic Library dsrlib successfully loaded.   
    INFO: DSR: Path /usr/sap/ccms/DSM_00/dsr for Distributed Statistical Records.   
    INFO:         CCMS version 20040229, 64 bit, multithreaded, Non-Unicode         compiled at Oct 28 2006         systemid 324 (IBM RS/6000 with AIX)         relno 7000         patch text patch collection 2006/4, OSS note 914721         patchno 83         intno 20050900         running on ijmdsm01 AIX 3 5 00C97C6E4C00         pid 479452         profile /usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01      
    INFO: Attached to Shared Memory Key 73 (size 40000000), no pool used      
    INFO: Connected to Monitoring Segment           segment status WARM_UP           segment started at Thu Mar 22 08:58:40 2007           segment version 20040229         
    INFO: DSM:000:999999 connected to DSM, host ijmdsm01, System Nr. 00, traceflag   
    INFO: DSM release is 700 , (kernel release 700 )   
    ERROR: DSM:000:CSMREG calling SALS_MS_GET_LOCAL_MS_INFO via RFC failed, can not get version of DSM. RfcRc = 2, C_CALL_FAILED</b>     
     INFO: SLM:000:999999 connected to SLM, host rthuas50, System Nr. 10, traceflag   
    INFO: SLM release is 700 , (kernel release 700 )      
    INFO: SLM:000:CSMREG connected to SLM, host rthuas50, System Nr. 10, traceflag   INFO: SLM release is 700 , (kernel release 700 ), CCMS version 20040229      INFO: RFC logon info for SLM:000:CSMREG can be updated at any time with -R option:        sapccmsr -R           INFO: Updated saprfc.ini in agent work directory /usr/sap/ccms/DSM_00/sapccmsr   
    ERROR: Registration failed: Can't get version of DSM. RfcRc = 2, C_CALL_FAILED RFC Error Info for SALS_MS_GET_LOCAL_MS_INFO message: status: EXCEPTION C_CALL_FAILED RAISED intstat:       Mon Mar 26 13:29:10 2007   INFO: dsr: dsrlib unloaded.   
    ...closing this logfile...
    Registration of CCMS Customizing Destination   
    Error during registration of CCMS Customizing destination        
    Source system cannot be set to Unicode

    Hi,
    Check these notes.
    641339 - RZ20: CCMS monitoring context loses client assignment
    558608 - Correction: Starting/stopping LDAP Connector via CCMS
    827843 - Access Alert Analysis Methods that are Defined Locally
    Feel free to revert back.
    --Ragu

  • Data transfer via Rfcs

    Whenever the material master is created in ECC RFCs are triggered and the data is transferred to GTS via RFCs
    (no idocs are triggered)
    Is there any way out to stop this transfer
    how can can we know the mapping of what fields of ECC are mapped to which fields of the other system
    please advice

    Hi,
    let us say outbound is SAPLID server
    and inbound is SAPLER  server.
    we need to following setting in order to generate idocs. You can see the generated IDOC in WE02 TCode.
    Status code should be 03.
    In SAPLID Server :
    1. In the SALE transaction,
         - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Logical Sysems --> Define Logical Systems
              - Click on 'New Entries'
              - Enter 'Logical System' & 'Name'.
                   SAPLID             Logical System for the server SAPLID
                   SAPLER              Logical System for the server SAPLER
              - Save it.
             - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Logical Sysems --> Assign Client to Logical             System.
              - Client : 800          Sending system
                City : Hyderabad
                Logical System : SAPLID
                Std Currency : INR
                client role : Demo
         - Application Link Enabling (ALE) --> Sending and Receiving Systems --> Systems in Network --> Define Target Systems
           for RFC calls.
              - Select 'R/3 Connections' and click on 'Create' icon.
              - RFC Destination : SAPLER
                Connection type : 3
                Descripiton : RFC for Destination Server SAPLER
                Target host : SAPLER
                System Number : 00
              - Logon/Security
                Language : EN
                Client : 800
                User : USER6
                Password : RGSHYD
              - Click on 'Test Connection'.
              - Click on 'Remorte Logon'.
    2. WE 81 Message type config (DEBMAS - Customer Master)
    3. WE 30 Idoc type (DEBMAS06 - Customer Master data distribution)
    4. WE 82 - Adding Message type to Idoc type.
        DEBMAS ---> DEBMAS06
    5. WE20 Partner Profile
         Partner No : SAPLER
         Par.Type   : LS
         Type         : US
         Agent      : USER6
       OUtbound Parameters :
       Message type    :  DEBMAS
       Receiver Port   :  Zbkpfport
    Transfer Idoc Immediately
       Basic type      :  DEBMAS06
    6. BD64 MOdel View
         - Select 'model view' and click on Create Model View.
         - Technical Name : CUSTMODEL
            - Place the cursor on 'CUSTMODEL' and click on 'Add message type'.
              - Model View : CUSTMODEL
              - Sender : SAPLID
              - Receiver : SAPLER
              - Message type : DEBMAS
         - Save it
         - Environment --> Generate Partner Profile
         - Edit --> Modelview --> Distribute
    7. XD01 Create Customer Master
         - Create Customer Number : 0000000001
    8. BD12 Sending Customer Data
         - Customer : 0000000001
         - OUtput type : DEBMAS
         - Logical System : SAPLER
         - Execute it
    9. WE02 Idoc List
         - Direction : 1
         - Logical Message : DEBMAS
         - Execute it.
    in case if your IDOC is generated with errors (status would be red signal) get back me with status code.
    Regards
    Srikanth

  • How to compare two views/tabels from two systems via RFC

    Hello
    How to compare two views/tabels from two systems via RFC. I know there is a transactio or program but which

    Hi Tina,
    You can use a trnasactions like SCMP, SADJ or SCU0 - all tools to do comparison of customizing objects across clients/systems using RFC.
    Details of these tools, their usage and functionalities are available in the Help Portal -
    [http://help.sap.com/saphelp_47x200/helpdata/en/70/1accb7fab511d18e0f0000e8a48612/frameset.htm]
    Best Regards,
    Rekha

  • Attach file via RFC on an object in SAP R/3 4.6c

    Hi experts,
    I have to attach a file via a RFC into a Business Object of PM module; could be an Order (IW32) or a Note (IW22).
    I had tried the sample codes I saw in here, but none of them proved to be useful - some were not in use for me because of the lack of FM to convert from XSTRING to BINARY in 4.6c, some because of the code (not functional for RFC's)... I am searching (desperately) for directions, or a sample code (that works in 4.6c)!
    The requirements of the function I have to develop is:
    We will use R/3 4.6c integrated via RFCs with the PORTAL.
    For this FM (RFC) we have to:
    1- Receive file content directly into a XSTRING type IMPORT PARAMETER (using GOS resources).
    2- Get this content and save it on a table or ATTACH this content (file) to an PM Order or Note.
    Well, am I in the right way?! Can I develop a RFC like this in 4.6c, or is it impossible?!
    I haven't seen a solution yet for this kind of problem, and ask for your kind help, friends.
    Thanks!
    Marcos Paulo
    SAP/ABAP consultant
    Brazil

    Thanks for welcoming me, friend. Hope I can help you as much as I need your help now...!
    Unfortunately, the method you're counseling me to follow don't fit, as one of my big problems in this case is to convert the Hexadecimal value (XSTRING) brought to the RFC to a binary one BEFORE I can send it to a internal table, thus calling the FM you mentioned, as it expects a TABLE parameter filled with a binary value.
    I know that in earlier versions, there is a conversion routine that could be helpful... I think it is "SCMS_XSTRING_TO_BINARY"... but it isn't found here in 4.6c.
    Neither notes on trying this solution on a DIALOG landscape would help me, I guess. I've tryed every and each program or snippet found here in SDN, unsucessfully though...
    Guess here's the trick: the lack of built-in types and FM on this version of SAP that could help us, desperate developers, find a generic solution in time...
    Thank you, though.
    Is there any other solution? please answer in this topic.
    Marcos

  • Not able to generate AS2 MDN when receiving custom XML via AS2

    Hi friends,
    I have setup the trading partner and the corresponding TP certificate import for receiving the custom XML via AS2 channel.
    I am receiving the custom xml properly to oracle b2b and able to receive the same to bpel as well. however in the oracle b2b console under reports tab i am seeing only one record for inbound document receive and i am not seeing the other record for the AS2 MDN going back to vendor. I have setup the AS2 channel under the external trading partner --> Channel using the vendor AS2 URL and selected all the security parameters while creating the Outbound AS2 channel.
    1. Not able to generate AS2 MDN when receiving custom XML via AS2.
    2. eventhough i am able to decrypt the inbound custom XML and ablr to recieve it in bpel also for processing, in the reports tab the inbound message state is changing to MSG_ERROR and it has the folloing error message:
    Error Code
    B2B-50037
    Error Description
    Machine Info: (***********)  Description: B2B inbound message processing error
    Error Level
    ERROR_LEVEL_COLLABORATION
    for AS2 MDN generation for custom XML receiving using As2 protocol, do we need to setup anything other than the outbound As2 Channel using the external vendor AS2 URL?
    Can you please help me how can i generate the AS2 MDN for the inbound custom XML document i have received and also why the inbound message is failing even though i am receiving the custom XML properly to bpel?
    Thanks,
    Amirineni.

    Hi Prasanna,
    Vendor has enabled the ACK mode as SYNC.
    Below are the headers for the inbound message to B2B. and we are able to receive the input message to bpel also.
    Protocol Transport Binding
    ChannelName=******** AS2-To=****AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=****** Recipient-Address=https://******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=****** Content-Disposition=attachment; filename="smime.p7m" Host=****** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=****** Mime-Version=1.0
    Message Digest
    Message Digest
    Digest Algorithm
    sha1
    Transport Protocol
    HTTP
    Transport Protocol Version
    1.0
    Url
    http://******
    security
    Transport Headers
    ChannelName=****** AS2-To=******AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****AS2_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=***** Recipient-Address=*******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=******* Content-Disposition=attachment; filename="smime.p7m" Host=***** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=***** Mime-Version=1.0
    Thanks,
    Amirineni

  • Character conversion problems when calling FM via RFC from Unicode ECC 6.0?

    Hi all,
    I faced a Cyrillic character convertion problem while calling an RFC function from R/3 ECC 6.0 (initialized as Unicode system - c.p. 4103). My target system is R/3 4.6C with default c.p. 1500.
    The parameter I used in my FM interface in target system is of type CHAR10 (single-byte, obviously).
    I have defined rfc-connection (SM59) as an ABAP connection and further client/logon language/user/password are supplied.
    The problem I faced is, that Cyrillic symbols are transferred as '#' in the target system ('#' is set as default symbol in RFC-destination definition in case character convertion error is met).
    Checking convertions between c.p. 4103  and target c.p. 1500 in my source system using tools of transaction i18n shows no errors - means conversion passed O.K. It seems default character conversion executed by source system whithin the scope of RFC-destination definition is doing something wrong.
    Further, I played with MDMP & Unicode settings whithin the RFC-destination definition with no successful result - perhaps due to lack of documentation for how to set and manage these parameters.
    The question is: have someone any experience with any conversion between Unicode and non-Unicide systems via RFC-call (non-English target obligatory !!!), or can anyone share valuable information regarding this issue - what should be managed in the RFC-destination in order to get character conversion working? Is it acceptable to use any character parameter in the target function module interface at all?
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    Senior SAP ABAP Consultant

    hey,
    I had a similar experience. I was interfacing between 4.6 (RFC), PI and ECC 6.0 (ABAP Proxy). When data was passed from ECC to 4.6, RFC received them incorrectly. So i had to send trimmed strings from ECC and receive them as strings in RFC (esp for CURR and QUAN fields). Also the receiver communication channel in PI (between PI and  RFC) had to be set as Non unicode. This helped a bit. But still I am getting 2 issues, truncation of values and some additional digits !! But the above changes resolved unwanted characters problem like "<" and "#". You can find a related post in my id. Hope this info helps..

  • Gettin data from SAP R/3 4.7 unicode sys to SAP ERP non-unicode sys via RFC

    We are trying to get data from SAP R/3 4.7 unicode sys to SAP ERP non-unicode sys via RFC. We are reading field from the database via FM and this field got converted by SAP standard Method (CL_ABAP_CONTAINER_UTILITIES=>fill_CONTAINER_C) from structure. When reading this field from ERP sys and converted back to structure using SAP standard Method the value is un-accurate, and different(blank) giving values.
    How, if the data originally was a char or numeric it works fine, but not for decimal.
    best regards,
    Abu-Qaht

    I have a range fields with different type of ranges, am saving these to the database by converting them to a string via the same method. I got the same problem so I tried to convert the string to xstring using function “SCMS_STRING_TO_XSTRING”, before send it to the other system, but the function raised an exception: CX_SY_CONVERSION_CODEPAGE

  • JCO RFC Provider: "Bean not found" when calling EJB from ABAP via RFC

    Hello,
    I'm having trouble calling an EJB in a CE 7.1 system from ABAP via RFC. I'm trying to use the JCO RFC Provider service, which mean that I want to expose an EJB so that it can be called via Remote Function Call.
    I have documented everything, including the code and the deployment descriptors I wrote, in this thread in the CE forum: Jco RFC Provider: Bean not found
    If there's any chance you can help, please do me a favour and look into the problem.
    Thanks a lot!
    Thorsten

    Hi Vladimir,
    Thank you very much, your help was immensely valuable.
    I just had to add the function declaration to the Home Component interface, everything else was correct, and now it works.
    Cheers,
    Thorsten

  • Sending IDocs via RFC Adapter

    Hello!
    In an itegration scenario, we need to send (non XML) IDocs via RFC to a remote R/3 system (4.6C). As we don't want to get these IDocs persisted on the target system, it's intended to address the remote functions directly.
    Now the problem:
    - RFC Adapter only works with XML IDocs (so we cannot transfrom back to native IDoc)
    - IDoc-Adapter sends native IDocs, but only to IDOC_INBOUND_ASYNCHRONOUS on target system (and the Idocs will be persisted)
    In a next step, we also tried to implement a workaround with a local ABAP proxy on the XI system. But it seems, that it's not allowed to call a abap proxy locally on the integration engine.
    Has anybody any idea to solve this problem? Maybe I'm thinking too complicated Help is highly appreciated!
    Cheers,
    Matthias

    Hi,
    what kind of document you want to post?
    most (many) IDOCs use BAPIs so you can
    just call the BAPI (RFC) from XI
    >>>But it seems, that it's not allowed to call a abap proxy locally on the integration engine.
    you can call it on another client on the XI
    (which is set as application system in SXMB_ADM)
    Regards,
    michal

Maybe you are looking for

  • Issue in running eCATT Scripts  - Help required very urgently

    Dear All, We are running the eCATT scripts from Solman 7.0 by connecting it to ERP system R/3 4.6C. While running the scripts, we are facing some issue. 1. If we try to run the scripts then those are getting failed. The same scripts if we run after s

  • Please help i need a programm i think it�s easy

    Hello and thank you that you clicked on this message. Well i need the source code of a programm which print out the words of a number (for instance :"five" not "5") The programm should ask me for a number (f.i.:"8") and should print out: "eight" plea

  • Can't open Library and Inspector tab

    Hi, I can't open the Library and Inspector tab and can't activate the Add Behavior and Add Filter function. Can anyone help me to fix that? Thanks.

  • Why does chrome have trouble linking to wifi so often?

    I leave at night and the computer is working.  I return in the morning and Chrome says it cannot link to the internet?  I restart the computer, turn on and off the wifi, exit and restart Chrome.  This happens several times a week and the PC's at the

  • Bootcamp 5 Install Failure - 2011 27" Imac

    Long story, but the details may matter. mid2011 27" Imac 4 core 3.4Ghz i7 Seagate 1Tb Drive starting clicking a three weeks ago. Upon hearing the very first click I immediately made a backup using Time Machine. Sure enough about two week later, upon