Overview of the innards of the AQ process?

We came up with the brilliant idea to use AQ to create a system like the log4j package for Java - in short a system which we can use to log all sorts of messages (debug info, warnings, errors). The system allows for multiple message consumers, and each consumer has a rule determining which messages it is interested in. At the moment, we have one consumer which simply writes the messages to a log table, but in the future we also want to add consumers that send emails in case of an error, etc. The sky is the limit!
Alas. We have it working without a problem on a test database, which is a Windows server, but on our production database the whole thing grinds to a squeaking halt after a while. The production database, version 10.1.0.5, runs on an Apple XServe.
So, what happens? After a while, we see that the table SYS.AQ_SRVNTFN_TABLE fills up with records, which are not being removed. Also, the table AQ$LOGMESSAGE_QTAB_H and AQ$LOGMESSAGE_QTAB_I fill up; no new messages are being written to the final log table (F_SYST_LOGMESSAGE). It seems that the entire AQ process halts. The only way we found to get it going again, is to remove all records from AQ_SRVNTFN_TABLE and recreate the queue and queue table.
We are unable to figure out what goes wrong. This is partly caused by our inexperience with AQ. Is there a clear description of the entire AQ process, from enqueuing a message, to sending it to the right queue, to dequeuing the message, complete with tables and views and server processes involved? What would be the best way to find out why our AQ system breaks down? Has anyone experience with AQ on Apple?

We are already using a commercial product; it is called Oracle Advanced Queuing. We have it running without problems on our development system. We need to figure out why the whole Advanced Queuing mechanism fails in our production environment. What would be really helpful is an overview of the whole AQ process, including tables and actions on those tables. For instance, the AQ documentation states that messages are enqueued and dequeued by Jxxx processes - but what exactly do those processes do? Where do they read their data from, and where do they write their data to? What's the role of AQ_SRVNTFN_TABLE? Why do messages 'get stuck' there?
Some more background information:
- no errors are generated in the alert log or the trace files
- we create the queue, queue table and payload as follows:
CREATE OR REPLACE TYPE TLogMessage AS OBJECT
sequence_nr NUMBER,
creationtime TIMESTAMP,
module VARCHAR2(4000), -- the module that generated the message
severity NUMBER, -- severity
message VARCHAR2(4000), -- the log message
userid VARCHAR2(4000), -- the user for which the log message applies
additional_info CLOB -- additional info
BEGIN
DBMS_AQADM.CREATE_QUEUE_TABLE(
queue_table => 'MTDX.LOGMESSAGE_QTAB',
multiple_consumers => TRUE,
queue_payload_type => 'MTDX.TLogMessage',
storage_clause => 'TABLESPACE DOCUMENT'
DBMS_AQADM.CREATE_QUEUE(
queue_name => 'logmessage_queue',
queue_table => 'MTDX.LOGMESSAGE_QTAB'
DBMS_AQADM.START_QUEUE(
queue_name => 'logmessage_queue'
END;
The following procedure is used to enqueue the log messages:
     PROCEDURE Log(
          pModule               VARCHAR2,
          pSeverity          NUMBER,
          pMessage          VARCHAR2,
          pUserId               VARCHAR2 DEFAULT NULL,
          pAdditionalInfo     CLOB DEFAULT NULL
     IS
          vMessage               TLogMessage;
          vEnqueueOptions          DBMS_AQ.ENQUEUE_OPTIONS_T;
          vMsgProperties          DBMS_AQ.MESSAGE_PROPERTIES_T;
          vMessageHandle          RAW(16);
          vSequenceNr               NUMBER;
     BEGIN
          SELECT SYLMSEQ.NEXTVAL
          INTO vSequenceNr
          FROM DUAL;
          vMessage := TLogMessage(
                              sequence_nr => vSequenceNr,
                              creationtime => SYSTIMESTAMP,
                              module => pModule,
                              severity => pSeverity,
                              message => pMessage,
                              userid => pUserId,
                              additional_info => pAdditionalInfo
          vEnqueueOptions.visibility := DBMS_AQ.IMMEDIATE;
          vMsgProperties.correlation := pModule;
          vMsgProperties.priority := -pSeverity;
          -- Enqueue the message to all subscribers
          DBMS_AQ.ENQUEUE(
               queue_name               => QUEUE_NAME,
               enqueue_options          => vEnqueueOptions,
               message_properties     => vMsgProperties,
               payload                    => vMessage,
               msgid                    => vMessageHandle
     EXCEPTION
          WHEN no_subscribers THEN
               -- No subscribers on the queue; ignore
               NULL;
     END;
And finally the following callback procedure is used by the queue consumer to write messages to the log table:
     PROCEDURE TableLoggerCallback(
          context          RAW,
          reginfo          SYS.AQ$_REG_INFO,
          descr          SYS.AQ$_DESCRIPTOR,
          payload          RAW,
          payloadl     NUMBER
     IS
          vDequeueOptions          DBMS_AQ.DEQUEUE_OPTIONS_T;
          vMsgProperties          DBMS_AQ.MESSAGE_PROPERTIES_T;
          vMessageHandle          RAW(16);
          vMessage               TLogMessage;
     BEGIN
          vDequeueOptions.msgid := descr.msg_id;
          vDequeueOptions.consumer_name := descr.consumer_name;
          DBMS_AQ.DEQUEUE(
               queue_name                => descr.queue_name,
               dequeue_options          => vDequeueOptions,
               message_properties     => vMsgProperties,
               payload                    => vMessage,
               msgid                    => vMessageHandle
          INSERT INTO F_SYST_LOGMESSAGE
               SYLM_SEQUENCE,
               SYLM_TIMESTAMP,
               SYLM_MODULE,
               SYLM_SEVERITY,
               SYLM_MESSAGE,
               SYLM_LOGGER,
               SYLM_USERID,
               SYLM_ADDITIONALINFO
          VALUES
               vMessage.sequence_nr,
               vMessage.creationtime,
               vMessage.module,
               vMessage.severity,
               vMessage.message,
               descr.consumer_name,
               vMessage.userid,
               vMessage.additional_info
          COMMIT;
     END;
-----

Similar Messages

  • ITEM tab in the Approval Process overview IN srm 7.0 AND EP 7.1

    Hi Friends,
    I am working in SRM 7.0 with EP 7.1..
    1 . I have to remove 'ITEM' tab in the approval process overview screen which is apprearing in Portal. approval process overview screen will be appeared when 'Display / Edit Agents' Button in the Header level of the Shopping cart screen.
    2 . Remove Approval Process overview tab in the detail screen of the shopping cart.
    Any idea
    John.

    Hi Masayuki,
       Thank you for your quik reply.
      can you please explain little bit more on this..
    2. tab
    Easy way is right click, User Setting -> Hide Tab. or User Setting -> More.. Remove display tab
    I tried this option but this is each user setting , Can we make this centerlized?
    or
    Go to SE80 Webdynpro and change the visible property.
    I know the webdynpro for this tab but to change this visible property do I need have access key( Core modification ) or any other way to do such as enhancement spot?
    John.
    Edited by: John peter on Jul 10, 2009 11:16 AM

  • ITEM tab in the Approval Process overview

    Hi Friends,
        I am working in SRM 7.0 with EP 7.1..
        1 .  I have to remove 'ITEM' tab in the approval process overview screen. approval process overview screen will be appeared when 'Display / Edit Agents' Button in the Header level of the Shopping cart screen.
       2 .  Remove  Approval Process overview tab in the detail screen of the shopping cart.
       Any idea
    John.

    Hi Masayuki,
       Thank you for your quik reply.
      can you please explain little bit more on this..
    2. tab
    Easy way is right click, User Setting -> Hide Tab. or User Setting -> More.. Remove display tab
    I tried this option but this is each user setting , Can we make this centerlized?
    or
    Go to SE80 Webdynpro and change the visible property.
    I know the webdynpro for this tab but to change this visible property do I need have access key( Core modification ) or any other way to do such as enhancement spot?
    John.
    Edited by: John peter on Jul 10, 2009 11:16 AM

  • How does the GR processing time affect the scheduling of the process order & the latest start date in the operation.

    Hi
    Can anyone explain  how does the GR processing time affect the scheduling of the process order & the latest start date in the operation overview.

    Hi
    GR processing time means number of workdays required after receiving the material in storage.
    Check this link:GR Processing time
    Regards,
    Anupam Sharma

  • What are the major process to transfer the data from legacy to sap system.

    What are the major process to transfer the data from legacy to sap system using BDC at Real Time only?

    hi,
    BATCH DATA COMMUNICATION
    main methods are:
    1. SESSION METHOD
    2. CALL TRANSACTION
    3. DIRECT INPUT
    Advantages offered by BATCH INPUT method:
    1. Can process large data volumes in batch.
    2. Can be planned and submitted in the background.
    3. No manual interaction is required when data is transferred.
    4. Data integrity is maintained as whatever data is transferred to the table is through transaction. Hence batch input data is submitted to all the checks and validations.
    To implement one of the supported data transfers, you must often write the program that exports the data from your non-SAP system. This program, known as a “data transfer” program must map the data from the external system into the data structure required by the SAP batch input program.
    The batch input program must build all of the input to execute the SAP transaction.
    Two main steps are required:
    • To build an internal table containing every screen and every field to be filled in during the execution of an SAP transaction.
    • To pass the table to SAP for processing.
    Prerequisite for Data Transfer Program
    Writing a Data Transfer Program involves following prerequisites:
    Analyzing data from local file
    Analyzing transaction
    Analyzing transaction involves following steps:
    • The transaction code, if you do not already know it.
    • Which fields require input i.e., mandatory.
    • Which fields can you allow to default to standard values.
    • The names, types, and lengths of the fields that are used by a transaction.
    • Screen number and Name of module pool program behind a particular transaction.
    To analyze a transaction::
    • Start the transaction by menu or by entering the transaction code in the command box.
    (You can determine the transaction name by choosing System – Status.)
    • Step through the transaction, entering the data will be required for processing your batch input data.
    • On each screen, note the program name and screen (dynpro) number.
    (dynpro = dyn + pro. Dyn = screen, pro = number)
    • Display these by choosing System – Status. The relevant fields are Program (dynpro) and Dynpro number. If pop-up windows occur during execution, you can get the program name and screen number by pressing F1 on any field or button on the screen.
    The technical info pop-up shows not only the field information but also the program and screen.
    • For each field, check box, and radio button on each screen, press F1 (help) and then choose Technical Info.
    Note the following information:
    - The field name for batch input, which you’ll find in its own box.
    - The length and data type of the field. You can display this information by double clicking on the Data Element field.
    • Find out the identification code for each function (button or menu) that you must execute to process the batch-input data (or to go to new screen).
    Place the cursor on the button or menu entry while holding down the left mouse button. Then press F1.
    In the pop-up window that follows, choose Technical info and note the code that is shown in the Function field.
    You can also run any function that is assigned to a function key by way of the function key number. To display the list of available function keys, click on the right mouse button. Note the key number that is assigned to the functions you want to run.
    Once you have program name, screen number, field name (screen field name), you can start writing.
    DATA TRANSFER program.
    Declaring internal table
    First Integral Table similar to structure like local file.
    Declaring internal table like BDCDATA
    The data from internal table is not transferred directly to database table, it has to go through transaction. You need to pass data to particular screen and to particular screen-field. Data is passed to transaction in particular format, hence there is a need for batch input structure.
    The batch input structure stores the data that is to be entered into SAP system and the actions that are necessary to process the data. The batch input structure is used by all of the batch input methods. You can use the same structure for all types of batch input, regardless of whether you are creating a session in the batch input queue or using CALL TRANSACTION.
    This structure is BDCDATA, which can contain the batch input data for only a single run of a transaction. The typical processing loop in a program is as follows:
    • Create a BDCDATA structure
    • Write the structure out to a session or process it with CALL TRANSACTION USING; and then
    • Create a BDCDATA structure for the next transaction that is to be processed.
    Within a BDCDATA structure, organize the data of screens in a transaction. Each screen that is processed in the course of a transaction must be identified with a BDCDATA record. This record uses the Program, Dynpro, and Dynbegin fields of the structure.
    The screen identifier record is followed by a separate BDCDATA record for each value, to be entered into a field. These records use the FNAM and FVAL fields of the BDCDATA structure. Values to be entered in a field can be any of the following:
    • Data that is entered into screen fields.
    • Function codes that are entered into the command field. Such function codes execute functions in a transaction, such as Save or Enter.
    The BDCDATA structure contains the following fields:
    • PROGRAM: Name of module pool program associated with the screen. Set this field only for the first record for the screen.
    • DYNPRO: Screen Number. Set this field only in the first record for the screen.
    • DYNBEGIN: Indicates the first record for the screen. Set this field to X, only for the first record for the screen. (Reset to ‘ ‘ (blank) for all other records.)
    • FNAM: Field Name. The FNAM field is not case-sensitive.
    • FVAL: Value for the field named in FNAM. The FVAL field is case-sensitive. Values assigned to this field are always padded on the right, if they are less than 132 characters. Values must be in character format.
    Transferring data from local file to internal table
    Data is uploaded to internal table by UPLOAD of WS_UPLOAD function.
    Population of BDCDATA
    For each record of internal table, you need to populate Internal table, which is similar to BDCDATA structure.
    All these five initial steps are necessary for any type of BDC interface.
    DATA TRANSFER program can call SESSION METHOD or CALL TRANSACTION. The initial steps for both the methods are same.
    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 METHOD
    About Session method
    In this method you transfer data from internal table to database table through sessions.
    In this method, an ABAP/4 program reads the external data that is to be entered in the SAP System and stores the data in session. A session stores the actions that are required to enter your data using normal SAP transaction i.e., Data is transferred to session which in turn transfers data to database table.
    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. You can either explicitly start and monitor a session or have the session run in the background processing system.
    Unless session is processed, the data is not transferred to database table.
    BDC_OPEN_GROUP
    You create the session through program by BDC_OPEN_GROUP function.
    Parameters to this function are:
    • User Name: User name
    • Group: Name of the session
    • Lock Date: The date on which you want to process the session.
    • Keep: This parameter is passed as ‘X’ when you want to retain session after
    processing it or ‘ ‘ to delete it after processing.
    BDC_INSERT
    This function creates the session & data is transferred to Session.
    Parameters to this function are:
    • Tcode: Transaction Name
    • Dynprotab: BDC Data
    BDC_CLOSE_GROUP
    This function closes the BDC Group. No Parameters.
    Some additional information for session processing
    When the session is generated using the KEEP option within the BDC_OPEN_GROUP, the system always keeps the sessions in the queue, whether it has been processed successfully or not.
    However, if the session is processed, you have to delete it manually. When session processing is completed successfully while KEEP option was not set, it will be removed automatically from the session queue. Log is not removed for that session.
    If the batch-input session is terminated with errors, then it appears in the list of INCORRECT session and it can be processed again. To correct incorrect session, you can analyze the session. The Analysis function allows to determine which screen and value has produced the error. If you find small errors in data, you can correct them interactively, otherwise you need to modify batch input program, which has generated the session or many times even the data file.
    CALL TRANSACTION
    About CALL TRANSACTION
    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 by
    Call transaction <tcode> using <BDCTAB>
    Mode <A/N/E>
    Update <S/A>
    Messages into <MSGTAB>.
    Parameter – 1 is transaction code.
    Parameter – 2 is name of BDCTAB table.
    Parameter – 3 here you are specifying mode in which you execute transaction
    A is all screen mode. All the screen of transaction are displayed.
    N is no screen mode. No screen is displayed when you execute the transaction.
    E is error screen. Only those screens are displayed wherein you have error record.
    Parameter – 4 here you are specifying update type by which database table is updated.
    S is for Synchronous update in which if you change data of one table then all the related Tables gets updated. And sy-subrc is returned i.e., sy-subrc is returned for once and all.
    A is for Asynchronous update. When you change data of one table, the sy-subrc is returned. And then updating of other affected tables takes place. So if system fails to update other tables, still sy-subrc returned is 0 (i.e., when first table gets updated).
    Parameter – 5 when you update database table, operation is either successful or unsuccessful or operation is successful with some warning. These messages are stored in internal table, which you specify along with MESSAGE statement. This internal table should be declared like BDCMSGCOLL, a structure available in ABAP/4. It contains the following fields:
    1. Tcode: Transaction code
    2. Dyname: Batch point module name
    3. Dynumb: Batch input Dyn number
    4. Msgtyp: Batch input message type (A/E/W/I/S)
    5. Msgspra: Batch input Lang, id of message
    6. Msgid: Message id
    7. MsgvN: Message variables (N = 1 - 4)
    For each entry, which is updated in database, table message is available in BDCMSGCOLL. As BDCMSGCOLL is structure, you need to declare a internal table which can contain multiple records (unlike structure).
    Steps for CALL TRANSACTION method
    1. Internal table for the data (structure similar to your local file)
    2. BDCTAB like BDCDATA
    3. UPLOAD or WS_UPLOAD function to upload the data from local file to itab. (Considering file is local file)
    4. Loop at itab.
    Populate BDCTAB table.
    Call transaction <tcode> using <BDCTAB>
    Mode <A/N/E>
    Update <S/A>.
    Refresh BDCTAB.
    Endloop.
    (To populate BDCTAB, You need to transfer each and every field)
    The major differences between Session method and Call transaction are as follows:
    SESSION METHOD CALL TRANSACTION
    1. Data is not updated in database table unless Session is processed. Immediate updation in database table.
    2. No sy-subrc is returned. Sy-subrc is returned.
    3. Error log is created for error records. Errors need to be handled explicitly
    4. Updation in database table is always synchronous Updation in database table can be synchronous Or Asynchronous.
    Error Handling in CALL TRANSACTION
    When Session Method updates the records in database table, error records are stored in the log file. In Call transaction there is no such log file available and error record is lost unless handled. Usually you need to give report of all the error records i.e., records which are not inserted or updated in the database table. This can be done by the following method:
    Steps for the error handling in CALL TRANSACTION
    1. Internal table for the data (structure similar to your local file)
    2. BDCTAB like BDCDATA
    3. Internal table BDCMSG like BDCMSGCOLL
    4. Internal table similar to Ist internal table
    (Third and fourth steps are for error handling)
    5. UPLOAD or WS_UPLOAD function to upload the data from the local file to itab. (Considering file is local file)
    6. Loop at itab.
    Populate BDCTAB table.
    Call transaction <tr.code> using <Bdctab>
    Mode <A/N/E>
    Update <S/A>
    Messages <BDCMSG>.
    Perform check.
    Refresh BDCTAB.
    Endloop.
    7 Form check.
    IF sy-subrc <> 0. (Call transaction returns the sy-subrc if updating is not successful).
    Call function Format_message.
    (This function is called to store the message given by system and to display it along with record)
    Append itab2.
    Display the record and message.
    DIRECT INPUT
    About Direct Input
    In contrast to batch input, this technique does not create sessions, but stores the data directly. It does not simulate the online transaction. To enter the data into the corresponding database tables directly, the system calls a number of function modules that execute any necessary checks. In case of errors, the direct input technique provides a restart mechanism. However, to be able to activate the restart mechanism, direct input programs must be executed in the background only. Direct input checks the data thoroughly and then updates the database directly.
    You can start a Direct Input program in two ways;
    Start the program directly
    This is the quickest way to see if the program works with your flat file. This option is possible with all direct input programs. If the program ends abnormally, you will not have any logs telling you what has or has not been posted. To minimize the chance of this happening, always use the check file option for the first run with your flat file. This allows you to detect format errors before transfer.
    Starting the program via the DI administration transaction
    This transaction restarts the processing, if the data transfer program aborts. Since DI document are immediately posted into the SAP D/B, the restart option prevents the duplicate document posting that occurs during a program restart (i.e., without adjusting your flat file).
    Direct input is usually done for standard data like material master, FI accounting document, SD sales order and Classification for which SAP has provided standard programs.
    First time you work with the Direct Input administration program, you will need to do some preparation before you can transfer data:
    - Create variant
    - Define job
    - Start job
    - Restart job
    Common batch input errors
    - The batch input BDCDATA structure tries to assign values to fields which do not exist in the current transaction screen.
    - The screen in the BDCDATA structure does not match the right sequence, or an intermediate screen is missing.
    - On exceptional occasions, the logic flow of batch input session does not exactly match that of manual online processing. Testing the sessions online can discover by this.
    - The BDCDATA structure contains fields, which are longer than the actual definition.
    - Authorization problems.
    RECORDING A BATCH INPUT
    A B recording allows you to record a R/3 transaction and generate a program that contains all screens and field information in the required BDC-DATA format.
    You can either use SHDB transaction for recording or
    SYSTEM ? SERVICES ? BATCH INPUT ? EDIT
    And from here click recording.
    Enter name for the recording.
    (Dates are optional)
    Click recording.
    Enter transaction code.
    Enter.
    Click Save button.
    You finally come to a screen where, you have all the information for each screen including BDC_OKCODE.
    • Click Get Transaction.
    • Return to BI.
    • Click overview.
    • Position the cursor on the just recorded entry and click generate program.
    • Enter program name.
    • Click enter
    The program is generated for the particular transaction.
    BACKGROUND PROCESSING
    Need for Background processing
    When a large volume of data is involved, usually all batch inputs are done in background.
    The R/3 system includes functions that allow users to work non-interactively or offline. The background processing systems handle these functions.
    Non-interactively means that instead of executing the ABAP/4 programs and waiting for an answer, user can submit those programs for execution at a more convenient planned time.
    There are several reasons to submit programs for background execution.
    • The maximum time allowed for online execution should not exceed 300 seconds. User gets TIMEOUT error and an aborted transaction, if time for execution exceeds 300 seconds. To avoid these types of error, you can submit jobs for background processing.
    • You can use the system while your program is executing.
    This does not mean that interactive or online work is not useful. Both type of processing have their own purposes. Online work is the most common one entering business data, displaying information, printing small reports, managing the system and so on. Background jobs are mainly used for the following tasks; to process large amount of data, to execute periodic jobs without human intervention, to run program at a more convenient, planned time other than during normal working hours i.e., Nights or weekends.
    The transaction for background processing is SM36.
    Or
    Tools ? Administration ? Jobs ? Define jobs
    Or
    System ? services ? Jobs
    Components of the background jobs
    A job in Background processing is a series of steps that can be scheduled and step is a program for background processing.
    • Job name. Define the name of assigned to the job. It identifies the job. You can specify up to 32 characters for the name.
    • Job class. Indicates the type of background processing priority assigned to the job.
    The job class determines the priority of a job. The background system admits three types of job classes: A B & C, which correspond to job priority.
    • Job steps. Parameters to be passed for this screen are as follows:
    Program name.
    Variant if it is report program
    Start criteria for the job: Option available for this are as follows:
    Immediate - allows you to start a job immediately.
    Date/Time - allows you to start a job at a specific name.
    After job - you can start a job after a particular job.
    After event - allows you to start a job after a particular event.
    At operation mode - allows you to start a job when the system switches to a particular operation mode.
    Defining Background jobs
    It is two step process: Firstly, you define the job and then release it.
    When users define a job and save it, they are actually scheduling the report i.e., specifying the job components, the steps, the start time.
    When users schedule program for background processing, they are instructing the system to execute an ABAP/4 report or an external program in the background. Scheduled jobs are not executed until they are released. When jobs are released, they are sent for execution to the background processing system at the specified start time. Both scheduling and releasing of jobs require authorizations.
    HANDLING OF POP UP SCREEN IN BDC
    Many times in transaction pop up screen appears and for this screen you don’t pass any record but some indication to system telling it to proceed further. For example: The following screen
    To handle such screen, system has provided a variable called BDC_CURSOR. You pass this variable to BDCDATA and process the screen.
    Usually such screen appears in many transactions, in this case you are just passing information, that YES you want to save the information, that means YES should be clicked. So you are transferring this information to BDCDATA i.e., field name of YES which is usually SPOT_OPTION. Instead of BDC_OKCODE, you are passing BDC_CURSOR.
    BDC_CURSOR is also used to place cursor on particular field.
    A simple transaction where you are entering customer number on first screen and on next screen data is displayed for the particular customer number. Field, which we are changing here, are name and city. When you click on save, the changed record gets saved.
    Prerequisite to write this BDC interface as indicated earlier is:
    1. To find screen number
    2. To find screen field names, type of the field and length of the field.
    3. To find BDC_OKCODE for each screen
    4. Create flat file.
    generally  Batch Input usually are used to transfer large amount of data. For example you are implementing a new SAP project, and of course you will need some data transfer from legacy system to SAP system.
    CALL TRANSACTION is used especially for integration actions between two SAP systems or between different modules. Users sometimes wish to do something like that click a button or an item then SAP would inserts or changes data automatically. Here CALL TRANSACTION should be considered.
    2. Transfer data for multiple transactions usually the Batch Input method is used.
    check these sites for step by step process:
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    Check these link:
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://www.sap-img.com/abap/question-about-bdc-program.htm
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    http://www.planetsap.com/bdc_main_page.htm
    call Transaction or session method ?
    null

  • Why does my html code becomes unreadable overview on the search engine adobe edge code

    Hello
    Why does my html code becomes unreadable overview on the search engine? Everything alligner left, the images no longer appear and the page background template either. I am new in the html code, but I have nothing to change this one and the other one day it became like that.
    Can you please help me??

    Il s'agit d'un modèle
    Le code est le suivant:
    <html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="http://xdioms.com/ShippedListingTemplates/mobileworld/1/layout.css" type="text/css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="http://xdioms.com/ShippedListingTemplates/mobileworld/1/tabs.css">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic" rel="stylesheet" type="text/css">
      <!--[if lt IE 9]>
      <style>
      .content{
      height: auto;
      margin: 0;
      .content div {
      position: relative;
      </style>
      <![endif]-->
    <title>Listing Template</title>
    </head>
    <body>
    <div id="wrap">
    <div style="height: 220px;" id="header">
    <img style="height: 172px;" src="http://drive.google.com/uc?id=0B4DAWy8zc1mhUW56ckY4OFV5NWM>
    <div class="outwrapsocial">
    <a href="#" class="social" id="twitter"></a>
    <a href="#" class="social" id="fbk"></a>
    <form name="search" method="get" action="http://stores.ebay.com.au/#/_i.html?_nkw=lakljsdfsdf&submit.x=36&submit.y=18" target="_parent">
    <input type="text" autocomplete="off" name="_nkw" id="searchId" size="17" maxlength="300">
    <input type="submit" name="submit" value="Search" href="#">
    </form>
    </div>
    </div>
    <div id="innerwrap">
    <div id="cssmenu">
    <ul>
    <li><a href="#"><span>Livraison</span></a></li>
    <li class="last"><a href="#"><span>Paiement</span></a></li>
    <li class="last"><a href="http://feedback.ebay.fr/ws/eBayISAPI.dll?ViewFeedback2&userid=k_aprice&&iid=330507957027&s spagename=VIP:feedback&ftab=FeedbackAsSeller"><span>Nos évaluations</span></a></li>
    <li class="last"><a href="#"><span>Retours</span></a></li>
    <li class="last"><a href="#"><span>Contactez-nous</span></a></li>
    </ul>
    </div>
    <!--Menu top-->
    <div class="slidercontainer">
    <div align="center" style="%%pictures-0-big%%" class="artikelbilder">
    <a href="#thumb" class="thumbnail"><img width="100px" height="75px" border="0" src="%%pictures-0-small%%">
    <span><img width="540px" height="611px" src="%%pictures-0-big%%"></span></a>
    <a href="#thumb" class="thumbnail"><img width="100px" height="75px" border="0" src="%%pictures-1-small%%">
    <span><img width="540px" height="611px" src="%%pictures-1-big%%"></span></a>
    <a href="#thumb" class="thumbnail"><img width="100px" height="75px" border="0" src="%%pictures-2-small%%">
    <span><img width="540px" height="611px" src="%%pictures-2-big%%"></span></a>
    <a href="#thumb" class="thumbnail"><img width="100px" height="75px" border="0" src="%%pictures-3-small%%">
    <span><img width="540px" height="611px" src="%%pictures-3-big%%"></span></a>
    <a href="#thumb" class="thumbnail"><img width="100px" height="75px" border="0" src="%%pictures-4-small%%">
    <span><img width="540px" height="611px" src="%%pictures-5-big%%"></span></a></div>
    </div>
    <!---End Slider-->
    <section class="tabs">
    <div class="productdescription">
    <h6>Description</h6>
    <p>%%description%%</p>
    </div>
                 <input type="radio" id="tab-1" name="radio-set" class="tab-selector-1" checked="checked">
             <label for="tab-1" class="tab-label-1">Livraisons</label>
                 <input type="radio" id="tab-2" name="radio-set" class="tab-selector-2">
             <label for="tab-2" class="tab-label-2">Retours</label>
                 <input type="radio" id="tab-3" name="radio-set" class="tab-selector-3">
             <label for="tab-3" class="tab-label-3">CGV</label>
                 <input type="radio" id="tab-4" name="radio-set" class="tab-selector-4">
             <label for="tab-4" class="tab-label-4">Contactez nous</label>
                   <div class="clear-shadow"></div>
             <div class="content" style="height: 650px;">
             <div class="content-1">
      <h2>Livraison</h2>
                            <p style="border-right-width: 0px; padding-left: 0px; border-left-width: 0px; padding-bottom: 20px;"> Votre commande est expediée le jour même* pour toute commande passée avant 16h du lundi au vendredi etle samedi avant 10h. Toute commande passée le samedi après 10h, le dimanche et les jours fériés sera expédiée* le lundi ou premier jour ouvré suivant. </p>
                            <img src="file:///C:/Users/K%27aprice/Pictures/LOGO/lookmobile/lettre%20prioritaire.png" style="border: 0px solid; width: 623px; height: 100px;">
    <a style="width: 623px;" href="http://www.part.csuivi.courrier.laposte.fr/suivi?chatTpl=laposte-boutique-part&chatSid=823"><img alt="suivi lettre max" src="file:///C:/Users/K%27aprice/Pictures/LOGO/lookmobile/lettre%20max.png" style="border: 0px solid; width: 623px; height: 100px; padding-top: 10px;"></a>
    <a style="width: 623px; padding-top: 10px;" href="http://www.mondialrelay.fr/suivi-de-colis/"><img alt="suivi mondial relay" src="file:///C:/Users/K%27aprice/Pictures/LOGO/lookmobile/mondial%20relay.png" style="border: 0px solid; width: 623px; height: 100px; padding-top: 10px;"></a>
    <a style="width: 623px; padding-top: 10px;" href="http://www.colissimo.fr/portail_colissimo/suivre.do?language=fr_FR"><img alt="colissimo" src="file:///C:/Users/K'aprice/Pictures/LOGO/lookmobile/colissimo1.png" style="border: 0px solid; width: 623px; height: 100px; padding-top: 10px;"></a>
                        </div>
             <div class="content-2">
      <h2>See Shipping Process</h2>
                            <p>Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh.Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh.</p>
         </div>
             <div class="content-3">
      <h2><span class="currency_converter_text">100</span><span class="currency_converter_text">% Success</span></h2>
                            <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.</p>
      <p>Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh.Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus.</p>
         </div>
         <div class="content-4">
      <h3>Who we are</h3>
      <p>Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh.Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus.</p>
         </div>
             </div>
      </section>
    <div class="sidebar">
    <div class="categoryhead">Categories</div>
    <div class="listingcat">
    <ul>
    <a href="http://stores.ebay.fr/K-apriCee/Housses-et-coques-/_i.html?_fsub=5676135014&_sid=685878474 &_trksid=p4634.c0.m322"><li>Etuis &amp; coques</li></a>
    <a href="#"><li>Film protection écran</li></a>
    <a href="#"><li>Ecrans replacement</li></a>
    <a href="#"><li>Pieces detaches &amp; outils</li></a>
    <a href="#"><li>Batteries</li></a>
    <a href="#"><li>Ecouteurs</li></a>
    <a href="#"><li>Autres accessoires</li></a>
    </ul>
    </div>
    <div class="categoryhead">Boutique</div>
    <div class="listingcat">
    <ul>
    <a href="http://www.stores.ebay.fr/id=685878474"><li>Accueil</li></a>
    <a href="#"><li>Livraison</li></a>
    <a href="#"><li>Paiments</li></a>
    <a href="#"><li>Retours</li></a>
    <a href="#"><li>Nous contacter</li></a>
    </ul>
    </div>
    <div class="categoryhead">Newsletter</div>
    <div class="listingcat">
    <p>Ajoutez notre boutique a vos favoris,pour être informer de nos promotions et nouveautés.</p>
    <a href="http://my.ebay.fr/ws/eBayISAPI.dll?AcceptSavedSeller&amp;sellerid=k_aprice&amp;ssPageName= STRK:MEFS:ADDSTR&amp;rt=nc" class="button">S'inscrire</a>
    </div>
    <div class="categoryhead">Paiements</div>
    <div class="listingcat">
      <div align="center"><img src="http://xdioms.com/ShippedListingTemplates/mobileworld/1/img/cards.png">  </div>
    </div>
    <div class="categoryhead">Livraisons</div>
    <div class="listingcat">
      <div align="center"><img src="http://xdioms.com/ShippedListingTemplates/mobileworld/1/img/widget-dhl.png">  </div>
    </div>
    <div class="categoryhead">Services</div>
    <div class="listingcat">
      <div align="center"><img style="height: 180px; width: 200px; padding-top: 20px;" src="http://www.ds-imprimerie.fr/media/images_dillustration/satisfait_ou_rembourse.png">  </div>
    </div>
    </div>
    <!--inerwrap end-->
    </div>
    <!--outer wrap-->
    <div id="footer">
    </div>
    </div>
    <div id="cacaowebfirefoxextension"></div><script type="text/javascript">var Cacaoweb = { callbackIsRunning: function () { var cacaodiv = document.createElement("div"); cacaodiv.id = "cacaorunning"; document.body.appendChild(cacaodiv); } };</script><script type="text/javascript" src="http://127.0.0.1:4001/isrunning" id="isrunning"></script><div id="cacaorunning"></div></body></html>

  • The entire process to publish a book for Ipad?

    Hi,
    I would like to know how to get a licence for a book made with DPS. I'm aware about the Single et Multi issue. The Adobe crew in France doesn't seem to be informed about the exact process. How can I proceed and in your own experience, what is the delay since submitting your content to Adobe and having the book ready to sell?
    Thank you,
    Rava

    You can start by reading the Single Edition Overview:
    http://help.adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f6032817afa1337a03d59b-7f ff.html

  • Advisor Webcast Feb 13th - Overview of the Database Service Cloud

    +++ Interesting for all APEX and SQL Developer experts +++
    LIVE Advisor Webcast Wednesday, Feb 13th
    Iloon Ellen-Wolff (Oracle) will give an "*Overview of the Database Service Cloud*".
    The session consists of presentation and live demo, certainly there is room for questions and answers.
    For more information - schedule, registration, session details - please check [Note 1508670.1|http://support.oracle.com/rs?type=doc&id=1508670.1]

    Hi,
    no, you got it wrong:
    Oracle uses network services which are a logical representation of the database to resolve network requests.
    in your ntsnames.ora file you have the following:
    network_alias = my_alias -- here you can write anything you just need to resolve it correctly
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (host=hostname or IP)
    (port=listener adapter port)
    ) -- this a complete socket information of the listener adapter!!
    (CONNECT_DATA=
    (SERVICE=your_service) -- this is what you tell the listener about the service you want to connect to. It is defined in the instance with the paramter service_names
    In general it is network aliasses which are resolved with connect descriptor in the tnsnames.ora.
    A connect decriptor consists of the address part + the connect_data part.
    The address part is used to reach the listener.
    The connect_data part is the information you hand over to the listener.
    So the listener must know the service name.
    The listener can either know this from the instance itself. When an Oracle instance is started it tries to registrer itself with a listener which listens on port 1521 for the protocol TCP.
    The instance tell this listener two paramater values: INSTANCE_NAME and SERVICE_NAMES. Then the listener knows the instance and which services are defined. It is just a reprentation of the database to the listener.
    If the listerner knows the service requested with a connect, it can establish a connection to a service handler. This could be a dedicated server process or a dispatcher.
    Another mehtod to let the listener know the service requested is so called static regustration of the instance. This is made with an SID LIST in the listener.ora file.
    Then the listener knows SID for the instance plus ORACLE_HOME and can find the executable to start a server process for a connect request.
    Hope it helps a little-.
    =;-)
    If you have further questions pls do not hesitate to ask. O.K.?

  • Admin View or Functionality for the Business Process Owner

    Hi
    I have a requrirement that Business Process Owner (not the IT person), should be able the search the process instances and take action on them like "terminate process" or "Change Authorization".
    However the Business Process Owner do not want to go through the "Guided Procedures" -> "Administration" -> "General" menu clicks.
    Business Process Owner should able ONLY to get to "Maintain Processes" option of the "General" or "Overview" menu.
    Also,
    Business Proces Owner would like find the process instances based on only the  Instance Name and/or Instance Status and/or  Start Date Range.
    Is there a prebuilt functionality or is there way to utilize the SAP CAF delivered components by configuring the permission/roles. 
    IF NOT, how to access the process instance data so I can custom build this kind of functionality.
    Thanks,

    Hi Abhay,
    As I know GP does not provide such a pattern which covers your requirements.
    You can build this functionality in custom way.
    I propose the following:
    Use the
    public IGPProcessInstanceInfo[] com.sap.caf.eu.gp.process.rt.api.IGPRuntimeManager.getCompletedInstances(GPSearchRole searchRole, Date startDate, Date endDate, IGPUserContext userContext) ;
    and
    public IGPProcessInstanceInfo[] com.sap.caf.eu.gp.process.rt.api.IGPRuntimeManager.getRunningInstances(GPSearchRole searchRole, Date startDate, Date endDate, IGPUserContext userContext)
    to retrieve process instances by your search criteria.
    As search role you should use the GPSearchRole.OWNER.
    After this you can filter these processes by name in custom way and represent them.
    To terminate a process instance you can use the following method:
    public IGPProcessInstance com.sap.caf.eu.gp.process.rt.api.IGPRuntimeManager.stopProcess(IGPProcessInstance processInstance, IGPUserContext userContext) ;
    You need to use GP exposed public api:
    DC: caf/eu/gp/api
    PP: external
    POssible it helps.
    Best regards,
    Alaiksei

  • CS6 3d: how do I stop the rendering process?

    How do I stop the rendering process in CS6 3d? You used to be able to just click the mouse.

    Steve:
    Thanks for working with me on this. I'm not much of a techie, so bear with me. This is the info I think you were referring to. If it's not, just let me know and I'll try and get it.
    Hardware Overview:
      Model Name:     iMac
      Model Identifier:     iMac10,1
      Processor Name:     Intel Core 2 Duo
      Processor Speed:     3.06 GHz
      Number of Processors:     1
      Total Number of Cores:     2
      L2 Cache:     3 MB
      Memory:     12 GB
      Bus Speed:     1.07 GHz
    Chipset Model:     ATI Radeon HD 4670
      Type:     GPU
      Bus:     PCIe
      PCIe Lane Width:     x16
      VRAM (Total):     256 MB
      Vendor:     ATI (0x1002)
      Device ID:     0x9488
      Revision ID:     0x0000
      ROM Revision:     113-B8030C-253
      EFI Driver Version:     01.00.367
    If you have any questions or concerns please don't hesitate to contact me.
    Dennis

  • What are the Standard Process of SAP Plant Maintenance?

    Dear Experts,
    Let me know the Standard Process of SAP PM? Where i can get more details about them.
    Ashif Tadvi

    Hi,
    Hope the below links will be helpful for your requirement
    Overview of Plant Maintenance (PM) - Plant Maintenance (PM) - SAP Library
    Plant Maintenance (PM) - SAP Library
    Regards
    Varun.M

  • Could someone please explain the syncing process? I have duplicated contacts on my phone and don't know anything about syncing. I appreciate your help.

    I'm a new Apple convert. I synced my iPhone4 with iTunes library and not correctly, so ended up with each contact repeating from 4 to 8 times on my phone. I also lost some music from my iPhone's iPod due to this syncing. Would you please help guiding through the syncing process and what's the easiest way to delete these duplicates? Thank you.

    To get rid of the dupliate contacts try this:
    Set up your contacts on your computer as desired. Make sure that autosync is disabled in iTunes/Settings/Devices. Then connect your phone, click on it in the device list, choose the info pane on the right side, move down to the Advanced section and choose "replace all contact info on the phone" This will overwrite the contacts on your phone with the ones from your computer address book.
    After that your contacts should be syncing fine.
    Syncing is explained here: Overview of syncing iPhone or iPod touch with your computer
    and here: iPhone and iPod touch: Syncing and merging data

  • HT5052 hi , i cant update mi ipod touch software, a soon as the download process in finished an error message appears

    hi , i cant update mi ipod touch software, a soon as the download process in finished an error message appears :" session time has expired" something like that

    Disabling the computer's security software during the download and update usually resolves a network timeout error.

  • The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6

    The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6
    Hi There,
    The subject header just about says it all. This is the first action I took with MAX - it is a fresh install. The file I wanted to save was still written and the FP seems to be working ok. However, I need to know what happened.
    I can't post the whole log file due to the amount of characters allowed on this post. I can cut and paste sections if there is a specific part of the file you need. Below is the first section and last section.
     Context where exception was caught:
    Func:
    CmxAggregateItemUI::InvokeCommand Args: plugin=niFPui.mxx Item=0107EAB1
    cmdID.cmdId={4A36174B-EC0C-4D73-A23D-F15D164542DE} cmdID.index=0
    Application   : C:\Program Files\National Instruments\MAX\NIMax.exe
    User Name     : slaney
    OS Version    : 5.1.2600 (Service Pack 3)
    Exception Code: C000001E
    Exception Addr: 457BC448
    Return Address: 457BC448
    Function Name : nNIFPServer::tFpLinearScaleRange::`vftable'
    Module Name   : FieldPoint71
    Parameters    : F001008E 7800FDDD C5100DFC EC0107EA
    Source File   : (not available)
    Return Address: 481000C3
    Function Name : (not available)
    Module Name   : (not available)
    Parameters    : 00000000 00000000 00000000 00000000
    Source File   : (not available) 

    Hi,
    I did a research on your error message and it seems this problem was introduced with MAX 4.6. This version switched to a new error reporting mechanism and reports even errors that are which are not critical to your task.
    These errors typically show up as "unexpected" and if your error falls into this category have a look to this KB for further assistance.
    If it doesn't fall into this category, your could try to go back to the MAX 4.5 or 4.4.. Of course you would need to reinstall some components and might not be able to use newer drivers at all.
    Let me know.
    DirkW

  • I am copying and pasting into a new, Pages document (from the word processing menu), and I paste in text that is longer than one page, it doesn't continue onto the next page.  I can't see the end. How do I get it to show everything I paste in?

    I want to copy an extensive amount of text from a web page into a Pages word processing document, but it seems to chop it up into text boxes, some of which aren't long enough to show all of the lines of text.  I can't get hold of a bottom edge of the boxes to drag them to make them longer.  I tried several times starting over with a new, blank page (and I made sure to choose from the Word Processing part of the dropdown menu, since I read about a similar problem that said not to use the layout menu.  It keeps doing the same thing.  What do I have to do to get long text pasted to multiple pages, instead of it trying to be all on one page?
      In the long run, what I want is to create this as an ePub book.  Is there a better way to go about this?

    Hi Ellen,
    Copying from web pages can include some weird formatting. Instead of Paste, use Paste and Match Style (Edit Menu).
    Regards,
    Ian.

Maybe you are looking for

  • Can two separate iTunes accounts home share music?

    Can two separate iTunes accounts home share music? I load music on my mothers iPod nano and my brother would like to load music onto her iPod also. Would there be a problem and what would be the process?

  • How to get dynamic paramete value in the context node?

    Hi, experts, There are some attributes in the node context(ee_node) that contained the attribute named "ANSSA" in the view(test_view) in the WDA for abap. In the method WDDOMODIFYVIEW of the view(test_view), there is dynamically string , ex."ANSSA".

  • The password manager is not working in Firefox 10.

    I've searched for and tried all the solutions I can find on the web, but STILL not working. Anyone help? Thanks in advance.

  • Apple Pro Res "Render at Maximum Depth"

    From my understanding, Apple Pro Res maxes out at 12 bit with DSLR cameras in movie mode not even reaching that. Yet, the setting for "Render at Maximum Depth" offers 24 to 64 bit. Anyone know what the story is with this setting? And does anyone know

  • Canceling previous table maintenance generator screen

    Hi all, When we create a screen via table maintanence generator to enter data into the table. However I want to cancel this action, is it possible? That is, I have used table maintenance generator and completed the all process, however now I want to