BAPI in CALL DIALOG

How can I make a BAPI work in a CALL DIALOG ?
Since a call dialog opens in the same SAP LUW The Bapi
BAPI_OUTB_DELIVERY_CHANGE does not work, Neither does using WS_DELVIERY_CHANGE.
Please suggest an alternative
Thanks

No, A 'BAPI_COMMIT' will not work because as long as one is in a 'CALL DIALOG' one is in the same SAP LUW and only when one starts a new SAP LUW does an SAP commit ( changes are saved) take place.
thanks for the reply though but my problem is still unsolved.

Similar Messages

  • "Call dialog in WD abap"

    Hi Experts,
    I am facing a problem in opening an attachment in WD abap.
    Actually i need to open an attachment from my WD abap screen , as like standard does .
    Standard is using 
    call dialog 'SO_DOCUMENT_VIEW_MANAGER'
      and passing some values in it, and automatically the file opens. When i tries the same thing in WD Abap nothing happens.
    I need help in the same thing in WD abap .
    Thanks in advance..

    Yes, but not sure.
    if you are able to convert the function module output into xstring format, then you can display the same in pdf format using adobe interactive UI element.
    Regards
    Srinvias

  • How to replace 'CALL DIALOG' with 'CALL TRANSACTION'

    IF NOT bkpf-bukrs IS INITIAL.
        CLEAR   buztab.
        REFRESH buztab.
        buztab-zeile = bseg-buzei.
        buztab-bukrs = bkpf-bukrs.
        buztab-belnr = bkpf-belnr.
        buztab-gjahr = bkpf-gjahr.
        buztab-buzei = bseg-buzei.
        APPEND buztab.
        buztab-zeile = bseg-buzei.
        x_nochange = 'X'.
        CALL DIALOG 'RF_ZEILEN_ANZEIGE'
             EXPORTING
                  buztab
                  buztab-zeile
                  tcode        FROM 'FB03'
                  x_nochange
             IMPORTING
                  buztab
                  x_commit.
      ENDIF.
      CLEAR bkpf.
      CLEAR bseg.
    The above given is the part of a code. I need to replace the CALL DIALOG part with CALL TRANSACTION. Can any one plz suggest me how to go ahead with it?

    Javascript. window.open();

  • BAPI function call in Java

    Hi,
    I am trying to make BAPI function call in JAVA. I am using the following libraries for IBM AIX version and the sapjco.jar
    1) librfccm.o
    2) libsapjcorfc.so
    The above 2 libraries are in my java lib path.
    But I get a exception and it is referring to sapjcorfc.dll (which is a windows version) instead of referring to libsapjcorfc.so
    What should I do so that it refers to libsapjcorfc.so and not sapjcorfc.dll
    Error Details:   java.lang.ExceptionInInitializerError: JCO.classInitialize():
    Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc
    [sapjcorfc (A file or directory in the path name does not exist.)]. java.library.path
    [/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:
    /usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:
    /tmp/sapinst_exe.1081378.1199455057:/usr/sap/DP0/SYS/exe/run:/home/db2inst1/sqllib/lib64:
    /usr/sap/DP0/DVEBMGS42/exe::/usr/lib:/usr/sap/DP0/DVEBMGS42/j2ee/os_libs:/usr/sap/DP0/DVEBMGS42/exe:
    /usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:/usr/lib:/lib:/usr/sap/DP0/SYS/exe/run:
    /home/db2inst1/sqllib/lib64]

    Hi Jawed,
    when  I try it as a stand alone java code on IBM AIX version BAPI connection works and it fetches the roles listed for an user from the ACTIVITYGROUP table.
    The same piece of code bundled in an ear and when deployed in SAP netweaver portal gives different errors. My sapjco.jar is in application lib folder and it is referred in classpath
    first time when i access the application url it gives me
    Error Details: java.lang.ExceptionInInitializerError: JCO.classInitialize():
    Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc
    http://sapjcorfc (A file or directory in the path name does not exist.). java.library.path
    [/usr/java14_64/jre/bin:/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:
    /usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:
    /tmp/sapinst_exe.1081378.1199455057:/usr/sap/DP0/SYS/exe/run:/home/db2inst1/sqllib/lib64:
    /usr/sap/DP0/DVEBMGS42/exe::/usr/lib:/usr/sap/DP0/DVEBMGS42/j2ee/os_libs:/usr/sap/DP0/DVEBMGS42/exe:
    /usr/sap/DP0/DVEBMGS42/exe:/usr/sap/DP0/DVEBMGS42/exe:/usr/lib:/lib:/usr/sap/DP0/SYS/exe/run:
    /home/db2inst1/sqllib/lib64]
    when i acess the application url next time it gives me
    Application error occurred during request processing.
      Details:   java.lang.NoClassDefFoundError: com.sap.mw.jco.JCO (initialization failure)
    Exception id: [00145EB7604700720000000F000C20FE00047CA4F0EF0615]
    Below is my my javacode - I am calling the method getUserRoles
    package com.mysap.sso;
    import com.sap.mw.jco.*;
    import java.util.ArrayList;
    import java.util.List;
    public class BapiConnection {
         private static JCO.Client mConnection;
         private static JCO.Repository mRepository;
         private static JCO.Function createFunction(String functionName)
                   throws Exception {
              try {
                   IFunctionTemplate ft = mRepository.getFunctionTemplate(functionName
                             .toUpperCase());
                   if (ft == null) {
                        return null;
                   } else {
                        return ft.getFunction();
              } catch (Exception ex) {
                   throw ex;
         public List getUserRoles(String user) {
              JCO.Function function = null;
              JCO.Table activitygroups = null;
              List rolesList = null;
              mConnection = null;
              mRepository = null;
              mConnection = JCO.createClient("300", "INVTRY_SEGMT", "Welcome%1",
                        null, "ade00fe", "22");
              try {
                   //Connect to the WebAS ABAP with the parameters above
                   mConnection.connect();
                   //Create a function repository to be able to build a function
                   mRepository = new JCO.Repository("INVTRY_SEGMT", mConnection);
                   //Get the function
                   function = createFunction("BAPI_USER_GET_DETAIL");
                   //Set the only import parameter
                   function.getImportParameterList().setValue(user, "USERNAME");
                   //Execute the function
                   mConnection.execute(function);
                   //Get the 'ADDRESS' return structure
                   activitygroups = function.getTableParameterList().getTable(
                             "ACTIVITYGROUPS");
                   rolesList = new ArrayList();
                   for (int i = 0; i < activitygroups.getNumRows(); i++, activitygroups
                             .nextRow()) {
                        System.out.println(activitygroups.getString("AGR_NAME"));
                        logger.debug(activitygroups.getString("AGR_NAME"));
                        rolesList.add(activitygroups.getString("AGR_NAME"));
                   mConnection.disconnect();
              } catch (Exception ex) {
                   System.err.println(ex.toString());
              return rolesList;

  • Explain the situation for using  ale , bapi ,session ,call transation, di

    what is the use of bdcmsgcall,
    if any erroe occur in the legacy records how to rectify it?
    In what situation we can go for lsmw.
    Kindly explain the situation's for using  ale , bapi ,session ,call transation, direct input.

    Hi ashok,
    chk this.
    the functionality of both idoc and bapi are same.
    the main difference in BAPI is it is used for Third party application like JAVA, VB etc.
    and IDOC is used transfer data from the SAP to sap or non-sap system.
    For details refer the contents below
    ALE
    ALE is SAP proprietary technology that enables data communications between two or more SAP R/3 systems and/or R/3 and external systems. When a new enterprise resource planning (ERP) solution such as R/3 is implemented, companies have to interface the ERP system with legacy systems or other ERP systems.
    ALE provides intelligent mechanisms where by clients can achieve integration as well as distribution of applications and data.
    ALE technology facilitates rapid application prototyping and application interface development, thus reducing implementation time.
    The ALE components are inherently integrated with SAP applications and are robust, leading to a highly reliable system.
    ALE comes with application distribution/integration scenarios as well as a set of tools, programs, data definitions, and methodologies that you can easily configure to get an interface up and running.
    BAPI
    BAPIs provide a stable, standardized method for third-party applications and components to integrate into the Business Framework. These interfaces are being specified as part of SAP's initiative with customers, partners and leading standards organizations. Also, SAP has implemented the emerging Object Application Group (OAG) specifications with BAPIs.
    Session method.
    1) synchronous processing.
    2) can tranfer large amount of data.
    3) processing is slower.
    4) error log is created
    5) data is not updated until session is processed.
    Call transaction.
    1) asynchronous processing
    2) can transfer small amount of data
    3) processing is faster.
    4) errors need to be handled explicitly
    5) data is updated automatically
    Session method is to populate the data by filling BDC structure
    and keep as session to process from SM37 to post in appropriate Transaction.
    Call transaction method is to post the data directly into the Transaction from an Executable program.
    Session method SAP defined Function modules.
    U can see more help on the differences in the SAP help.
    hope u got an idea.
    rgds
    anver
    <i>if hlped pls mark points</i>

  • Successor of CALL DIALOG statement?

    Hi Experts,
    We used to have a statement called CALL DIALOG in previous versions which was helpful in the following ways:
    1.Calling a dialog program(module pool) from another program.
    2.Data Traffic between two programs.
    3.Both program work in Same LUW.
    THIS STATEMENT IS NOW OBSOLETE !
    Now i have a legacy program doing the same activity where the dialog program is being called using the calll dialog technique into a FM  and which in turn is being called in a user exit.
    I have done research but could not find an alternate to this technique.
    Any one out there got some solution to this?
    Thanks,
    Sachin

    Hello Ramond,
    Thanks for your answer.
    I do have this idea in mind but thanks for sharing it.
    The only problem here is the program i need to call is already working and morever from a diffrent workstream so i do not have a control over it.I could only request the other developer to analyse this option as well.
    I was thinking of any other option that we might have to achieve this.
    Thanks,
    Sachin

  • Calling dialog program from report

    Hi All,
    I need to call dialog program from report and do not want the initial screen to be shown and execute the dialog program. can this be possible, if yes please let me know this to do this, when I tried using leave to transaction its showing the initial dialog screen.
    Thanks in advane
    jog

    Hi,
    Create a Z trnsaction Code for the Transaction you want to call.
    Go to SE93. Give Transaction name and click on create.
    Select start object as 'Transaction with Variant' or 'Transaction with Parameter'.
    On second screen give transaction name and check the <b>check box for 'Skip initial screen'</b>.
    Find out the initial screen for the transaction and mention it.
    Now, you can call this Z transaction in your program.

  • Help on CALL DIALOG 'RF_ZEILEN_ANZEIGE'

    Good day everyone!
       I am having problems with my code. I tried using
    CALL DIALOG 'RF_ZEILEN_ANZEIGE' but whenever I run the program, it always gets dumped. The error goes something like this...
    <i>"A dataset can only be imported to a target area with the same structure
    as the data in that dataset. If the target area is longer or shorter  
    than the dataset, see the documentation on the ACCEPTING PADDING and  
    ACCEPTING TRUNCATION additions.                                       
    If the error occurred in one of your own programs or in an SAP program
    that you modified, try to correct it yourself. "</i>
    This is how I coded it...
        CALL DIALOG 'RF_ZEILEN_ANZEIGE'
             EXPORTING
                  BUZTAB
                  BUZTAB-ZEILE
                  TCODE        FROM 'FB03'
                  X_NOCHANGE
             IMPORTING
                  BUZTAB
                  X_COMMIT.
    I'd like to know if there is something wrong with how I used this call dialog.
    Thank you very much in advanced.
    >Christian<

    Good day Ravi,
      Yes, the runtime error occured on this call dialog. There's one thing im a bit confused, do I have to put BUZTAB in the import parameter of the call dialog? Can you please give me the parameters used in Exporting and Importing? Thanks in advanced!
    >Christian<

  • Secure BAPI/RFC call

    Hi All,
    Iu2019m wondering if I can set up a secure connection between MII and ECC when I'm working with BAPI/RFC calls. I heard that MII supports the SAP proprietary interface called Secure Network Communication (SNC), but I donu2019t know if it is already enabled or if I should to do some additional configurationu2026
    Does anyone have any experience on this topic?
    Regards,
    Henry

    Hi Henry,
    I never setup a SNC with MII. I can't see any properties in the JCO. In the JRA exist some properties for SNC.
    Take a look on this:
    http://help.sap.com/saphelp_nw04/helpdata/en/96/a4804258544b76e10000000a155106/content.htm
    Thats all what I know about SNC.
    BR
    Pedro

  • Call dialog

    What is call dialog method of data transfer? Is it a tyqe of batch input method?

    hi mathew,
    This may be helpful to u
    CALL DIALOG
    Syntax
    CALL DIALOG dialog [ {AND SKIP FIRST SCREEN}
                           [ {USING bdc_tab [MODE mode]} ]
                           [EXPORTING p1 FROM a1 p2 FROM a2 ...]
                           [IMPORTING p1 TO a1 p2 TO a2 ...].
    Extras:
    1. ... AND SKIP FIRST SCREEN
    2. ... USING bdc_tab [MODE mode]
    3. ... EXPORTING p1 FROM a1 p2 FROM a2 ...
    4. ... IMPORTING p1 TO a1 p2 TO a2 ...
    Effect
    The statement CALL DIALOG calls the dialog module whose name is contained in the character-like data object dialog. The data object dialog must contain the name in uppercase. If the dialog module specified in dialog is not found, an exception that cannot be handled is raised.
    When calling the dialog module, the assigned ABAP program is loaded in a new internal session. The session of the calling program is still available. In contrast to CALL TRANSACTION, the called program runs in the same SAP LUW as the calling program.
    After loading the ABAP program, the event LOAD-OF-PROGRAM is triggered and the screen defined as the initial screen of the dialog module is called. The dialog module is terminated when the corresponding screen sequence terminates upon reaching the next screen with screen number 0 or the program is exited using the statement .
    Note
    Dialog modules are the only language resource that can be used to open a new session without changing the SAP LUW. Be aware of the following:
    The statements COMMIT WORK and ROLLBACK WORK cause database commits or database rollbacks in the called program. However, the procedures registered with CALL FUNCTION IN UPDATE TASK and PERFORM ON {COMMIT|ROLLBACK} are not executed until the execution of the corresponding statements in the calling program.
    In the called program, SAP locks are adopted by the caller.
    Addition 1
    ... AND SKIP FIRST SCREEN
    Effect
    Under the same conditions as for the statement CALL TRANSACTION, this addition surpresses the display of the screen of the initial screen. If the called dialog module has input parameters for the obligatory input fields of the initial screen, they can also be filled using a parameter transfer instead of SPA/GPA parameters.
    Addition 2
    ... USING bdc_tab [MODE mode]
    Effect
    This addition controls the called program as in the statement CALL TRANSACTION using the specification of a batch input folder in an internal table bdc_tab of the line type BDCDATA. In this case, only MODE can be used as an addition for the control of the batch input processing.
    If a message is sent in the called program, this message is available in the system fields sy-msgid, sy-msgty, sy-msgno, sy-msgv1, ..., sy-msgv4 after the call.
    Addition 3
    ... EXPORTING p1 FROM a1 p2 FROM a2 ...
    Addition 4
    ... IMPORTING p1 TO a1 p2 TO a2 ...
    Effect
    These additions can be used to assign the appropriate actual parameters a1, a2, ... to the formal parameters p1, p2, ... of the dialog module. The formal parameters of a dialog module are always optional. They can have all data types except for reference types.
    When loading the called program, the values of the actual parameters are assigned to the global data objects of the called program that are defined as formal parameters. If this data is associated with screen fields of the same name, they are not overwritten by possible SPA/GPA parameters. If you specify IMPORTING, the system field sy-subrc is implicitly adopted by the called dialog module and unknown formal parameters are ignored by the system.
    Note
    Outside of classes, the additions FROM a1, FROM a2, ... und TO a1, TO a2, ... in the parameter lists can be omitted if the formal parameters and actual parameters have the same names.
    Example
    Calling a dialog module DEMO_DIALOG_MODULE which is associated with the program SAPMDEMO_TRANSACTION.
    DATA spfli_wa TYPE spfli.
    spfli_wa-carrid = 'LH'.
    spfli_wa-connid = '0400'.
    CALL DIALOG 'DEMO_DIALOG_MODULE'
      EXPORTING
        spfli-carrid FROM spfli_wa-carrid
        spfli-connid FROM spfli_wa-connid
      IMPORTING
        spfli_wa     TO spfli_wa.
    Exceptions
    Non-Catchable Exceptions
    Cause: Parameter name is too long.
    Runtime Error: CALL_DIALOG_NAME_TOO_LONG
    Cause: The called dialog module is unknown.
    Runtime Error: CALL_DIALOG_NOT_FOUND
    Cause: The called dialog module contains errors (incorrect entry in table TDCT).
    Runtime Error: CALL_DIALOG_WRONG_TDCT_MODE
    Cause: No further paging area for parameter transfer available.
    Runtime Error: CALL_DIALOG_NO_CONTAINER
    Cause: The statement CALL DIALOG ... SCREEN ... PROGRAM ... is not supported.
    Runtime Error: CALL_DIALOG_SCREEN/PROGRAM
    regards,
    sravanthi

  • Modify the Edit Sequence Call dialog

    In TestStand v3.5, and/or v4.x, is it possible to modify the Edit Sequence Call dialog that comes up when using the SequenceCall Step type? If so, where is the source for this?
    What we want to do is add help information to the Edit Sequence Call dialog by either adding a Help button and/or adding the Parameter comments from the selected sequence prototype, along with the Sequence comments, so that we can provide guidance on the sequence usage to the developer at edit time. I've looked everywhere I can think of in the Help and the folders in the TestStand (v3.5) directory (StepTypes).
    Any help here would be greatly appreciated.
    -Jack

    Hi Jack,
    Thats a really good question !
    In the new TS versions there are some "bulid-in" StepTypes. For example if you take a look at "Wait" in TS4.0 there is a buttton "Configure Wait" . In the new TS 4.1
    the hole configure stuff is implemeted in the tab controls view like in the sequence adapter and the code modules. In the old TS 2.0 the sources where available. But in the new versions of TS 4.x
    it looks different for me. Just take a look callexec. The shipped TS 4.0 uir looks completly different than in editor under the tab control.
    Last year did a user step type.  And to modify my stuff i had to click this stuip "Edit" button.  I would like to have the same feature than the "build-In" one. But one change !!
    After some reverse hacking of some TS ini and xml files. TS editor was always crashing with a .net exception. So in my mind all the "build-in" ones are .net components
    like the hole Editor.
    So i am very courius what our NI-Guys here are saying to your question.
    Greetings and waiting for some "blue" anwsers.
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Get an error at calling dialog of reservation creation in SAP R/3

    Hi experts,
    Through SE35,I made a dialog module "ZMM_DIALOG_RE_CREATION".
    Its program is SAPMM07R and screen number is 500.
    I called this dialog module in my program "SAPMZMB21",the transaction code is ZMB21.
    When I executed ZMB21,an error arised.
    The error is "Check table 158:entry ZMB21 does not exist."
    I found that SAP standard program of reservation creation checks the table T158.
    My defined transaction code ZMB21 really did not exist in table T158.
    So how should I do?

    This is development question.
    You may not get an answer in this MM forum

  • Bapi Function call from Crystal reports 2008. import parameters syntax.

    Dear,
    I have an issue with calling a function directly from Crystal reports (2008) in the R3 system.
    (if this belongs in another thread , please add the link if moved !)
    I try to get data through function "BAPI_CLASS_GET_CLASSIFICATIONS".
    Till now all possible input parameters have no data-result.
    I already read other threads stating that 'for example' the Language key needs to be provided in a single character. 'E' in stead of 'EN'.
    I also already created a Z-wrap-function that fills out all input parameters 'hardcoded'. This works.
    clearly there are som syntax changes in passing the values to R3 when called from Crystal Reports.
    Can someone state which syntax has to be followed for numeric fields, for datefields etc. (so when i make these dynamical, I know which syntax should be the outcome of the formula)
    in my function that doesn't work I use these selections:
    (this function is called in a standard report only calling this function)
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_LANGU_ISO} = "E" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_LANGU_INT} = "E" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.T_CLASS_OBJECTS.OBJECT_TYPE} = "MARA" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.T_CLASS_OBJECTS.OBJECT_KEY} = "000000000000000085" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_CLASSNUM} = "DSWTEST" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_CLASSTYPE} = "001" and
    {BAPI_CLASS_GET_CLASSIFICATIONS_1.I_KEY_DATE} = Date (2011, 08, 05)
    I already tried other languages or the 'EN' as input.
    (I would like to know how the date is passed exaclty to R3.)
    The function is of course RFC enabled.
    when I call the my Z-function with predefined inputparameters in R3 it does give the wanted result.
    FUNCTION ZBAPI_CLASS_GET_CLASSIFICATION.
    ""Local Interface:
    *"  TABLES
    *"      OBJECT_CLASSIFICATION STRUCTURE  BAPI_OBJECT_VALUES
    *"      CLASS_OBJECTS STRUCTURE  BAPI_CLASS_OBJECTS
    data ZOBJECT_CLASSIFICATION type TABLE OF BAPI_OBJECT_VALUES.
    data ZCLASS_OBJECTS  type TABLE OF BAPI_CLASS_OBJECTS WITH HEADER LINE.
    ZCLASS_OBJECTS-OBJECT_KEY = '000000000000000085'.
    ZCLASS_OBJECTS-OBJECT_TYPE = 'MARA'.
    Append ZCLASS_OBJECTS.
    CALL FUNCTION 'BAPI_CLASS_GET_CLASSIFICATIONS'
      EXPORTING
        CLASSTYPE                    = '001'
        CLASSNUM                     = 'DSWTEST'
    *   KEY_DATE                     = SY-DATUM
    *   LANGU_ISO                    =
    *   LANGU_INT                    =
    *   CHARACTS_OF_CLASS_ONLY       =
    * IMPORTING
    *   RETURN                       =
      TABLES
        OBJECT_CLASSIFICATION        = ZOBJECT_CLASSIFICATION
        CLASS_OBJECTS                = ZCLASS_OBJECTS
    OBJECT_CLASSIFICATION[] = ZOBJECT_CLASSIFICATION[].
    ENDFUNCTION.
    please advise.
    once again if this should be moved to another forum , add the link please!

    Dear,
    I just debugged my Z-function, after adding all input parameters as in the standard BAPI function.
    All parameters seems to be passed correctly except from the table parameters from
    CLASS_OBJECTS
    So all I_parameters are passed :
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_INT} = "EN" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_LANGU_ISO} = "EN" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_KEY_DATE} = Date (2011, 08, 05) and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSNUM} = "DSWTEST" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CLASSTYPE} = "001" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.I_CHARACTS_OF_CLASS_ONLY.BAPIFLAG} = ""
    but the table parameters aren't coming through:
    {ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_TYPE} = "MARA" and
    {ZBAPI_CLASS_GET_CLASSIFICATION.T_CLASS_OBJECTS.OBJECT_KEY} = "000000000000000085" and
    these are 'blanco' in the function.
    also after the function is executed and all data is retrieved, when passing the data back to Crystal reports, once again, the table result isn't passed to Crystal Reports.
    please advise

  • Which BAPI is called by middleware to create a sales order in ECC??

    Hi experts,as we know,a BAPI in ECC will be called by middleware to replicate a sales order from CRM to ECC?
    Do you know the BAPI name??
    How can I debug into it from CRM side??
    Thanks.
    Jerry.

    Hi,
    have a look at function group "CRMA" in ERP, this is the interface for salesorders.
    For debuging there are some ways, stop queues, put external breakpoint...
    Regards Rolf

  • BAPI for calling Z transaction From NON-SAP system

    hi all, am new to BAPI i want to know that can we call any standard or Z transaction from NON-SAP system using BAPI if yes then plz let me know how.???
    thanx...

    BAPI's are not used for calling transactions. They have the same result though, a business partner for example kan be created, and maintained via the GUI, but it can also be done via a BAPI. These BAPI's are created for calling them from (non-) SAP systems since they are remote enabled. However, this means that the calling application / party will have to 'build' some sort of application themselves in order to call these BAPI's from 'outside' of the SAP system.
    The calling application will have to have access to the system, which can be maintained in the remote destination transaction SM59.
    But enough of this, there are lots and lots of posts on SDN about BAPI's, remote destination etc.

Maybe you are looking for