Sapscript called via RFC

Hi guys,
I have implemented a FM that calls a SAPscript and generates it in the application server.
when i execute it it creates the pdf correctly and no previsualizing pop_up window is shown because i have edited the itcpo table parameters correctly.
I have also implemented another FM which calls the first one ( those FM are on different systems and are called via RFC ), but now the pop_up windows is being displayed, instead the parameters of the itcpo are the same.
Any help
Best regards
Jon
Edited by: Jon Azkorra Olano on Jun 14, 2010 3:33 PM

You can find it by seeing the SUBMIT statement of the program..
SUBMIT <PROG> .. via <RFC Destination>
It indicates that we are calling that program through RFC...
Reward if helpful....

Similar Messages

  • How to Debug Functional Module called via RFC?

    Hi Experts,
         Please, can someone explain to me how to debug functional module that is called via RFC? Thanks in advance.
      Best Regards,
    Aleksandar

    Hi Laxman,
       First of all thank you very much for giving attention to my post. Ok, I am trying to debug function module in RM-CA (FICA), function module is called by CRM system (via RFC) and in addition all this chain is triggered by WebClient.
         I have user that can login on the CRM as well as on RM-CA (ECC 6.0) system, but those users are different (unfortunately I do not have administration permission so I can’t change profiles of my users but I can ask for it). I can without any problem debug calls that come from WebClient, so setting an external break point in CRM system I can catch whatever I want but when process comes to point where actually call to back-end (RM-CA) takes place I simply can’t get into functional module, that resides on RM-CA side. Actually what happens is that processing continues as was chosen ‘NEXT STEP’ (F6).
         To resume, two systems and two different users. Where XCM user should be created? (on RM-CA system or CRM). Should I change something in Menu option Utilities -> Settings -> ABAP Editor tab -> Debugging tab, in field users?  If you need any additional info please tell me.
      Thanks again for your support.
    Aleksandar

  • Service Call via RFC

    Hi all.
    I am currently starting with WDA and facing some problems in calling BAPI via RFC.
    We have a "plain" WAS without SD or other modules. Our data is distributed over multiple R/3 systems.
    When I try to implement a Service Call to the BAPI BAPI_CUSTOMER_GETLIST via RFC I got the error message that this FM is not available in the current system (WAS).
    Does anyone has experience in how to get this working?
    What is the best practice here?
    - Building wrapper on WAS which calls the FM via RFC on the other system?
    - Installing missing modules on WAS ?
    Any comment would be appreciated.
    Cheers,
    Sascha

    Hi again.
    To shorten development time we considered the following solution:
    We are generating web service proxy classes on the WAS for the BAPIs of the R/3 system we want to use. Afterwards we are generating wrapper function modules which will use these proxies. So we do not have to import all missing structrues cause these are generated automatically during proxy generation.
    I tested this already with BAPI_CUSTOMER_GETDETAIL2. Calling the wrapping fm which calls the service proxy works fine from se80. I do get a result via the service.
    Then i generated a service call for my WEBDynpro component using the wizard in WDA.
    Silly is that the generated code is not compilable cause of missing ,. Anyway after correcting I tried to run my webdynpro application and when the fm gets called via the generated service method I receive the following message:
    CODE           SOAP:111
    ERRORTEXT     Unallowed RFC-XML Tag (SOAP_EINVALDOC)
    Any ideas?
    Why is it working when i call the fm directly but not when calling it from my webdynpro app?
    Thanks in advance
    Sascha
    Message was edited by: Sascha Dingeldey
    Message was edited by: Sascha Dingeldey

  • Program called via RFC

    hi,
    how to find out that a program is called directly i.e within the system <b>or</b> from an external system via <b>RFC</b>? Is there any function module or any other method to find out ?
    thanks in advance.

    You can find it by seeing the SUBMIT statement of the program..
    SUBMIT <PROG> .. via <RFC Destination>
    It indicates that we are calling that program through RFC...
    Reward if helpful....

  • Debugging ECC FM called via RFC

    Hello experts,
    From a CRM Function Module, we are trying to invoke a custom ECC FM. On debugging, the flow does not go to the ECC module for debugging (although it returns the values). We tried several options like adding RFC param in su01, Activate Remote Debugging in ECC, sm51, sm50 etc. But none of this helps.
    Any suggestions on debugging would be most welcome.
    Regards,
    Nisha

    You can follow these steps to indirectly debug your ECC FM.
    1) Put an infinite loop in your ECC FM, say
         DATA TEMP.
         DO.
          IF TEMP = 'X'.
            EXIT.
          ENDIF.
         ENDDO.
      2) Execute your CRM FM in which your ECC FM is being called.
      3) Go to ECC, Transaction SM50 (Process Overview). You will see your FM's entry. Select your FM's entry then from the  menu select Program/Session>Program>Debugging. This will open your ECC FM in debug mode. Put value of TEMP as 'X' and continue debugging.

  • Jobs not getting Scheduled when it is called from RFC

    Hi Everyone,
    I have Functional module in system1 which in turn creates a background Job, but when i call this Function module from System2 using RFC then the background job is not created. THought i debugged and the Function module on system1 is called successfully with right input parameters. M i missing anything ? Please advice
    Regards,
    Nikesh Kumar

    Hi Chen,
    Thanks for the reply. Actually the main problem is not with how the Background job is getting executed. Actually my function module schedules are job in system1 , but if the same func module is called via RFC from other system, it gets called successfully with same inputs (checked in debugging), but the background job does not get created.
    Regards,
    Nikesh Kumar

  • Ignoring MESSAGE while running via RFC

    Hello everybody,
    when I start a FM (or what ever) it will display an MESSAGE (Type: I) as Information. The User must quit the message, than the function goes to the end.
    When I call this FM via RFC (from an other SAP) the MESSAGE would not display an the function goes automatically to the end.
    How can I reach that the MESSAGE would be display by calling via RFC.
    Thanks.
    Thomas

    Hi,
    I dont think it is possible to display a message in RFC.
    Messages are popped in the current system in RFC the system is changed
    Sameena
    Message was edited by: sameena attarwala

  • 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..

  • 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

  • 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

  • Call a static method via RFC

    Hello people,
    How can I call a static method via RFC?
    I am in SRM and would like to call a static method defined in ECC.
    What is necessary to be configured in this class/method?
    Thanks!!!

    You may need to write RFC in ECC and call it from SRM
    and write following code in RFC for call a static method
    reference_obj=>method_name
    EXPORTING

  • 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

  • Call to RFC via proxy...

    I have a scenario where a Proxy is calling an RFC. My question is will the control return back to XI after the call or does it return after the complete processing of the RFC? Could someone please clarify?

    hi siru,
    if ur scenario is synch then xi wud call the rfc , the rfc will be executed and only after the execution is complete , xi will receive the result and send to the other system. thus the scenario "waits" for the rfc to execute. further processing in sender application is blocked.
    while in asynch the scenario is complete as soon as xi calls the rfc. the applications here are loosely coupled.
    if u r using BPM, many simultaneous branches can wrk and send/receive messages acc to the process design.
    [reward if helpful]
    regards,
    latika.

  • Printing SAPSCRIPT FORM vai RFC---URGENT

    Hi All
    I have a requirement where i am calling a Function moule (  present in destinataion system ) via RFC , from the source system.
    Inside the Function module , i have requirement to call/submit a print program for a script form (Considering that the Form and Print program are in destination system).
    Doing this, is there a way to have the SAPSCRIPT output ( ie a Spool) captured or copied in the source system?
    Any pointers on the above would be of great help.
    Thanks
    Pankaj

    Dear all,
    I think I've got the answer (even though it is 3 years after question was posted).
    Let me re-cap the problem:
    1) A set of SAPscript form and print program (beginning with 'Z') for physical inventory document are developed
    2) This set of SAPscript form and print program produce similar printout as that in T-code: MI03, or MI01 or MI02
    3) The SAPscript form is copied from "INVENT" or "INVENT_VKBW" and the print program is copied from "RM07IDRU" or "RWWVINVB"
    4) However, there is no output types available for configuration for user to print physical inventory document using this new set of SAPscript form and print program
    Am I correct ?
    The re-solution is:  Maintain the output types entries (program, form) in table "T159N"
    1) T-code: MI01 , MI02, MI04 will call T-code: MI21 when user selects to print physical inventory document
    2) T-code: MI21 will call print program "RM07IDRU" (this is maintained in T-code SE93)
    3) Program RM07IDRU" will call SAPscript "INVENT" or "INVENT_VKBW" (this is maintained in table "T159N")
    Hence, if you develop new sets of SAPscript form and print program (by copying from "INVENT" or "INVENT_VKBW" / "RM07IDRU" or "RWWVINVB"), try table "T159N".
    Simon

  • 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

Maybe you are looking for

  • How do I connect my apple id with my icloud?

    I have a valid Apple Id but I cannot get into icloud because it is not a icloud account.

  • HP C7250 AIO will not print wirelessly or connected

    I have tried to download HP's latest drivers as well as their older drivers to get my printer working with my ibook. I have had no luck, all print jobs go straight into the completed tab and do not print anything. I downloaded an HP printer utility (

  • How to make an index in InDesign CC 2014.1 using a topics list?

    Hi all, I have read the long help document on how to make an index in InDesign CC 2014.1 using a topics list, and still can't work out what to do. I have done a 548 page book, using a document for each chapter, and a book file to put them all togethe

  • Splitting a Linked List at a Given Node, into Two Sublists??

    My code just will not work!! Any help would be appreciated! My problem is in the last method SplitAt. These are the conditions set and my code: Splitting a Linked List at a Given Node, into Two Sublists a. Add the following as an abstract method to t

  • G4 Titanium memory install but slot shows empty

    Just installed 2 512 dims into my G$ Titanium but it only recognizes one. The bottom slots shows 512 MB but the top shows the slot as empty. Reinstalled again but still the same. Tried my old 256 MB in the upper slot and still empty. What could I be