BAPI with out Commit

Hi All
after bapi calling we need to call commit
my question is there any bapis with out transaction commit
Regards
Surendra

Hi
We have the sales order or purchase order with the older version so we need to commit use the bapi_transaction_commit.
u can chk out in bapi transaction.
Inside of the code there is commit work is not been used.
All the LUW's will be commited in the database.

Similar Messages

  • File to BAPI with out BPM

    can we do File---> BAPI with out BPM

    Which version of XI you are using??
    XI 3.0 or PI 7.0?? and SP for it?
    Reffer this File to RFC Scenario without BPM
    FOr solution reffer this : File - RFC - File without a BPM - Possible from SP 19.
    Thanks
    Farooq.

  • Need to print with out comma

    Hi all,
    My table is loaded like this 123,678 .00 .I need to extract the data without comma like this 1234678.00
    can any one help me to resolve this issue?
    Thanks in advance.

    You can do this.
    data: str(15) type c value '123,678.00'.
    translate str using ', '.
    condense str no-gaps.
    ABAP related questions should be posted in the ABAP forum. 
    As I see you have done.
    need to print with out comma
    Regards,
    Rich Heilman
    Message was edited by: Rich Heilman

  • Using Planned order Change BAPI with out changing date

    Hi
    I have a planned order with start date in future.
    With in a program, I want to call the planned order using the FM BAPI_PLANNEDORDER_CHANGE to re-explode the order BOM.
    I find that only if I change the order start date to system/current date, the planned order BOM gets updated/re-exploded. Else there is no change in the order BOM.
    My requirement is to re-explode the BOM with out changing the order dates. In the function module I am maintaining "X' against BOM_EXP_FIX_IND.
    But when I do it manually using MD12 and explode BOM with out changing the future start date, the order BOM gets updated.
    Please help on this. Or is there any other FM/BAPI for this purpose.

    Dear Pradeep,
    you could try to set DET_SCHEDULE = X with out
    FIRMING_IND  --> No
    BOM_EXP_FIX_IND   --> No
    Let me Know if it modification setting have solved your problem and i have useful for you,
    Daniele

  • To create a Material using BAPI with out passing the material number

    Hello Experts,
    I am using BAPI_MATERIAL_SAVEDATA to create a material of some Ztype. I am successfully creating a material if I am passing Material Number as input. I want the material number to generated internally.
    When I am doing material creation with same input data with out material number using BDC, it is working fine. It is generating the material number.
    But, not with the BAPI.
    Do, I need to specify this some where in the BAPI to generate the Material number internally? Please let me know.
    Please help me in this regard.
    Thanks & Regards,
    Naresh.

    Hi,
    Read the BAPI documentation regarding Internal Number range for materials.
    When you create material master data, the following fields must always
    contain a value in the structure:
    o   MATERIAL
        Only external number assignment is supported for the material number
        (MATERIAL). If you want the material number to be assigned
        internally, the method BAPI_MATERIAL_GETINTNUMBER must first be
        called. This method determines an internal number for the material
        to be created. You must enter this internal number in field
        HEADDATA-MATERIAL.
    Regards
    Vinod

  • Return delivery BAPI with out ref

    looking for  bapi or fm to create a return delivery with out reference.

    Hi Priya,
    Try below BAPI  programs
    BAPI_OUTB_DELIVERY_CREATENOREF
    SHIP_DELIVERY_CREATE_NOREF
    Regards
    Ram

  • Can i call BAPIs with explict commit uisng xi

    I have a RFC which has 3 BAPI's inside it . Each Bapi is using an explict commit. Can i call  this  RFC from XI .

    Hi,
    You have 2 options..
    In the RFC Receiver Communication channel set the Advanced Property - "Commit Control for Individual BAPI Calls"
    the description in help is as follows -
    <b>Commit Control for Individual BAPI Calls</b>
    If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
    If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
    The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values “”, “S”, “I”, and “W” are displayed. All other values are regarded as errors.
    To change this setting, set the indicator BAPI Advanced Mode.
    In the Successful RETURN-TYPE Values table, enter the values that should lead to a successful execution.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/frameset.htm
    or
    you can include the commit in the RFC(if it is a custom one...)
    Thanks,
    Renjith

  • Currency with out commas

    HI,
    Iam passing to table 1000.00 amount.
    At table level it is taking as 1,000.00 and data type is CURR.
    I need to remove "1,000.00" and save as "1000.00" at table level.

    Hi,
    I don't think you can do that unless you change the field type as Blag mentioned earlier.
    You are right, Blag.
    Regards,
    Ferry Lianto
    Message was edited by: Ferry Lianto
    Message was edited by: Ferry Lianto

  • Keyfigure Properties for amount with out commas

    Hi All,
    In our Report amount is displaying as 56,3000.33
    where i need to show the user like 56300.33
    could any one please let us know how can i achive this.
    Regards
    Srini

    Hi Srinivas,
    Try it in SU01 - Key in the User id - Goto Defaults - Decimal Notation - 1 234 567,89.
    This is user specific and you may get this in the report display.
    Thanks,
    Ram.

  • Accessing BAPI's using JAVA with out using webdynpro URGENT

    hi Experts,
    What is the procedure for calling RFC/BAPI's using JAVA with out using the webdynpro. Please let me know what are the possibilities with step by step implementation.
    Regards
    Vijay

    Hi Boris Rubarth,
    Thaks for relavant information.
    I have kind of the requirement. The clinet is asking for connecting the SAP RFC using java application. The build Jar or .war or .Ear for which are going to develop should be compatible for running on any of the Applications server like they have Tom cat, weblogic, websphere server.
    so the .jar for or .ear file which we are going to develop should be able to run accessing the RFC/ BAPIs from any of these servers other than SAP WAS that is what their target.
    Please give me your suggestion, which is better approach. currently their SAP system is 4.6c . So presently it is not possible the webservice approach. But they have plans to go for upgrade to ECC6.0
    In that case only JCO option is possible. If use this option . Is it possible to access application which is deployed irrespective of the WAS by doing the required configuration.
    Basically i am aware of the ABAP webservice work bech steps and also the JAVA coding also.
    Please suggest me what is the better way to achieve this.
    Regards

  • Export to excel iview table data of a standard application with out BAPI

    Hi All,
    I am Editing Standard Application. In that i need to add a button, on clicking that the data present in that iview table to be exported to excel.
    The table contains editable & non editable fields. The context attributes are under in different nodes. OADP is used to get all the attribute values of the table.
    We have faced problems in identifying OADP attributes. Because of this, we have used seperate BAPI to group all the attributes of the table. By using this BAPI,  We are successful in exporting the table data to excel
    Could you please provide a solution to export the table data to excel from iview directly with out going to BAPI.
    Thanks,

    Hi Challa,
    We have a similar requirement and are not able to find the node or attributes of the planning table.
    Can you let us know how you went about doing this? Which are the nodes or attributes? Any help is appreciated..
    Thanks & Regards,
    Malita Fernandes

  • Is it possible to retrieve data using RFC alone with out using BAPI ?

    Hi ,
    Is it possible to connect SAP to Non-SAP systems to retrieve data using RFC alone with out using BAPI ?
    thanks
    Rama

    Hello Nelson,
    Could you please explain how this can be done. Because my understanding is that only BAPI can be used to connect Non SAP and SAP system not RFC function module.
    Regards
    Farzan

  • Select with out into in plsql

    hi all
    i want to write a select statment in a procedure with out into statement ..
    is it possilbe if yes how can i do this.
    if its not possible then if we have to Return a number of rows from procedure then how can i do this..
    thanks in advance

    User1728 wrote:
    actual i want to return a datatable type data from procedureWhat does "datatable type" mean? "Datatable" is not a type in PL/SQL, so I assume that it has some meaning in your client programming language. What Oracle data type are you trying to return?
    My guess would be that you are trying to return a REF CURSOR so that you want something like
    SQL> create procedure return_rc( p_rc OUT sys_refcursor )
      2  as
      3  begin
      4    open p_rc for select * from emp;
      5  end;
      6  /
    Procedure created.
    SQL> variable rc ref cursor;
    Usage: VAR[IABLE] [ <variable> [ NUMBER | CHAR | CHAR (n [CHAR|BYTE]) |
                        VARCHAR2 (n [CHAR|BYTE]) | NCHAR | NCHAR (n) |
                        NVARCHAR2 (n) | CLOB | NCLOB | REFCURSOR |
                        BINARY_FLOAT | BINARY_DOUBLE ] ]
    SQL> variable rc refcursor;
    SQL> exec return_rc( :rc );
    PL/SQL procedure successfully completed.
    SQL> print rc
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800
            20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300
            30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500
            30
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7566 JONES      MANAGER         7839 02-APR-81       2975
            20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400
            30
    <<more data snipped>>Justin

  • Opening and closing stock with sales order and with out sales order

    hello,
    any body please help me my client want to check opening stock and and closing stock in areport.
    material contains batch and some material with sales order and some are with out sales order. my client is asking this in a single layout. please tell me isthere any teport or bapi or function module to get this report.
    this is very uregent. and layout is requesting like opening stock, production stock, sales stock and closing stock.
    please guide me to get this report.
    Thanks & Regads
    Bhakta

    Transaction MB5B
    For sales order related use specila stock as E and use radio button indicator in stock type
    For stock w/o sales order, use special stock indiactor as "space' and stock type valuated stock.
    to get a perticular month,opening stock/closing stock enter the start date/end date as month start and end date.
    See the o/p which will give the stock as required by you

  • How do i run this peice of code with out executing the PROC

    I have the following code which i want to run but not a a Pocedure.
    I know its always better to runa PROC but this is for test purpose so the only target is to run it by part or somehow but with out the need to create or execute a procedure
    CREATE PROCEDURE temp_account_salary_archive_proc
    IS
    CURSOR arcur
    IS
    SELECT sequence_num
    FROM north.account_offer
    WHERE north.datediff ('mm', hire_date, SYSDATE) > 3;
    BEGIN
    FOR arrec IN arcur
    LOOP
    INSERT INTO north.account_salary_archive
    SELECT *
    FROM north.account_salaries
    WHERE sequence_num = arrec.sequence_num;
    DELETE FROM north.account_salaries
    WHERE sequence_num = arrec.sequence_num;
    END LOOP;
    COMMIT;
    END temp_account_salary_archive_proc;
    I need to know which parts of this code is to be executed if i want to run the process with out the help of Stored Procedure
    I am on Oracle 10g
    and I am a beginer.

    781244 wrote:
    Sorry for not mentioning earlier sir. It is Oracle 10g.
    And the DATEDIFF function I am using is a user defined function which i created.Ok, i apologize ... thanks for the clarification.
    The code as you've posted is not something i'd want to run on any volume of data. It will be horribly slow (looping is the slowest method to perform a SQL operation in Oracle).
    Much faster would be to simply
    INSERT --+ APPEND
    INTO north.account_salary_archive
    SELECT *
    FROM north.account_salaries
    WHERE sequence_num in
       SELECT
          sequence_num
       FROM north.account_offer
       WHERE north.datediff ('mm', hire_date, SYSDATE) > 3
    DELETE FROM north.account_salaries
    WHERE sequence_num IN
       SELECT
          sequence_num
       FROM north.account_offer
       WHERE north.datediff ('mm', hire_date, SYSDATE) > 3
    );2 fast SQL statements (fast being a relative term, this will depend on the number of rows you need to play around with here).
    Even faster would be partition exchanges (if you have partitioning on this table).
    If you notice, i put an APPEND hint in the INSERT statement. Please read about it in the documentation and determine if you meet the restrictions to use it or not. If you do that will increase the performance of your INSERT.
    I would also try to remove the custom function you created (DateDiff) and replace that with the logic required (is the function horribly complex?). Calling functions/procedures (custom created) places a good deal of overhead on SQL operations.

Maybe you are looking for

  • The name of the security certificate is invalid or does not match the name of the site error?

    I am looking for some help folks. We are in a Outlook 2007/Exchange2010/Windows2008R2 environment. When users open Outlook off the network, and occasionally on the network, they get the error The name of the security certificate is invalid or does no

  • Inputtax-out puttax- vatpool account

    in going for tax caliclation in purchase invoice posting and sales can i  use vat pool account commanly for both sales and purchases created ascurrent  asset acount group acccount insted of separate input tax account and salestaxpayable account

  • Accrual on Time Card

    I have to display the Accrual balance on timecard. I have configured the same and it showing accrual balance in hours I want to show it in days. How can this be done ? Rgds - Priya

  • Java.lang.ClassCastException: com.bea.wsrp.producer.descriptor.DefaultPortl

    Hi All, I am getting the java.lang.ClassCastException: com.bea.wsrp.producer.descriptor.DefaultPortletDescriptor while loading a portlet from a portal. I could see the jar for this class is wsrp-producer.jar.Is this due to a jar issue.I cant debug as

  • Cant open the system file in Tiger

    Perhaps this is a question for the Classic forum. If so then I apoligize for this post. But I am trying to open the Mac OS 9 System file which will contain the "Quack" system beep and trying to convert that to a OSX format. But I get a message statin