Creating a block using transactional trigger

hello every body,
how to create datablock using transactional triggers.
give me one example with contiguous steps..

Ramesh,
What do you meen by "transactional trigger" ?
Do you want to base the block on a view, a sub query or strored procedures ?
Francois

Similar Messages

  • Error while creating logical file using transaction FILE

    Hello there,
    I am facing an error while creating Logical File name definition using transaction FILE
    This is the input which I'm trying to give
    Logical file name: ZTEST
    Name : ZTEST
    Physical file : ZTEST_1<DATE><TIME>.csv
    Data format: ASC
    Application area: BW
    Logical path:ZTEST_1_DATAOUT
    when I tried to save it throws me an error like  ASSIGN_SUBSTRING_NOT_ALLOWED
    Please help.

    Hi,
    Please check the OSS Notes :
    Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.
    SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED
    Hope this solves the problem.
    -Vikram

  • Unable to create outbound delivery using transaction VL10B

    Hello,
    When I am trying to create an outbound delivery from refrencing a Purchase Order using transaction VL10B,
    the item is not getting selected (In the VL10B , I entered the PO number and executed but in the next screen no items are displayed ).
    Please let me know the reasons for this.
    Please Note : I tried to change the PO delivery date ,but still the above problem persist.
    Thanks & Regards,
    Sumanta Deb

    Hello Sumanta
    Please check at item level in PO under 'delivery schedule' tab, what is the material staging date. If this date is in the future, VL10B will not show any line item in due list. VL10B will only show due list from today and backdated deliveries.
    Let me know if u have any more issue related to this
    Amol

  • Payment Block using Transaction Code MIRO

    Hi Expert,
    Just want to seek your help regarding my issue in Payment block using tcode MIRO. When I enter an Incoming Invoice and post the Purchase Order thru "SIMULATE" button the payment block appeared is block "R" but when I post it directly ("SAVE" button) payment block appeared is block "D" which is the correct one. I've already change the user-exit in the program used but I end up to affect the other payment block. Can you please help me on this issue? Your help is very much appreaciated.
    Thanks so much.
    Regards,
    Anna

    Hi Nabheet,
    As per debugging MIRO upon clicking the SIMULATE button, the code that validates the blocking is in Call Function 'MRM_INVOICE_POST' inside user_exit_010. Kindly see codes below.
    For D block.
              IF l_block_set IS INITIAL.                        "LRD080701
                p_t_drseg-spgrq = 'X'.                          "DMO021302
                MODIFY p_t_drseg TRANSPORTING spgrq. "LRD080701 "DMO021302
              p_rbkpv-zlspr = 'A'.                            "JJK080602
                p_rbkpv-zlspr = 'D'.                            "JJK080602
                READ TABLE xaccit INDEX 1.                      "LRD022305
              IF xaccit-zlspr IS INITIAL.        "LRD022305   "MTS051905
                xaccit-zlspr = p_rbkpv-zlspr.                   "LRD022305
                MODIFY xaccit INDEX 1.                          "LRD022305
              ENDIF.                                          "MTS051905
              ENDIF.                                            "LRD080701
    Thanks so much for your response.
    Regards,
    -Anna

  • Steps to create IDOC when MB1C transaction trigger

    Hello,
    I want to create IDOC whever MB1C (Goods reciept) transaction is triggered. Basically I need to fill header and item data in IDOC segments and send that IDOC to 3rd party system. What are the steps need to follow in SAP to achieve this functionality. Also, if any IDOC failuer in 3rd party system, how do we re-trigger the IDOC again with the same data.
    Thanks,
    Shreekant

    Hi Brad,
    Thanks for your reply, please can you provide me the steps to create o/p type for MB1C transaction in NACE transaction?
    I searched in sdn but no proper postings are available.
    Waiting for your reply,
    Shreekant

  • REG: Creation of Warehouse product using transaction /SCWM/MAT1

    Hi,
    My requirement is to create Warehouse Products using Transaction /SCWM/MAT1 , I am using BAPI_PRDSRVAPS_SAVEMULTI2 , but I cound't able to process this because I did find Warehouse number in this BAPI, Am I using correct BAPI, if that is the case let me know the BAPI for warehouse product data,
    Thanks
    RK

    Hi,
    There is no specific list, it depends completely on the condition types that have been configured in your system.
    The answer you were given was a good one and gave you as much detail as you could expect.
    If you are having a particular problem or issue then let us know and we will do all that we can to help.
    The easiest way to find out the "list" is to simply click on the "possible entries" tab at the right of the field. !!!!!!!!!!!
    Steve B

  • Problem in customer address while creating service notification using IW51

    Hi Experts,
    I am trying to create a BDC recording for creating Service Notification using transaction IW51. I have done the recording as follows. On the First screen I am entering notification type. Then on the next screen I am entering the Sold to party  and its address by clicking on the icon besides it. After that i enter Functional location, equipment, priority and req end date and save it.  When I am running this recording after transferring it to a progam , somehow the address disappears for the newly created notification. I am not able to figure out the reason. Kindly guide me.
    Thanks,
    Sonal

    I assume you have tried this with update mode = 'A'-all and watched it actually work correctly?  May I ask why the BDC instead of BAPI?  Is it because you're creating a new partner?  If so, are you pressing save on that partner creation?

  • Creating adobe form using SFP

    hi experts,
    I am trying to create Adobe form using transaction SFP ,  the form creation goes on smoothly but when I try to save or activate it or press any button it displays Error message  "Error when transforming object data". Please tell me what could be the reason of this error  and how can I rectify it.
    Points will be rewarded.
    Many thanks,
    Sushant

    Hello,
    Check <a href="https://service.sap.com/sap/support/notes/962763">the SAP note 962763</a>.
    Rgds,
    Francois

  • Why multiple  log files are created while using transaction in berkeley db

    we are using berkeleydb java edition db base api, we have already read/write CDRFile of 9 lack rows with transaction and
    without transaction implementing secondary database concept the issues we are getting are as follows:-
    with transaction----------size of database environment 1.63gb which is due to no. of log files created each of 10 mb.
    without transaction-------size of database environment 588mb and here only one log file is created which is of 10mb. so we want to know how REASON CONCRETE CONCLUSION ..
    how log files are created and what is meant of using transaction and not using transaction in db environment and what are this db files db.001,db.002,_db.003,_db.004,__db.005 and log files like log.0000000001.....plz reply soon

    we are using berkeleydb java edition db base api, If you are seeing __db.NNN files in your environment root directory, these are environment's shared region files. And since you see these you are using Berkeley DB Core (with the Java/JNI Base API), not Berkeley DB Java Edition.
    with transaction ...
    without transaction ...First of all, do you need transactions or not? Review the documentation section called "Why transactions?" in the Berkeley DB Programmer's Reference Guide.
    without transaction-------size of database environment 588mb and here only one log file is created which is of 10mb.There should be no logs created when transactions are not used. That single log file has likely remained there from the previous transactional run.
    how log files are created and what is meant of using transaction and not using transaction in db environment and what are this db files db.001,db.002,_db.003,_db.004,__db.005 and log files like log.0000000001Have you reviewed the basic documentations references for Berkeley DB Core?
    - Berkeley DB Programmer's Reference Guide
    in particular sections: The Berkeley DB products, Shared memory regions, Chapter 11. Berkeley DB Transactional Data Store Applications, Chapter 17. The Logging Subsystem.
    - Getting Started with Berkeley DB (Java API Guide) and Getting Started with Berkeley DB Transaction Processing (Java API Guide).
    If so, you would have had the answers to these questions; the __db.NNN files are the environment shared region files needed by the environment's subsystems (transaction, locking, logging, memory pool buffer, mutexes), and the log.MMMMMMMMMM are the log files needed for recoverability and created when running with transactions.
    --Andrei                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I am creating a video using the green screen option- I imported a picture for the background of the project and videotaped someone using a green screen. Is it possible to move the video of the person around so it is not blocking the picture behind it?

    I am creating a video using the green screen option in iMovie.   I imported a picture for the background of the project and videotaped someone using a green screen. Is it possible to move the video of the person around so it is not blocking the picture behind it?

    To enable this right you need Acrobat, not the free Reader.
    However, starting from Reader X it is possible to add simple markups to any file, unless it has been specifically disallowed by the creator of the file.

  • When am creating the material using the transaction MM01 getting the error

    Hi all,
      Could you please help me to solve this issue, When I am creating the material using the transaction MM01, am receiving the error message "Express document "Update was terminated" received from author "XXXXXXXX", I checked the in SM13 found error message showing in Z_LGPLA_BIN_POSTING.
    Regards,
    Muralikrsihna.

    ST22 Error is : SAPSQL_ARRAY_INSERT_DUPREC, below is full error message
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "Z_LGPLA_BIN_POSTING" "(FUNCTION)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    Regards,
    Muralikrishna

  • BAPI for creating Return delivery to vendor using transaction MIGO

    Hi All,
             My requirement is to create Return delivery to vendor using transaction MIGO.
    In MIGO transaction to create return delivery, the following steps needs to be followed.
    i) Select the option A02 Return delivery, R02 Material document,
        Enter Material document xxxxxxxx.
        Reson for movement:xxxx
        By selecting the option item ok and via delivery check box, then save.
    After saving return delivery needs to be created.
    Is there any BAPI/FM exist for this requirement?
    I made lot of search in sdn, but i could not find any thing helpful.
    Appreciate quick help.
    regards
    surya

    Hi
    In VL02n->Extras->Delivery Output->Header
    Check if you see any message type (LD00 ?).
    If you do not see any, insert a message type LD00.
    If you want to check the IMG settings, see Txns : V/71 (for delivery types RL/RLL) and V/73 (for Item category RLLN)
    Best regards
    Ramki

  • To capture customer # while creating using  transaction XD01

    Hello..Requirement is to capture 'Sold-To' customer # which gets generated internally by SAP. I tried exit 'EXIT_SAPMF02D_001' but not successful. I am using transaction 'XD01' to create 'Sold-to' customer and I need to capture internally generated customer # before KNA1 gets updated.
    PLEASE ADVISE!.
    THANKING YOU IN ADVANCE!.
    FELLOW ABAPER.

    Normally the number is generated internally. This updates KNA1. For what purpose ru trying to use it. If u want to check it u will not be able to it. But, when u try to save it, u can check it using the corresponding user exit and use it internally for ur purpose. I dont exactly remember the user exit for save, but u can use it in it.
    Pl. reward points if this is what u needed.

  • PM: Create notification from a work order using transaction IW32.

    Hi guys,
    I am trying to create a Notification for a Functional Location thru Work Order Using transaction Code IW32.
    The actual transaction works fine as below -
    1. Open a work order in change mode using T code IW32
    2. Choose tab "Objects" to see the list of functional locations.
    3. Select a line with a functional loc, for which you want to create Notification & click "Create" Button at the bottom of the list.
    4. Enter Notification type on the pop up screen & enter.
    5. Enter the activity code, text & start date on the notif create screen & click Back. You can see the temp Notif Number in the row selected from the object list.
    6. Click save on the order change screen & the Notification is saved & is associated with the order & func Loc..
    However I can not do this in a program.
    I tried using Batch Input method. It works, but the problem is if you have more than 1 page of the Objects (Func locations) in objects tab, you can not goto the next pages.
    I also tried using BAPI_ALM_NOTIF_CREATE. Which doesnot for this purpose. It tries to create Notification but can't associate with the order.
    I appreciate your help.
    Thank you,
    Raj

    Hi:
    Check with Tcode: IBIP - Plant maintenace batch input utility tool.
    Hope, it may help!
    Thanks,
    Murali.

  • How to create a session using call transaction method.

    hi , this is nagaraju,
    How to create a session using call transaction method.

    Hi,
    About Data Transfer In R/3 System
    When a company decides to implement the SAP R/3 to manage business-critical data, it usually does not start from a no-data situation. Normally, a SAP R/3 project comes into replace or complement existing application.
    In the process of replacing current applications and transferring application data, two situations might occur:
    •     The first is when application data to be replaced is transferred at once, and only once.
    •     The second situation is to transfer data periodically from external systems to SAP and vice versa.
    •     There is a period of time when information has to be transferred from existing application, to SAP R/3, and often this process will be repetitive.
    The SAP system offers two primary methods for transferring data into SAP systems. From non-SAP systems or legacy system. These two methods are collectively called “batch input” or “batch data communication”.
    1. SESSION METHOD
    2. CALL TRANSACTION
    3. DIRECT INPUT
    First step for both the methods is to upload the data to internal table. From Internal Table, the data is transferred to database table by two ways i.e., Session method and Call transaction.
    Session is intermediate step between internal table and database table. Data along with its action is stored in session i.e., data for screen fields, to which screen it is passed, the program name behind it, and how the next screen is processed.
    When the program has finished generating the session, you can run the session to execute the SAP transactions in it. Unless session is processed, the data is not transferred to database table.
    A technique similar to SESSION method, while batch input is a two-step procedure, Call Transaction does both steps online, one after the other. In this method, you call a transaction from your program.
    SESSION METHOD
    Data is not updated in database table unless Session is processed.
    No sy-subrc is returned.
    Error log is created for error records.
    Updation in database table is always synchronous
    CALL TRANSACTION
    Immediate updation in database table.
    Sy-subrc is returned.
    Errors need to be handled explicitly
    Updation in database table can be synchronous Or Asynchronous.
    Regards,
    Sruthi.

Maybe you are looking for

  • Problem with gaining focus for JTextField in JTabPane

    I have 2 tabs. The first one has a "save to file" puush button, the seccond has two textfields. When I push the save button I get a warning that not all fields in the seccond tab are filled. If I choose the first button it shows me the seccond tab an

  • Socket Problem, Problem about printing the response from server

    Or even I am not sure if there is a response from server. My code is like that                //Connection between, httpProxy and target adress                Socket clientSocket= new Socket("some host", 80);                DataOutputStream outToServ

  • Query on ALV List Subtotal texts

    Hi, I am using the FM REUSE_ALV_LIST_DISPLAY and my internal table would have data categorized by for ex. two company codes 1000 and 2000. My requirement is for the subtotal text to display something like this during the subtotals- Total: 1000 <Compa

  • IMovie Partial Hang

    My daughter, who has been using iMovie for the last 1.5 years, recently ran into a "partial hang" in her new project. The symptoms are that, for a particular movie, the application doesn't respond to any mouse manipulations of buttons or slide bars o

  • Sales Order for Bulk quantity

    Hi, My client has a scenario like Order is created for bulk quantity, say 1000 MT for whole year for one sold to party. Now they create DI (Despatch Instruction) with reference to order for bulk quantity say 100 MT for particular one Ship to Party. N