Problem with BADI in MEANS transaction

I am using ADDRESS1_SAVED method of BADI ,ADDRESS_UPDATE
to make telephone numbers mandatory, if the field is empty, an error message comes as i have coded, but as i re-enter the correct value, there comes an internal error message that "Internal error - ADDR_VERSION_UPDATE call error".
And i have to exit from the screen.
Anybody ever came accross such scenario?
Revert at the earliest.

Hi ALok,
There is no provision to handle such an exception in this BAdI. Where is it getting triggered from? Which TCode?
Regards,
Suresh Datti

Similar Messages

  • Problem with use of COM+ Transaction and DB Transaction

    Problem with use of COM+ Transaction and DB Transaction
    We build a Web site that use sometime COM+ Transaction and sometime DB
    Transaction. If we use a COM+ Transaction and a few seconds later we try to use
    a Database Transaction (OracleConnection.BeginTransaction), we get the error
    Connection is already part of a local or a distributed transaction
    Of course the error does not produce everytime; it takes some try before we get
    the problem. And of course, if i use pooling=false on the connection string,
    the problem does not appear.
    i run the Web page
    and push the COM+ Transaction and DB Transaction one after the other for some
    times and the problem should appear.
    Environment: Windows server 2003, .Net Framework 1.1, ODP.Net 9.2.0.401,
    Database Server 9.2.0.4

    > Why in form builder can't I...
    Is this happening at runtime or at buildtime? You'll need to provide more info on what you are actually doing that's causing the problem.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Problem with BADI BADI_HU_DIALOG.

    I want to  display some customer fields in the screen 'Addit. Data' in  the Handling Units (transaction vl02n/vl03n).
    Therefore I use the BADI 'BADI_HU_DIALOG', method DEFINITION_SUBSCREEN.
    I need the subscreen in the details, so I use the flag 'IF_DETAIL'. Next I wait  the tcode 'DETZUS' (Additional data).
    if if_detail = 'X' and is_v51g-tabstrip_fcode = 'DETZUS'.
      cf_program = '/SIE/SAPLTS_SD02_VLOG'.
      cf_screen = '9000'.
    endif.
    Now I have the subscreen on the correct Dynpro and only there, but I miss the fields of the standard subscreen. The SAP originial replaces the number of their subscreen  with mine. But what can I do if I also want to use the standard fields?
    First problem:
    is there any possibility to add my subscreen to the standard?
    Second problem:
    I can't transfer the data of CS_VEKP to my subscreen to display or change them.
    What can I do?
    Thanks
    Uwe

    Hi Uwe,
    i have the same problem.
    Do you solve the problem with the missed standard fields?
    I hope you can help me.
    Thanks
    Markus

  • Problem with badi MB_DOCUMENT_BADI

    Hi experts
    i have a problem with the badi, MB_DOCUMENT_BADI this is i am using for MIGO transaction
    my requirement is i need to call MR22 transaction in this badi but as this badi is calling in up date task i cann't use the call transaction statement and there is no BAPI available for MR22 transaction so could you please tell me is there any any way to process the session automatically after creating the session for MR22 transaction.
    it would be great help for me
    thanks in advance

    Lets the FM created is Z_Call_transaction_data. ( Make this FM as RFC enabled by selecting radiobutton Remote- Enabled Module in Attributes of the FM)
    Call this FM in ur BADiI Method as :
    Call function 'Z_Call_transaction_data.' starting new task 'TASK1'.
    Import ...
    Export...
    You can ginve any name to this task.
    If you want to debug it , execute ur code and when control reaches to FM , press F5 a new session will be opened .
    Starting new task starts the code in new LUW.

  • Problem with ALV_GRID and CALL TRANSACTION.

    Hi all, Could you please tell me
    At SE38
    Why REUSE_ALV_GRID_DISPLAY and CALL TRANSACTION  after called then I click the back button to return to the calling program but it automatic return to the source code? (it hasn't saves the data in alv grid )
    In another case of this program, after automatic return to the source code then I have to waiting for 5-10 mins for execute again cuz if  immediately execute the program don't fill any data to the alv grid.
    I have problem with a simple source code like this
    REPORT ZFS_ALV_DEMO.
    TYPE-POOLS: slis.
    DATA: itab LIKE STANDARD TABLE OF aufk WITH HEADER LINE.
    DATA: gs_selfield TYPE slis_selfield   "Information cursor position ALV
        , w_aufnr     LIKE aufk-aufnr.     "Order Number
    SELECT * FROM aufk INTO TABLE itab WHERE autyp = 40.     "//Process Order
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
              i_structure_name        = 'aufk'
              i_callback_program      = sy-cprog
              i_callback_user_command = 'USER_COMMAND_COR3'
         TABLES
              t_outtab         = itab
         EXCEPTIONS
              program_error    = 1
              OTHERS           = 2.
    FORM user_command_cor3 USING u_ucomm     LIKE sy-ucomm
                                 us_selfield TYPE slis_selfield."#EC CALLED
      CASE u_ucomm.
        WHEN '&IC1'.
          gs_selfield = us_selfield.
          IF gs_selfield-fieldname = 'AUFNR'.
            SET PARAMETER ID 'ANR' FIELD gs_selfield-value.
            CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
          ELSE.
            MESSAGE w208(00) WITH 'Select by Order only!'.
          ENDIF.
      ENDCASE.
    ENDFORM.

    Hi all, Could you please tell me
    At SE38
    Why REUSE_ALV_GRID_DISPLAY and CALL TRANSACTION  after called then I click the back button to return to the calling program but it automatic return to the source code? (it hasn't saves the data in alv grid )
    In another case of this program, after automatic return to the source code then I have to waiting for 5-10 mins for execute again cuz if  immediately execute the program don't fill any data to the alv grid.
    I have problem with a simple source code like this
    REPORT ZFS_ALV_DEMO.
    TYPE-POOLS: slis.
    DATA: itab LIKE STANDARD TABLE OF aufk WITH HEADER LINE.
    DATA: gs_selfield TYPE slis_selfield   "Information cursor position ALV
        , w_aufnr     LIKE aufk-aufnr.     "Order Number
    SELECT * FROM aufk INTO TABLE itab WHERE autyp = 40.     "//Process Order
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
              i_structure_name        = 'aufk'
              i_callback_program      = sy-cprog
              i_callback_user_command = 'USER_COMMAND_COR3'
         TABLES
              t_outtab         = itab
         EXCEPTIONS
              program_error    = 1
              OTHERS           = 2.
    FORM user_command_cor3 USING u_ucomm     LIKE sy-ucomm
                                 us_selfield TYPE slis_selfield."#EC CALLED
      CASE u_ucomm.
        WHEN '&IC1'.
          gs_selfield = us_selfield.
          IF gs_selfield-fieldname = 'AUFNR'.
            SET PARAMETER ID 'ANR' FIELD gs_selfield-value.
            CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
          ELSE.
            MESSAGE w208(00) WITH 'Select by Order only!'.
          ENDIF.
      ENDCASE.
    ENDFORM.

  • Problems with the batch in transaction MB1A and MB21

    Hi everybody, I am new in the MM module. I am having a problem with transaction MB1A and MB21, when i try to select a batch for the movement 901. if i click the match code for the material's batch, the system shows me all the batches for the material, but some of these batches don't have available quantity stock and order creates the reservation or the material output. The system dont allow negative stock. Do you have any idea of this problem? Regards.

    Hi,
    In IM, when you select a batch with possibile entries, system always shows the available batches no matter whether stock is there are not.
    However, if you setup batch determination strategy for example, when you are processing in MB1A, SAP fills the batch based on the criterion you define in:
    MBC1Logistics -->Materials Management -->Inventory Management -->Environment -->Batch Search Strategy -->MBC1 - Create
    Select appropriate strategy (if defined in your system, say for mvt ty)
    maintain search strategy and sort criteria for your movement type here.
    Hope this helps!

  • MS SQL Server problem with MDB's: javax.transaction.xa.XAException

              I am programming agents in j2ee and using MDB to implement the asynchronicity of
              the agents.
              Those MDB's get messages (MapMessage) from a controller (an SFSB) that contain
              the agent's ID and the action that the agent has to perform. The MDB creates a
              SFSB, and calls the appropriate action from this session bean. Those actions require
              to read and write from my MS SQL Server 2000 XA database. But when running my
              program, I often get this error, which doesn't seem to affect the action, because
              when I check my database data, everything is updated correctly. So the program
              still completes, but the errors slow down the execution (the program hangs for
              about 3 seconds, each time the error occurs).
              Does anybody has an explanation or solution for this?
              Thank you...
              This is the error output:
              onMessage()
              Reading MapMessage: 1
              <26-apr-2004 14.34 u. CEST> <Error> <EJB> <BEA-010026> <Exception occurred during
              commit of transaction Xid=BEA1-005F88135FFBA636FFF7(15619088),Status=Rolled back.
              [Reason=javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=4,seconds
              left=30,XAServerResourceInfo[JMS_JMS Server2_NotDurable]=(ServerResourceInfo[JMS_JMS
              Server2_NotDurable]=(state=rolledback,assigned=lucille3_ms),xar=JMS_JMS Server2_NotDurable),XAServerResourceInfo[MSSQL
              Connection Pool]=(ServerResourceInfo[MSSQL Connection Pool]=(state=rolledback,assigned=lucille3_ms),xar=MSSQL
              Connection Pool),SCInfo[cluster+lucille3_ms]=(state=rolledback),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+,
              XAResources={},NonXAResources={})],CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+):
              javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0)returns -4
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown
              Source)
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.prepare(Unknown Source)
              at weblogic.jdbcx.base.BaseXAResource.prepare(Unknown Source)
              at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:821)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1161)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:395)
              at weblogic.transaction.internal.ServerSCInfo$1.execute(ServerSCInfo.java:253)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Could not prepare resource 'MSSQL Connection
              Pool
              [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare (0) returns -4 - with nested
              exception:
              [javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4]
              at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1644)
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:300)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)
              at weblogic.ejb20.internal.MDListener.execute(MDListener.java:412)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
              at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
              at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170).>
              

              I am programming agents in j2ee and using MDB to implement the asynchronicity of
              the agents.
              Those MDB's get messages (MapMessage) from a controller (an SFSB) that contain
              the agent's ID and the action that the agent has to perform. The MDB creates a
              SFSB, and calls the appropriate action from this session bean. Those actions require
              to read and write from my MS SQL Server 2000 XA database. But when running my
              program, I often get this error, which doesn't seem to affect the action, because
              when I check my database data, everything is updated correctly. So the program
              still completes, but the errors slow down the execution (the program hangs for
              about 3 seconds, each time the error occurs).
              Does anybody has an explanation or solution for this?
              Thank you...
              This is the error output:
              onMessage()
              Reading MapMessage: 1
              <26-apr-2004 14.34 u. CEST> <Error> <EJB> <BEA-010026> <Exception occurred during
              commit of transaction Xid=BEA1-005F88135FFBA636FFF7(15619088),Status=Rolled back.
              [Reason=javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=4,seconds
              left=30,XAServerResourceInfo[JMS_JMS Server2_NotDurable]=(ServerResourceInfo[JMS_JMS
              Server2_NotDurable]=(state=rolledback,assigned=lucille3_ms),xar=JMS_JMS Server2_NotDurable),XAServerResourceInfo[MSSQL
              Connection Pool]=(ServerResourceInfo[MSSQL Connection Pool]=(state=rolledback,assigned=lucille3_ms),xar=MSSQL
              Connection Pool),SCInfo[cluster+lucille3_ms]=(state=rolledback),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+,
              XAResources={},NonXAResources={})],CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+):
              javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0)returns -4
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown
              Source)
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.prepare(Unknown Source)
              at weblogic.jdbcx.base.BaseXAResource.prepare(Unknown Source)
              at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:821)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1161)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:395)
              at weblogic.transaction.internal.ServerSCInfo$1.execute(ServerSCInfo.java:253)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Could not prepare resource 'MSSQL Connection
              Pool
              [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare (0) returns -4 - with nested
              exception:
              [javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4]
              at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1644)
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:300)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)
              at weblogic.ejb20.internal.MDListener.execute(MDListener.java:412)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
              at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
              at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170).>
              

  • Problem with submit report for transaction LT23

    Hi,
    I want to submit report for transaction LT23 based on the double click on a field in the output of my report. I am using selection table to pass values. The problem is I have  something called dynamic selections. I am using some selection fields from the dynamic selection option. Can anyone tell me how do I pass the values in such a case?

    In your [submit|http://help.sap.com/abapdocu/en/ABAPSUBMIT.htm] statement in the [selection screen parameters|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm] use the [WITH FREE SELECTIONS|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#!ABAP_ADDITION_5@5@] option to pass dynamic selections
    NB: Use FREE_SELECTIONS_RANGE_2_EX to build the correct parameter texpr.
    Regards
    Raymond

  • Problems with accounting on MIGO transaction

    Hello All!!
    A problem that happens on QAS system and not happens on PRD system.
    When I create a Goods Receipt (MIGO transaction) with apportionment of Cost Center (Good Receipt with more of one Cost Center), the system isn't accounting (Controlling and Financial Accounting) the posting.
    Does Anybody know the solution to this problem?
    Thanks!!
    Regards,
    Vitor Chagas
    SAP Consultant Material Managment

    I am very certain that this is not limited to your QAS . It is SAP standard  that in case of multiple  account assignment the costs will be posted with the invoice, not with the receipt as it is usual for single account assignment.
    You PO has a flag for GR non-valuated at item detail in tab delivery. and the F1 field help tells you: This indicator must be set in the case of multiple account assignment for example.

  • VAT Reconciliation Problem with large number of transactions

    Hi
    We are experiencing problem when it comes to doing a Manual Internal Reconciliation for the VAT G/L account.
    We have about 10,000 Output VAT transactions per month. So when we do a manual reconciliation for all these 10,000 credit entries against one debit entry SAP B1 resulted in "Out of Memory Error" or "Internal Error".
    We are currently on SAP B1 2007A PL49.
    The client system spec is Intel Core 2 Duo T7300 2.0GHZ with 2GB memory.
    Has any one come across the same issue before? Or SAP B1 cannot handle 10,000 transactions reconciliation due to limit in application?
    BR,
    Jimmy

    For this kind of volume, you may have to do reconciliation more often to avoid error messages.  I don't think this is application error but the limitation of all resources.
    Thanks,
    Gordon

  • Problem with REVERSAL using the Transaction - FB08

    I have posted a document with document type ZA and when iam trying to reverse this document using FB08 it is giving the below error.
    ERROR: Enter Line item number.
    Please note that I have posted the ZA document directly in FI using the Transaction - F-02.
    Thanks in advance for the help.
    Regards
    Praveen.P

    Hi Praveen,
    For that issue go to OBA7 and check the document type ZA,In details Select check box for reversal and give the document type AB for reversal.check the document fb03.
    May be this information is useful to you
    If you have any doubt feel free to ask
    Regards
    Ritesh

  • Problem with ORG Determination in Transactions

    I am having an issue with ORG determination in Business Transactions
    The Organization area is not being populated as required.
    I want to pull in the org data from the User (Org data set in Sales Area section of the BP), all users have the same org data, when running the transaction this is not working, this used to work ok but no longer does??
    Settings in org data profile is set to '14000146 - Org. Unit Using Transaction Type', this brings back two errors:
    1 - No organizational units found
    2 - No organizational unit could be selected
    I have tried using the 10000194 - UserOrgUnit but this causes a pricing determination error relating to config
    any ideas anyone??
    regards
    Barry

    Hello Barry,
    To use rule 14000146, you need to add the used transaction type as an attribute of the org. unit that you want it to be determined.
    To do this, please execute t-cd ppoma_crm, open your org. unit, go to the [Attributes] tab, add the transaction type into the 'Transaction Type' attibute, then check on 'Obj. permitted in determination' save.
    Wiith rule 10000194 you got the org. unit determined. For the pricing error, I think it might be related to the pricing procedure determination. If yes, please check your IMG activity:
    SPRO
    - CRM
      - Basic Functions
       - Pricing
        - Pricing in the Business Transaction
         - Determine Pricing Procedures
    Here, the Sales organization, Dis. Channel, Division are the org. data determined in the transaction; the Doc. Pricing Procedure is the one defined in the transaction type (IMG activity: Define Transaction Types->Assignment of Business Transaction Categories-> BUS2000115 -> Customizing header -> field 'Doc. Pric.Proc.'); the Cust. Pricing Procedure is taken from the sold-to party's BP master sales area data (in the billing) tab.
    Hope the information could be helpful.
    Best regards,
    Maggie

  • Problem with BADI CRM_ISALES_SET_EXTENSIONS

    We are using CRM 5.0 version with ISA (Internet Sales Application), in ISA front end we have a DTO (design to order) scenario where the user has to enter some description text as to explain the necessity of the design to order that particular product.
    This text gets saved to the backend CRM system via the BADI CRM_ISALES_SET_EXTENSIONS.
    The issue with arises whenever a quotation or order has the length/volume of the DTO text in the header tab around 6 - 7 pages of notes in it.
    In other words it contains 362 lines (more than 255 lines) of data.
    Technically SAP has the limitation for the integer field INT1 and it has been exceeded in this case.
    So, the function module CRM_ISALES_SET_EXTENSIONS is throwing CX_SY_CONVERSION_OVERFLOW exception.
    Usually SAP replaces these type of fields with INT4 to store more data.   But, this function module still has the INT1 data element.
    It appears to be there is no SAP note for this. Probably SAP may want to limit the text for ISA.
    Is there anyone else facing a similar issue ? if yes please contact me via reply to this post and let me know ....
    Thanks in advance.
    Samir Kulkarni

    I got my solution...

  • How I withdrawal a problem with bad adds in my Mac Book Air 11: Safari Extensions: ️     MacXCoupon

    I need withdrawal bad program from my macbook air 11, ios 6.0.3, the name of virus or similar is: MacXCoupon.

    We are Apple users here, and we answer technical questions.
    Sorry, we cannot help you.

  • Problem with ORA-02046: distributed transaction already begun

    I can use db link from the source machine but not the vice versa, throws ORA-02046. I restarted Oracle, rebooted the
    machine, yet ORA-02046 persists. No entries in dba_2pc_pending in any (target, db-linking) machines. Can anybody suggest how
    can I resolve this issue? It is eating out our production time.
    Thanks in advance,

    I had already checked the link, Thanks.
    I bounced Oracle in the suspicious (one that was doubted to have started the distributed transaction) machine, then it resolved the issue.
    Thanks

Maybe you are looking for

  • How to find ITS URL in R/3 system

    Hi All, I want to know from where one can read the ITS URL in an R/3 system? I know this question has been asked frequently but all threads lead to a Blog which does not come up. Please help. Thanks in advance. Regards, Saurabh

  • IBook to HDMI (analog)

    Hello. Anyone has had success in connecting an iBook to an HDTV using HDMI ? I have the iBook mini-DVI to VGA adapter, and am planning to buy a VGA to HDMI adapter (or rather VGA to DVI then DVI to HDMI). This seems weird, but I am not sure Apple's m

  • Creating a DC return Error

    Hi, I've configured NWDI. I added my new SC I've created via SLD into "Software Components for Development" section while creating Track Data on CMS. But I left empty of the section "Required Software Components" on Track Data. I'm writing above to b

  • Acrobat XI Won't install in french

    Hi, I have some trouble installing Acrobat XI in French on many computers. I downloaded the installation package from the volume licencing service center. I extracted the package and did the installation - yes I did select French as the installation

  • ICal shuts down when i try to print.  Help!

    I still have OS X 10.9.5.   iCal shuts down if I try to print from it.  Ideas?