What are the RMI Failure modes?

I was surprised today when I pulled the network. My client was working with my server. Between calls I disconnected the connection. Made a call which failed. Then reconnected. The next call performed full speed. I expected a 'reconnection' delay.
Why was the first call slow, but all subsequent calls quick, as well as calls after I reconnected the network were quick? It leads me to believe that exporting an object the first time takes some time. But subsequent calls to the object that was already exported went quicker. Or perhaps my client downloaded some classes?
So the question is, when does the connection die in such a way that the client needs to re-download classes it has downloaded? Is this only after the client JVM exits? Also, where are the downloaded classes kept?
Second question is, how long are my client held remote objects valid? If the connection dies, how long will they remain valid for use, and how can I detect when they are no longer valid? How can I know the difference between an invalid reference and a broken connection? Is there a difference?

Its not a DNS problem. I am using localhost through ssh. It seems to be the first call that takes the time. Im thinking its the class downloading thats hurting me. Any way to validate that?
If the network cable gets pulled, the clients references to not become invalid. This only happens when the DGC kick in AFAICT. So these references will remain good for a time. I could hold on to them and next attempt, use the same ones again. As it stands I dump everything but its not always necessary. Its not that taxing to dump everything so its no big deal, I just wanted to know though.

Similar Messages

  • What are the general effects of using recovery mode, and is it possible for one's data to be backed up on to it afterwards?

    My iPad, in my opinion is a great device to have whenever I need to use it for work - mainly using it for creating music.  However I feel that it's a bit outdated, and I plan to get a new iPad Air for this holiday season and give this one to my children.  That being said, I have stumbled across a weird problem that keeps me from backing my iPad (generation 2) up to my computer.  The error in question states that "The iPad is currently owned by another computer."  By looking around on the internet, I was able to deduce that one of the ways to solve this problem was to put it in recovery mode to get rid of the 'ownership', and this seems logistical.  The problem I'm facing now, is that, after trying to find the answer, I do not know how recovery mode has an impact on all the data stored on my iPad.  To clarify the question into three parts:
    1)  Is there a way to back up files from my iPad and easily retrieve them without the use of iTunes?
    2)  If not, is there a way to get rid of the 'ownership' of another computer other than recovery mode WITHOUT jailbreaking it?
    3)  If still no, then what are the effects of putting my iPad into recovery mode, and will all of my songs and data be safe?
    Thank you for answering, if possible.

    Was the iPad originally set up on a different computer, and hasn't been synced to the one that you are now trying to use ? There are some instructions on this page for syncing to a new computer : https://discussions.apple.com/docs/DOC-3141
    (Before trying that you could copy any important files/documents off the iPad so that you have you own backup copy of them e.g. depending upon what the apps support then email them to yourself, use Dropbox, copy them to your computer via your wifi-network.)
    You should be able to copy iTunes purchases off the iPad and over to that computer's iTunes via File > Devices  Transfer Purchases, but if you have music from other sources (e.g. copied from CDs) which aren't in that computer's iTunes (and you haven't got a backup to copy them onto it from) then there are some programs listed half-way down this page which should be able to copy them back : https://discussions.apple.com/docs/DOC-3991
    For recovery mode, that will result in your iPad being put back to factory defaults i.e. all of your content will be removed from it

  • What are the cause and fix for the following error message? NS_ERROR_FILE_ACCESS_DENIED failure code: 0x80520015

    Every time I close my Firefox browser I receive the following error message (see details below).
    FYI:
    -- I am running the current version of Firefox.
    -- I had no problems with this error message until my computer was recently attacked by 2 viruses:
    ` SystemFix
    ` Win7 Antivirus 2012
    Both viruses have since been cleaned from my computer. However, I am still receiving this error message.
    Here are my questions:
    * What are the cause and fix for this problem?
    * Do I need to uninstall and reinstall Firefox?
    * Is it possible that this error message is related to an add-on and that it has nothing to do with the recent virus attacks?
    I look forward to any feedback and support you might be able to provide.
    Thanks,
    Metta
    Error Message
    NS_ERROR_FILE_ACCESS_DENIED
    Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)
    [nsIFileOutputStream.init]
    File: undefined
    Line: 857
    Stack: undefined

    Every time I close my Firefox browser I receive the following error message (see details below).
    FYI:
    -- I am running the current version of Firefox.
    -- I had no problems with this error message until my computer was recently attacked by 2 viruses:
    ` SystemFix
    ` Win7 Antivirus 2012
    Both viruses have since been cleaned from my computer. However, I am still receiving this error message.
    Here are my questions:
    * What are the cause and fix for this problem?
    * Do I need to uninstall and reinstall Firefox?
    * Is it possible that this error message is related to an add-on and that it has nothing to do with the recent virus attacks?
    I look forward to any feedback and support you might be able to provide.
    Thanks,
    Metta
    Error Message
    NS_ERROR_FILE_ACCESS_DENIED
    Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)
    [nsIFileOutputStream.init]
    File: undefined
    Line: 857
    Stack: undefined

  • What are the lock modes in Lock object

    What are the lock modes in Lock object ?
    what are the divfferences between
    Exclusive , cumulative
    Shared
    Exclusive , not cumulative
    Could any body explain what happens in each table lock ?
    How the lock consists ?

    HI
    Lock objects are used to synchronize access to the same data by more than one program.
    The lock mode controls whether several users can access data records at the same time. The lock mode can be assigned separately for each table in the lock object. When the lock is set, the corresponding lock entry is stored in the lock table of the system for each table.
    There are three types of lock modes
    1.Exclusive
    2.Shared
    3.Exclusive not cummulative
    Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected.
    Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected.
    Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.
    please go through these links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/a2/3547360f2ea61fe10000009b38f839/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eeb2446011d189700000e8322d00/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eeb2446011d189700000e8322d00/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eebf446011d189700000e8322d00/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eebf446011d189700000e8322d00/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eed9446011d189700000e8322d00/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eed9446011d189700000e8322d00/frameset.htm</a>
    Regards,
    Gunasree.

  • What are the MDM Modes and explain them?

    hi friends,
    What are the MDM Modes
    please explain each mode with examples?
    thanks and regards,
    ramu.

    Hi,
    There are five modes in Data Manager which are as follows:
    1. Record Mode: When Data Manager starts, record mode is opened.It is the primary working view. From here, the content of the data can be
    managed. We perform various operations like
    a. Adding a record
    b. Deleting a record
    c. Searching a record. The search for a record in record mode can be started from the tree view located in the left area of the main window. The search parameters are shown here.
    2. Hierarchy Mode: In this mode, the user of the Data Manager can view and change all hierarchies stored in the repository. The hierarchy table to be edited can be selected here. The tree view displays the tree structure of the hierarchy.
    3. Taxonomy Mode:  The taxonomy determines how records belonging to different categories are defined. Through a taxonomy, an attribute can be attached to a record. These additional attributes are defined for records, which belong to a certain category. An example of this could be personal data, which differs according to the role in the organization, and thus includes additional information.
    The taxonomy mode can only be selected if there is a table of type Taxonomy in the repository.
    4. Matching Mode:  We can define transformations, substitutions, and matching rules u2014 and bundle these rules into matching strategies.
    According to a matching strategy, for example, SAP net weaver MDM will calculate scores for the probability that specific records are duplicates. We can then compare potential duplicates and merge any objects that are in fact repeated.
    In Rules Tab, we set up rules to automate the detection of duplicate master data.
    In Strategies tab, we bundle rules into matching strategies to calculate the probability of duplicates.
    A high matching score indicates that a data entry is likely a duplicate record.
    5. Family Mode: In family mode, all existing records that are already assigned to a category can be subdivided into families. The taxonomy table in which the family definitions are to be stored is selected in the toolbar. Then the family can be selected in the tree view.
    Regards
    Richa

  • What are the parameters in Call transaction method?

    Hi ABAPER'S,
        Please give me what are the parameters in call transaction method?
    Thanks,
    Prakash

    Processing batch input data with CALL TRANSACTION USING is the faster of the two recommended data transfer methods. In this method, legacy data is processed inline in your data transfer program.
    Syntax:
    CALL TRANSACTION <tcode>
    USING <bdc_tab>
    MODE  <mode>
    UPDATE  <update>
    <tcode> : Transaction code
    <bdc_tab> : Internal table of structure BDCDATA.
    <mode> : Display mode:
    A
    Display all
    E
    Display errors only
    N
    No display
    <update> : Update mode:
    S
    Synchronous
    A
    Asynchronous
    L
    Local update
    A program that uses CALL TRANSACTION USING to process legacy data should execute the following steps:
    Prepare a BDCDATA structure for the transaction that you wish to run.
    With a CALL TRANSACTION USING statement, call the transaction and prepare the BDCDATA structure. For example:
    CALL TRANSACTION 'TFCA' USING BDCDATA
    MODE 'A'
    UPDATE 'S'.
    MESSAGES INTO MESSTAB.
    IF SY-SUBRC <> 0.
    <Error_handling>.
    ENDIF.
    The MODE Parameter
    You can use the MODE parameter to specify whether data transfer processing should be displayed as it happens. You can choose between three modes:
    A Display all. All screens and the data that goes in them appear when you run your program.
    N No display. All screens are processed invisibly, regardless of whether there are errors or not. Control returns to your program as soon as transaction processing is finished.
    E Display errors only. The transaction goes into display mode as soon as an error in one of the screens is detected. You can then correct the error.
    The display modes are the same as those that are available for processing batch input sessions.
    The UPDATE Parameter
    You use the UPDATE parameter to specify how updates produced by a transaction should be processed. You can select between these modes:
    A Asynchronous updating. In this mode, the called transaction does not wait for any updates it produces to be completed. It simply passes the updates to the SAP update service. Asynchronous processing therefore usually results in faster execution of your data transfer program.
    Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not.
    If you use asynchronous updating, then you will need to use the update management facility (Transaction SM12) to check whether updates have been terminated abnormally during session processing. Error analysis and recovery is less convenient than with synchronous updating.
    S Synchronous updating. In this mode, the called transaction waits for any updates that it produces to be completed. Execution is slower than with asynchronous updating because called transactions wait for updating to be completed. However, the called transaction is able to return any update error message that occurs to your program. It is much easier for you to analyze and recover from errors.
    L Local updating. If you update data locally, the update of the database will not be processed in a separate process, but in the process of the calling program. (See the ABAP keyword documentation on SET UPDATE TASK LOCAL for more information.)
    The MESSAGES Parameter
    The MESSAGES specification indicates that all system messages issued during a CALL TRANSACTION USING are written into the internal table <MESSTAB> . The internal table must have the structure BDCMSGCOLL .
    You can record the messages issued by Transaction TFCA in table MESSTAB with the following coding:
    (This example uses a flight connection that does not exist to trigger an error in the transaction.)
    DATA: BEGIN OF BDCDATA OCCURS 100.
    INCLUDE STRUCTURE BDCDATA.
    DATA: END OF BDCDATA.
    DATA: BEGIN OF MESSTAB OCCURS 10.
    INCLUDE STRUCTURE BDCMSGCOLL.
    DATA: END OF MESSTAB.
    BDCDATA-PROGRAM = 'SAPMTFCA'.
    BDCDATA-DYNPRO = '0100'.
    BDCDATA-DYNBEGIN = 'X'.
    APPEND BDCDATA.
    CLEAR BDCDATA.
    BDCDATA-FNAM = 'SFLIGHT-CARRID'.
    BDCDATA-FVAL = 'XX'.
    APPEND BDCDATA.
    BDCDATA-FNAM = 'SFLIGHT-CONNID'.
    BDCDATA-FVAL = '0400'.
    APPEND BDCDATA.
    CALL TRANSACTION 'TFCA' USING BDCDATA MODE 'N'
    MESSAGES INTO MESSTAB.
    LOOP AT MESSTAB.
    WRITE: / MESSTAB-TCODE,
    MESSTAB-DYNAME,
    MESSTAB-DYNUMB,
    MESSTAB-MSGTYP,
    MESSTAB-MSGSPRA,
    MESSTAB-MSGID,
    MESSTAB-MSGNR.
    ENDLOOP.
    The following figures show the return codes from CALL TRANSACTION USING and the system fields that contain message information from the called transaction. As the return code chart shows, return codes above 1000 are reserved for data transfer. If you use the MESSAGES INTO <table> option, then you do not need to query the system fields shown below; their contents are automatically written into the message table. You can loop over the message table to write out any messages that were entered into it.
    Return codes:
    Value
    Explanation
    0
    Successful
    <=1000
    Error in dialog program
    > 1000
    Batch input error
    System fields:
    Name:
    Explanation:
    SY-MSGID
    Message-ID
    SY-MSGTY
    Message type (E,I,W,S,A,X)
    SY-MSGNO
    Message number
    SY-MSGV1
    Message variable 1
    SY-MSGV2
    Message variable 2
    SY-MSGV3
    Message variable 3
    SY-MSGV4
    Message variable 4
    Error Analysis and Restart Capability
    Unlike batch input methods using sessions, CALL TRANSACTION USING processing does not provide any special handling for incorrect transactions. There is no restart capability for transactions that contain errors or produce update failures.
    You can handle incorrect transactions by using update mode S (synchronous updating) and checking the return code from CALL TRANSACTION USING. If the return code is anything other than 0, then you should do the following:
    write out or save the message table
    use the BDCDATA table that you generated for the CALL TRANSACTION USING to generate a batch input session for the faulty transaction. You can then analyze the faulty transaction and correct the error using the tools provided in the batch input management facility.

  • What are the best approaches for mapping re-start in OWB?

    What are the best approaches for mapping re-start in OWB?
    We are using OWB repository 10.2.0.1.0 and OWB client 10.2.0.1.31. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
    We have number of mappings. We built process flows for mappings as well.
    I like to know, what are the best approches to incorportate re-start options in our process. ie a failure of mapping in process flow.
    How do we re-cycle failed rows?
    Are there any builtin features/best approaches in OWB to implement the above?
    Does runtime audit tables help us to build re-start process?
    If not, do we need to maintain our own tables (custom) to maintain such data?
    How did our forum members handled above situations?
    Any idea ?
    Thanks in advance.
    RI

    Hi RI,
    How many mappings (range) do you have in a process flows?Several hundreds (100-300 mappings).
    If we have three mappings (eg m1, m2, m3) in process flow. What will happen if m2 fails?Suppose mappings connected sequentially (m1 -> m2 -> m3). When m2 fails then processflow is suspended (transition to m3 will not be performed). You should obviate cause of error (modify mapping and redeploy, correct data, etc) and then repeat m2 mapping execution from Workflow monitor - open diagram with processflow, select mapping m2 and click button Expedite, choose option Repeat.
    In re-start, will it run m1 again and m2 son on, or will it re-start at row1 of m2?You can specify restart point. "at row1 of m2" - I don't understand what you mean (all mappings run in Set based mode, so in case of error all table updates will rollback,
    but there are several exception - for example multiple target tables in mapping without corelated commit, or error in post-mapping - you must carefully analyze results of error).
    What will happen if m3 fails?Process is suspended and you can restart execution from m3.
    By having without failover and with max.number of errors=0, you achieve re-cycle failed rows to zero (0).This settings guarantee existence only two return result of mapping - SUCCSES or ERROR.
    What is the impact, if we have large volume of data?In my opinion for large volume Set based mode is the prefered processing mode of data processing.
    With this mode you have full range enterprise features of Oracle database - parallel query, parallel DML, nologging, etc.
    Oleg

  • What are the post instalation steps?

    hi,
    i am fresher in SAP.anybody plz send me postinstalation steps.
    regards,
    jana

    Hi All,
    Rewards if useful.
    Post Installation Steps For ECC 5.0
    What are the post installation steps after I have installed the Central Instance and Database instance?
    Initial Consistency Check
    SM28
    1.      Logon to the newly refreshed SAP system and run transaction SM28
    2.      Ensure that no errors are reported.  Otherwise, take the necessary steps to correct the problems.
    Edit Batch Jobs
    1.      Set the fields as follows
    Job name: RDDIMPDP*
    User name: *
    Job Status: Released and Ready checked off, all others unchecked
    Fr:  01/01/0001
    To:  12/31/9999
    Or after event: *
    2.      Press <F8> to execute the query
    3.      Highlight the first job in the list and press the <CTRL>+<F11> to change the job.
    4.      Examine the Exec Target field.
    a.      If the box is empty, press <F3> to exit
    b.      If the box is not empty, then clear out the contents so the field is blank and press <CTRL>+<S> to save
    5.      Repeat Steps 3 and 4 for each additonal job listed.
    Workbench Organizer Reconfiguration
    1.      Logon on to client 000 of the newly refreshed system with DDIC.
    SE06
    1.      Select the Database Copy or migration option
    2.      Press the Post-installation Processing button.
    3.      When prompted Do you want to re-install the CTS?, press the Yes button
    4.      When prompted for the Source System of Database Copy?, make sure that the <SID> of the production system is selected.  Press the checkmark button to continue.
    5.      When prompted Change originals from PRD to QUA?, press the Yes button
    6.      When prompted Delete TMS Configuration?, press the Yes button
    7.      When prompted Delete old TMS configuration?, press the Yes button
    8.      When prompted Delete Old Versions of transport routes?, press the No button
    TMS Configuration
    1.      Logon on to client 000 of the newly refreshed system.
    STMS
    1.      Upon starting STMS, a windows with the title TMS: Include System in Transport Domain should be displayed
    2.      The information on this screen is automatically filled out from information provided during the SAP installation and should be correct.  If it correct, then enter a description for the system and press <CTRL>+S to save.  Otherwise, press the Other configuration button  and manually configure.
    3.      From the Overview menu, select Transport Routes
    4.      From the Configuration menu, select Adjust with Controller
    5.      Press the Yes button when prompted if you want copy the transport routes from the controller.
    Import Printers
    1.      Logon on to the production client of the newly refreshed system. 
    STMS
    2.      Press <F5> to go to the import Overview.
    3.      Double click on the <SID> of the newly refresh system
    4.      From the Extras menu select Other Requests, then Add.
    5.      In the Transp. Request box, enter the transport number containing the printer definitions that was exported.  Press <Enter> to save.
    6.      Select the transport that was just added to the queue and press <CTRL>+<F11> to start the import.
    7.      In the Target client box, enter the productive client of the newly created system.  Press <Enter> to save.
    8.      Press the <Yes> button to start the transport.
    Client Configuration
    SCC4
    1.      From the Table view menu, select Display -> Change
    2.      When warned that the table is cross-client, press the checkmark button.
    3.      Double click on one of the non-system clients (i.e. not client 000, 001 or 066)
    4.      Define client as follows:
    Client role:  Test
    Changes and transports for client-specific object:  Changes without automatic recording
    Client-independent object changes:  Changes to repository and cross-client customizing allowed
    Protection: Client copier and comparison tool:  Protection level 0
    Restrictions when starting CATT and eCATT:  eCATT and CATT allowed
    5.      Press <CTRL>+S to save.
    6.      Repeat steps 4 through 6 for any additional clients
    Set System Change Option
    SE06
    1.      Press the System Change Option button.
    2.      Set the global setting to Modifiable
    3.      From the Edit menu, select Software Components Modifiable
    4.      From the Edit menu, select Namespaces Modifiable
    5.      Press <CTRL>+S to save.
    Import Users
    STMS
    1.      Press <F5> to go to the Import overview
    2.      Double click on the <SID> of the newly refreshed system.
    3.      Press <F5> to refresh the list of transports
    4.      Locate the transport in the list containing the user exports done before the start of the refresh.
    If the transport is NOT in the list, then from the Extras menu, select Other requests then Add.   Enter the transport number and press <Enter>.  Then press the Yes button to add the transport.
    5.      Highlight the transport and press the Import request icon .
    6.      At the client import screen, enter the target client and then press the Import button
    7.      Press <Enter> to confirm that the import will proceed
    SCC7
    1.      Run the Post Client Import Processing
    2.      The transport number should be the same as that of the transport started in STMS
    3.      Schedule the job to run in the background.  Do NOT schedule it to run immediately.  We need to modify the job before it can be released.
    4.      Press <CTRL>+S to save.
    SM37
    1.      Set the fields as follows
    Job name: CLIENTIMPORT*
    User name: *
    Job Status: All options checked
    Fr:  01/01/0001
    To:  12/31/9999
    Or after event: *
    2.      Highlight the job that was created by SCC7 and press <CTRL>+<F11> to modify the job.
    3.      Press the Step button.
    4.      Select the RSCLXCOP line and press <CTRL><SHIFT><F7> to modify that step.
    5.      In the User box, enter the background user for that particular system (i.e BGDUSER, SAPBATCH, BATCHSAP).
    6.      Press <CTRL>+S to save the changes
    7.      Press <F3> to go back to the main job screen.
    8.      Press the Start condition button.
    9.      Press the Immediate button.
    10.     Press <CTRL>+S to save the changes
    11.     Press <CTRL>+S again to save all the changes to the job.
    12.     Job will start immediately once saved.  Press <F8> to refresh the list of jobs
    13.     Continue to press <F8> every once in a while to update the status of the job.  Do not continue until the job is completed sucessfully.
    SCC4
    1.      From the Table view menu, select Display -> Change
    2.      When warned that the table is cross-client, press the checkmark button.
    3.      Double click on one of the non-system clients (i.e. not client 000, 001 or 066)
    4.      Set the Protection to Protection level 1
    5.      Press <CTRL>+S to save.
    6.      Repeat steps 3 through 5 for any additional clients
    Deleting Source System Profiles
    RZ10
    1.      From the Utilities menu, select Import Profiles then Of Active Servers. 
    (Note:  All application servers of the target system must be started)
    2.      If the Display Profile Check Log screen is displayed, press <F3> to leave this screen.
    3.      Select the Profile field and press <F4> to bring up a list of profiles.
    4.      From the list select one of the profiles associated with the source production system.
    5.      From the Profile menu, select Delete, then All versions, then of a profile.
    6.      When prompted, press the Yes button to delete all version of the profile
    7.      When prompted to delete the file at the operating system level, press the No button.
    8.      Repeat steps 3 through 7 for all additional profiles associated with the source system
    Reconfigure Operation Modes
    RZ04
    1.      From the Operation Mode menu, select Timetable
    2.      Select Normal Operation and press the Change button.
    3.      Highlight 00:00 in the left hand column and press the Delete Assignment button
    4.      If all the assignments are not deleted, then highlight the start time of the outstanding assignment and press the Delete Assignment button.
    5.      Once all the assignments are deleted, press <CTRL>+S to save.
    6.      If warned about an empty timetable, press the checkmark button and then press Yes to save the empty timetable.
    7.      Press <F3> to go back to the main RZ04 screen.
    8.      Right click on one of the listed Operation modes and select Delete
    9.      Press the Yes button to confirm the deletion.
    10.     Repeat steps 8 through 9 for any additional operation modes
    11.     Press <F5> to create a new operation mode.
    12.     Enter a name and short description for the operation mode
    13.     Press <CTRL>+S to save.
    14.     Press <F6> to create a new Instance
    15.     From the Settings menu, select Based on current settings, then New Instances, then Set
    16.     Press <F3> to go back to the main RZ04 screen.
    17.     Press the Yes button to save
    18.     From the Operation Mode menu, select Timetable
    19.     Select Normal Operation and press the Change button.
    20.     Highlight the 00:00 at the top and press <F2>
    21.     Highlight the 00:00 at the bottom and press <F2>
    22.     Press the Assign button.
    23.     Press <F4> to select the operation mode created above.
    24.     Press <CTRL>+S to save.
    Delete Update Failures
    SM13
    1.       Set the fields as follows
    Client:  *
    User: *
    From data: 01/01/0001
    From time: 00:00:00
    2.      Press <Enter> to display the list of outstanding update requests
    3.      If ALL the outstanding update requests have a status of ERR, then it is safe to delete these requests by pressing <F5> to select all records, then selecting the Update Records menu, then Delete.
    4.      Press the Continue button to confirm the deletion.
    Delete Batch Input Sessions
    SM35
    1.      From the Edit menu, select Select All
    2.      Press <Shift>+<F2> to delete all the batch input sessions.
    3.      Press the checkmark button to confirm
    4.      Press the Yes button to start the delete.
    Reorganize Spool
    SPAD
    1.      From the Administration menu select Clean-up Spool
    2.      Check all check boxes and enter 0 for minimum age
    3.      Press the Execute button
    4.      Once complete, press <F3> twice to get back to the main SPAD screen
    5.      From the Administration menu select Check Consistency
    6.      Press the Delete All button.
    SP12
    1.      From the TemSe database menu, select Consistency check
    2.      When the check is complete, press the Delete All button. 
    Delete Invalid Background Control Objects
    SM61
    1.      Press <F8> to switch in to change mode
    2.      Press the Cleanup List button.
    Restrict Outgoing Email and Faxes
    SCOT
    1.      Double click on the green Fax entry
    2.      From the Supported Address Types area, press the Set button that is beside Fax
    3.      In the Address area, ADJUST AS NECESSARY
    4.      Double click on the green SMTP entry
    5.      From the Supported Address Types area, press the Set button that is beside Internet
    6.      In the Address area, ADJUST AS NECESSARY
    Adjust RFC connections.
    SM59
    1.      Expand the TCP/IP connections section
    2.      Double click on the first entry listed
    3.      Check the gateway host and gateway server to make sure it points to the appropriate NON-PRODUCTION system.  
    Make changes as necessary.
    4.      Press the Test Connection button to test the connection
    5.      Press Press <CTRL>+S and then <F3> to save and return to the list of RFCs.
    6.      Repeat steps 1 through 5 for each additional RFC connection
    Convert Logical Systems
    Under no circumstances perform this procedure on a Production system
    BDLS
    1.      When warned to read the documentation, press the checkmark button.
    2.      In the Old logical system name box, press <F4>.
    3.      Select one of the production Logical System names that needs be changed (i.e. WIIPRD400)
    4.      In the New logical system name, enter what that logical system name should be called on this newly refreshed system (i.e.WIITRN400)   Note: Ignore Error/Warning about duplicate system by clicking on the check mark.
    5.      De-select the Test Run and Existence check on new names in tables options
    6.      From the Program menu, select Execute in background
    7.      Press the checkmark button when asked to select a spool device
    8.      Press the Immediate button when asked for the schedule
    9.      Press <Ctrl>+S to save
    10.     Use SM37 to monitor the job
    11.     When job is complete, repeat steps 2 through 10 for any additional logical system names that need to be changed.
    Adjust Logical Systems names
    SALE
    1.      Expand Sending and Receiving Systems, then Logical Systems
    2.      Click on the execute icon beside Define Logical System
    3.      Press the checkmark button to confirm that the change is cross client
    4.      …
    Allow Certains Settings to be modifiable
    (Refer to Note 356483 for more Details)
    SM54
    1.      Enter V_T001B in the Table/View box.
    2.      Select the Generated Objects option.
    3.      Press the Create/Change button.
    4.      Enter any access keys if requested
    5.      Change the Recording routine to no, or user, recording routine.
    6.      Press <Ctrl>+S to save
    7.      Press <Enter> if warned that you are changing a function group that doesn't belong to you.
    8.      You are prompted for transport.  Create a new local transport.
    9.      Repeat steps 1 through 8 for the following objects.  You can specify the same transport you created above.
    V_T001B_GL
    V_T093B_01
    V_T093B_02
    BSI Configuration (R3 HR Systems only)
    SM59
    1.      Expand TCP/IP Connections
    2.      Highlight BSI70-US-TAX and press the Change button
    3.      Change the program field to
    <hostname>\sapmnt\<SID>\SYS\EXE\RUN\TF60SERVER.EXE
    4.      Double check the target host and gateway point to the correct server
    5.      Press <CTRL>+S to save
    6.      Press the Test connection button to test.  If the connect is not successful, take the necessary steps to resolve the issue.
    SE38
    1.      In the Program field, enter RPUBTCU0
    2.      Press <F8> to execute
    3.      Select option BSI version 7.0
    4.      Press <F8> to execute
    5.      BSI should return tax calculations.  If there are errors, take the necessary steps to resolve.
    Reconfigure DB13 schedule
    DB13
    1.      Using the print out created before the refresh, recreate the DB13 calendar.
    Client Configuration
    SCC4
    1.      From the Table view menu, select Display -> Change
    2.      When warned that the table is cross-client, press the checkmark button.
    3.      Double click on one of the non-system clients (i.e. not client 000, 001 or 066)
    4.      Define clients as follows depending on client role
    Development
    Client role:  Customizing
    Changes and transports for client-specific object:  Automatic recording of changes
    Client-independent object changes:  Changes to repository and cross-client customizing allowed
    Protection: Client copier and comparison tool:  Protection level 0
    Restrictions when starting CATT and eCATT:  eCATT and CATT allowed
    Quality Assurance
    Client role:  Test
    Changes and transports for client-specific object:  No changes allowed
    Client-independent object changes:  No Changes to repository and cross-client customizing allowed
    Protection: Client copier and comparison tool:  Protection level 0
    Restrictions when starting CATT and eCATT:  eCATT and CATT allowed
    Training
    Client role:  Education
    Changes and transports for client-specific object:  No changes allowed
    Client-independent object changes:  No Changes to repository and cross-client customizing allowed
    Protection: Client copier and comparison tool:  Protection level 0
    Restrictions when starting CATT and eCATT:  eCATT and CATT allowed
    Sandbox
    Client role:  Test
    Changes and transports for client-specific object:  Changes without automatic recording
    Client-independent object changes:  Changes to repository and cross-client customizing allowed
    Protection: Client copier and comparison tool:  Protection level 0
    Restrictions when starting CATT and eCATT:  eCATT and CATT allowed
    5.      Press <CTRL>+S to save.
    6.      Repeat steps 4 through 6 for any additional clients
    Set System Change Option
    Skip this section of the system is a Development or Sandbox System.
    SE06
    1.      Press the System Change Option button.
    2.      Set the global setting to Not Modifiable
    3.      Press <CTRL>+S to save.
    Release Background Jobs
    Currently, all background jobs, except for system standard jobs have been placed on hold (status scheduled).
    Rewards if useful.
    Regards,
    Pherasath

  • What are the importent transaction codes in edi

    what are the importent transaction codes in edi

    hi,
    =>sale - ALE Customizing
    =>bale - Distribution Administration (ALE)
    =>wedi - IDOC Type and EDI Basis
    =>shdb - BDC (Transaction Recorder)
    =>lsmw - LSMW
    =>bapi - BAPI
    =>spau - Display Modified DE Objects
    =>spdd - Display Modified DDIC Objects
    =>sara - central idoc archiving
    =>stms - Transport Management System
    =>wedi - IDOC Type and EDI Basis (IDOC Configuration)
    =>bd21 - Analyze change pointers - create IDOC from change pointer
    =>bd10 - Send Material Master
    =>bd12 - Send Customer Master
    =>bd14 - Send Vendor Master
    =>bd50 - Activate Change Pointer for Message Type
    =>bd55 - Conversion rule user exit (Link conversion rule user exit to the different system \ partner combinations)
    =>bd54 - Maintain Logical Systems
    =>bd71 - Distribute Customer Model
    =>bd87 - Process Inbound IDOCs
    =>bd88 - Process Outbound IDOCs
    =>bdm2 - Cross-system IDOC Reporting
    =>bdm7 - ALE Audit - statistical analyses
    =>bdm8 - ALE Audit - sending confirmations
    =>bd61 - Activate Change Pointer generally
    =>bmv0 - Direct Input Data Transfer Administration
    =>rz04 - Operation Mode
    =>rz12 - RFC Server Group Maintenance
    =>sar3 - Archiving object customizing
    =>s001 - SAPoffice Inbox
    =>s010 - Standards Texts (SAP Script)
    =>se01 - Transport Organizer (Extended View - Performing and managing the transport of development object across different systems)
    =>se09 - Transport (Workbench) Organizer (Controlling and keeping track of Development work and Development Objects)
    =>se78 - Administration of Form Graphics (Import Graphics into SAP System)
    =>se84 - ABAP Repository Information (search for SAP objects)
    =>su01 - User Maintenance (Security)
    =>su02 - Maintain Authorization Profiles
    =>su03 - Maintain Authorizations
    =>sm36 - Background Job Scheduling
    =>sm37 - Background Job Monitoring (display batch jobs)
    =>sm31 - Table Maintenance
    =>sm30 - Calling View Maintenance
    =>sm35 - Batch Input Monitoring (Error Logs)
    =>sm50 - Process Overview
    =>sm58 - Transactional RFC Monitoring
    =>sm59 - Maintain RFC Destinations (Define RFC Configuration)
    =>snro - Number Range Objects (for IDOCs)
    =>we02 - Display IDOC
    =>we05 - IDOC lists
    =>we07 - IDOC statistics
    =>we12 - Inbound processing of outbound file - convert outbound to inbound file
    =>we14 - Process (dispatch) IDOCs through Port - RSEOUT00
    =>we15 - Outbound IDOC from NAST - message control
    =>we16 - Inbound File
    =>we18 - Generate status file
    =>we19 - Test tool
    =>we20 - Add new Message Type to Partner Profile
    =>we21 - Maintain Port Definition
    =>we30 - IDOC Type development
    =>we31 - IDOC Segment development
    =>we41 - Process Code Outbound
    =>we42 - Process Code Inbound
    =>we46 - IDoc Administration
    =>we47 - Status Code Maintenance
    =>we57 - Assign function module to logical message and IDoc type
    =>we63 - IDOC Type for Parser Output
    =>we82 - Assign IDOC to Message Type
    =>we60 - IDOC Documentation - IDOC Types
    =>we61 - IDOC Documentation - IDOC Record Types
    =>we81 - Create new IDOC Message Types
    =>we82 - Assign IDOC to Message Type
    =>pa20 - Display HR Master Data
    =>pa30 - Maintain HR Master Data
    =>bd59 - Create and assign Filter Object Type for Message Type
    =>bd64 - Maintenance of ALE or any other Distribution Model
    Hope this helps, Do reward.

  • What are the functions of tables in ods

    Hi,
    what are the functions of tables in ods.
    new data table
    change log table
    active data table.
    How 0recordmode work with these 3 tables.
    and how sid will work with ods?
    can anyone give detailed explanation.
    please do not give sap help links.
    Thanks,
    madhu
    Thanks

    Hi,
    new table holds the "new" loaded data in ODS. If you start a new request to load data in your ODS, it firstgoes to table new data. Then you normally activate data either manually or by process chain. Then the daa will be copied over from new to active table. The change log table holds the delta information, what will change during activation or which records will be overwritten with new data or which data is new at all.
    With recordmode you can specify which update mode will be used or more excalty which delta mode will be used. SID is necessary for master data, because ODS will only hold the SID values of the used characteristivcs and not the characteristic values itselfs. It's part of normalization used in BI.
    For more details I recommend to look here in SDN, go to a class or read help.sap.com pages.
    Regards,
    Juergen

  • What are the things taken care while using multiple suites?

    Hi all,
    I have created a plugin which sends the current file path to an url,
    its working fine with debugging in Visual studio 2005 and while it is added to the Adobe Illustrator its works only once.
    That is its sending the file path only for one file. While i tried for the second time its not working
    I am using following suits in my plugin
    AIDocumentSuite
    AIFilePathSuite
    AIActionManagerSuite
    AIUnicodeStringSuite
    AIURLSuite
    I am using the "AIURLSuite" for calling the url and it is calling the url multiple times while its used alone, and its only working once with the multiple suites.
    What are the things taken care while using multiple suites? , is it neccessary to release all variables and the suites after completing the task?
    Should they released in the same order in which they are acquired?
    Thanks in advance
    Sreejesh K V

    Hi,
    The problem was with the "sAIDocument->GetDocumentModified(mod);"
    The "GetDocumentModified" is crashing after  executing once, i just removed that statement , and now
    i am forcefully saving the document with out checking the modification status!
    Its working fine now!
    Could you please tell me how can we lock a plugin , or a particular function in a plugin.
    There is any specific standard to use the GetDocumentModified function?
    Thanks and Best Regards
    Sreejesh K V

  • What are the main steps to be taken care while doing recording for LSMW

    Hi,
    I am facing problem in LSMW.
    Can anybody suggest me that What are the main steps to be taken care while doing recording for LSMW for recording mm01 ?
    thanks'
    naresh

    Hi,
    Recording in LSMW is similar as SHDB.
    in LSMW after you give Project-Subproject and Object.
    1)Go to-> Maintain Object Attributes -> double click
    2)Press Display/Change Button at top left to make editable mode.
    3)Select radiobuton -> Batch Input -> Give Recording name say Z_mm01
    4) Click the Recording Overview boton on right -> Give TCode which u want to record....
    Rest refer the Document link attached.
    Please find the links to various threads on the same.
    Re: LSMW - Using a BAPI
    BAPI, IDOC in LSMW
    Upload the data in LSMW using BAPI
    This one is the most complete document for the same
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://service.sap.com/lsmw.
    Regards
    Kiran

  • What are the features supported in Cisco Prime Infrastructure for WLAN for autonomous AP's?

    What are the features supported in Cisco Prime Infrastructure for WLAN for autonomous AP’s?

    • PI provides visibility for autonomous  clients within the same list view as lightweight and wired clients (client list  page).
    • Rogue AP detection for autonomous AP's is not supported (it's  supported in CUWN). 
    • Alarms/events for client authentication issues (e.g.  authentication failure) are displayed in PI.
    • Config management for  autonomous AP's is via CLI template.  Config comparison and archiving  functionality in PI leverages these same features that were brought in from LMS,  so need to defer to others in terms of whether this is a cross-platform feature  in PI or is only supported on a subset of platforms.  Config comparison/archive  is supported in CUWN.PI supports both infrastructure (e.g. AP Tx Power and  Channel, busiest AP, AP utilization, etc.) and client (e.g. client count, client  sessions, etc.) reports, and there are extensive reports for CUWN

  • 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

  • SSAS Tabular in DirectQuery - What are the workarounds for formula limitations?

    Hello,
    I need to create an SSAS Tabular model against the database of a live, real-time, line of business transactional system (i.e. a CRM).
    The business requirement behind it is that we need to create some complex reports against live data, and our DW is only updated daily.
    This live model will however be partitioned with a time-variance limitation (e.g. only records which are XX old can be returned).
    Now here is the challenge. Since I am querying live data, then I believe the model must be configured in DirectQuery model. Am I right?
    The issue is that DirectQuery mode is full of formula limitations. So my concern is, if I need a calculated column or measure that I cannot make it work due to DirectQuery limitations, then what are the alternatives?
    Remember that the data source is from a live system, so it is not like I can create columns and measures in the underlying relational database.
    Please advise.
    Regards,
    P.

    Hi pmdci,
    According to your description, you want to use some functions in calculated measure which are not supported in DirectQuery mode. Right?
    In Analysis Services Tabular, since DirectQuery has the real time access and scalability, this comes with a price of restrictions on a number of DAX functions and missing Calculated Column feature. Generally the workaround for these scenarios
    is replacing those functions with other functions which are supported in DirectQuery mode, or create columns in the data source. However, as you said, your environment is not possible to create columns in the database. And a lot of those limited
    function are not replaceable, like time intelligence functions. So actually, there's no really effective workaround currently.
    For you requirement, I suggest you submit Microsoft a feature request
    at https://connect.microsoft.com/SQLServer
    so that we can try to modify and expand the product features based on your needs.
    Best Regards,  
    Simon Hou
    TechNet Community Support

Maybe you are looking for