How to read Ztable entries in Rule .

Hi all,
1) How to read Ztable in the rule ?
if i wanted check EE cost center is available in Ztable then do some operation .
2) How to restrict the changes only effective from 2012 . No retro allowed .?
Please give me the code pls ....
Thanks,
Deepika

Hi,
Use Table operation for read Z table, and VARGB operation is for Read data element..I think Enhancement require in payroll driver for new Info type.
Regarding Cost center Query use OUTWPCOSTC for getting cost center..

Similar Messages

  • How to read specific entry in standard table view :

    Hi Friends,
    Can anybody please give me code on how to read a record in table view having 5 records.
    I have a requirement on how to read the specific address out of 5.
    I tried doing in ON_NEW_FOCUS method.
    Thanks,
    Chitrakant

    Hello,
    Try to do it in the DO_PREPARE_OUTPUT mathod before calling super->do_prepare_output( ). What we need to do is,
    1. get the collection from context node ( get_collection_wrapper )..
    2. filter the entity based on the value ( using iterator !!! )
    3. set back to context node
    4. call super->do_prepare_output.
    Hope it helps.
    Regards,
    Sandeep Kumar B

  • How to read iCal events from SQLite Cache file?

    I need to figure out how to read event entries in the Cache file stored in /Library/Calenders/ as my actual events have been corrupted due to a file system problem. The example below shows the information I have for each entry, where the event in the entry was Bon Jovi Concert, however I am confused how I can read the date and time of the event, information I believe is stored as 218215639,219613081,219524400,219540600. Any help is greatly appreciated.
    INSERT INTO "ZCALENDARITEM" VALUES(0,NULL,0,NULL,0,5,NULL,6,4039,NULL,0,0,0,0,0,0,2,23,0,0,0,0,6,0,21821563 9,219613081,219524400,219540600,NULL,NULL,NULL,NULL,NULL,'local_AFB8D342-2DAE-4F A1-A9A6-3FA9B28B5C7C','Bon Jovi Concert',NULL,NULL,NULL,'Europe/London',NULL,'0E17BBB6-0E76-4024-8DD7-60E43D38D 35B');

    OK, here we go ... I hope. I have tried it on my iCal, with about 2000 entries, and it worked. I cannot guarantee that it will work for you.
    Make a new text file from sql as before, but using this modified command to get additional data for each event:
    sqlite3 Desktop/Hope 'select ZSTARTDATE, ZCALENDARITEM.ZTITLE, ZENDDATE, ZNODE.ZTITLE, ZISALLDAY, ZRECURRENCERULE, ZISDETACHED from ZCALENDARITEM inner join ZNODE on ZCALENDARITEM.ZCALENDAR = ZNODE.Z_PK where ZSTARTDATE not null' >hope.txt
    I suggest you make a new user account, then copy the text file hope.txt and the script to the Public/Drop Box folder for that account. Log on to the new account and copy the two files from the drop box to the Desktop. Start iCal and make new calendars to match those in your ordinary account. Double click the script to open it in Script Editor and CHANGE THE DATE RANGE in the "set ThePeriod" line. Stand well back and click the run button. Every 50 records processed it will pop up a progress box, which will pop down again after a second. Go for lunch.
    When it is finished see if things look OK in iCal. If they do export each of the calendars, copy them to the drop box of your normal account and return to your normal account to import them.
    If there is an error make a note of the error message and line number, find that line in the text file, and post it here with a couple of lines either side.
    Note that for recurring items iCal normally only makes a single event, the first occurrence, then uses a recurrence rule to calculate if the event should be displayed in the current window. If there are any recurring events in the period you have selected where the first occurrence is before the period they will not be recreated. Where however you have changed a single occurrence of a recurring event iCal makes a new, detached, event. Any of these in the period will be detected. If their original event was also in the period they will now appear in the iCal display as duplicates. For easy spotting of these, I have prefixed "XX-" to the title of any detached events.
    AK
    <pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">on run
    set ThePeriod to {date ("jan 1 2008"), date ("dec 31 2008")} --CHANGE THIS BEFORE RUNNIN
    set TheFile to open for access (path to desktop as text) & "temp.txt"
    set TheContents to read TheFile --until return
    close TheFile
    set TheLines to paragraphs of TheContents
    set OldDelim to AppleScript's text item delimiters
    set AppleScript's text item delimiters to {"|"}
    set LCount to 0
    set ACount to 0
    set RCount to 0
    set DCount to 0
    set SCount to 0
    set HowMany to (count of TheLines)
    try
    repeat with ThisLine in TheLines
    if (count of ThisLine) is 0 then exit repeat
    -- Start Date, Title, End Date, Calendar, All Day, Recurs, Detached
    set LCount to LCount + 1
    set Details to text items of ThisLine
    set MyStartDate to FixMyDate(item 1 of Details)
    set MyTitle to item 2 of Details
    set MyEndDate to FixMyDate(item 3 of Details)
    set MyCalendar to item 4 of Details
    set MyAllDay to item 5 of Details
    set MyRecurs to item 6 of Details
    set MyDetached to item 7 of Details
    if MyAllDay is "1" then set ACount to ACount + 1
    if (count of MyRecurs) > 0 then set RCount to RCount + 1
    if MyDetached is "1" then set MyTitle to "XX-" & MyTitle
    if MyDetached is "1" then set DCount to DCount + 1
    if (MyCalendar is not "Birthdays") and (MyStartDate ≥ item 1 of ThePeriod) and (MyStartDate ≤ item 2 of ThePeriod) then
    tell application "iCal"
    tell calendar MyCalendar
    set ThisItem to make new event at end of events with properties {summary:MyTitle, start date:MyStartDate}
    end tell
    tell ThisItem
    if MyAllDay is "1" then set allday event to true
    if (count of MyRecurs) > 0 then set recurrence to MyRecurs
    set end date to MyEndDate
    end tell
    end tell
    else
    set SCount to SCount + 1
    end if
    if (LCount mod 50) = 0 then
    set the_message to "Processed " & (LCount as string) & " of " & (HowMany as string)
    display dialog the_message buttons {"Cancel"} giving up after 1
    end if
    end repeat
    on error TheError
    display dialog "Error: " & TheError & " about line " & LCount
    end try
    set AppleScript's text item delimiters to OldDelim
    display dialog (LCount as string) & " lines processed" & return & "All Day: " & (ACount as string) & return & "Recurs: " & (RCount as string) & return & "Detach: " & (DCount as string) & return & "Skipped: " & (SCount as string)
    end run
    on FixMyDate(MyDate)
    date (do shell script "date -r " & MyDate & " -v+31y +%e'/'%m'/'%y' '%T")
    end FixMyDate
    </pre>

  • How to delete the orphaned Expected Rule Entries exist in the FIM portal

    Hi,
    How to delete the orphaned Expected Rule Entries exist in the FIM portal.
    A large number of orphaned Expected Rule Entries exist in the FIM portal (originally 140000k+ objects, currently 75000+ objects). They consume the a lot of FIM database space and slows down the identity lifecycle management synchronization processes.
    Regards
    Anil Kumar

    Hello,
    in my environments i use this approach:
    https://social.technet.microsoft.com/Forums/en-US/1af6cf77-4c55-4a3e-93cc-0baae80bc88f/expiration-workflow-cannot-delete-ere?forum=ilm2
    This sets up a compination of Sets, Workflow and MPR to let the "Expiration Workflow" delete EREs as soon as they get orphaned.
    This works fine since 3 years now, even if there are comming SQL-Jobs within a FIM update, but I implemented this before this was done.
    I would suggest to clear the current orphaned EREs with PowerShell to avoid request flooding when implementing the above solution. Then implement that housecleening above.
    Regards
    Peter
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • How to read Multiple sheet Excel file( One of the sheet generated by rule )

    Hi Folks,
    I have one critical requirement about reading an Excelsheet.
    I have an Excelsheet, which has got 2 tabs. Now  TAB1  is having the data stored and TAB2 has got data, which is created by some Rule using in Excelsheet.
    Now when i am trying to pass this Excel sheet to Function module ' TEXT_CONVERT_XLS_TO_SAP'  this Fucntion Module is returning the data from TAB1. But my requirement is that, i have to read data from TAB2, which is generated by implementing some rule on TAB1.
    So Please help, me how can i read the multiple sheet Excel document and how to read the tab , which is generated by some rule.
    Thanks.
    PG

    Hi Guru,
    Thanks for your reply.
    I have seen this blog, and treid to implement the code. But when i am caaling method GET_RANGES_DATA
    in the program, it's hanging my whole program and followed by hanging my SAP login.
    I have no clue, why my program is getting hung up, bcoz of this call.
    After debugging this method, i found that the program is getting hung up at call of one function module DP_GET_TABLE.
    This Function Module is internally called by above menthioned method.
    So please let me know, if you have some input on above issue, or if you know some other way to implement this problem.
    Regards
    PG

  • How to read fieldcatalog of Data Entry View in CAT2

    Hi,
         I have a requirement wherein I need to validate the time data of 'Data Entry View' in TCode: CAT2. Here, there is a table control which uses dynamic field catalog (for days Eg: MO 11/07, TU 11/08.....SU 11/13).
           Whenever a user enters the 'Key Date' from CAT2, the system automatically gets the Data Entry Period of that Key date.
    For eg, let's say user enters Key date as '11/28/2011' then the Data entry period would be 11/28/2011 to 12/04/2011.
          Requirement: Now the system should allow the user to enter time for November month only i.e. 28, 29 and 30. It should not allow the user to enter time data for December. In short the system should allow the user to enter times of only one month.
          For this validation I'm using the User Exit: CATS0006 .  Please suggest me how to read the above fieldcatalog,
    And also let me know if this can be achieved by any other method.
    Thanks,
    Singh

    Thanks Raymond. The problem is solved.
    Below is some part of the logic...
    Work area declaration
    DATA: wa_check_table TYPE cats_comm.
    Variables
    DATA: w_cnt TYPE i.
    Get the no. of records
    DESCRIBE TABLE check_table LINES w_cnt.
    Read the last record
    READ TABLE check_table INTO wa_check_table INDEX w_cnt.   "We can loop also
    IF dateto4(2) GT datefrom4(2).
      IF wa_check_table-workdate4(2) GT datefrom4(2).
        MESSAGE e208(00) WITH text-001.  "Appropriate Error Message
      ENDIF.
    ENDIF.

  • How to remove the entries of the names of the previously read PDF files in order to not to leak privacy

    How to remove the entries of the names of the previously read PDF files in order to not to leak privacy

    Bear in mind that the files will ALSO be in Windows or Mac's recent document list, and even if they weren't, the files will still be around and available. If they are not available, then just the name may not be much of a security bit (unless the file is called my_secret_bid_for_ibm.pdf or some such).

  • How can read/write FORMSWEB.CFG & DEFAULT.ENV file entries programatically?

    Environment: Forms 9i (Web)
    As : Oracle 9i As
    How can read/write FORMSWEB.CFG & DEFAULT.ENV file entries programatically?

    I guess you cannot. There is an enhancement request to get the name of the config-section as a GET_APPLICATION_PROPERTY.
    What you could do is add extra parameter(s) to your form and pass the necessary formsweb.cfg parameters in this form parameter. See Get formsweb.cfg section name in Forms for more info and an example.

  • How to read System DSN entries -Urgent

    Hi,
    I need to show list of System DSN entries in JComboBox. So, I want to know the way of reading the entries in Java. Can you please help me ??
    Thanks in Advance
    Kumar

    please stop posting this question.
    the answer.. which you already know is JNI or native code. but a better question which was already asked of you is WHY do you want to show a list of available DSN's on a machine? it sounds like using a dynamic DSN would probably help you.
    please see here...
    http://forum.java.sun.com/thread.jsp?forum=48&thread=200603
    if dynamic DSN's will not help you and you MUST retrieve a list of DSN's available on a system you are looking at native code to do this... good luck.

  • How to read a text/html file in java regardless of its encoding?

    Hi All,
    How to read a text/html file in java regardless of its encoding?
    1. Is there any way to identify that a file (read using FileInputStream/or any other means with java.io package) has been saved with which type of encoding i.e. whether the file is using ANSI encoding or Unicode encoding or other?
    2. Is there any standard way to read an encoded file (i.e. files having UTF-16 format for Asian locales character support) and un-encoded file (i.e. files having ordinary ANSI format) correctly without knowing the user input?
    The problem is that while creating an instance of 'InputStreamReader' (ISR) we can pass the encoding type used (otherwise it takes the system's default encoding type), and the ISR expects the file to be in the same encoding format otherwise it reads it as some junk. But we don't know which file the user is going to pass whether it is Unicode (for Asian locales file should be in Unicode) with or ANSI coded (for non-Asian / English locales user generally uses ANSI encoding).
    Regards,
    Sam

    1. There is no reliable way of guessing the encoding of a file without that information. Thats why XML for example has very strict rules wrt. it's encoding (short form: use UTF-8 or UTF-16, if you use anything else, you'll have to specify it)
    2. you might be able to make an educated guess if the possible range of encodings is limited, but it will probably never be 100% certain
    3. The HTML file might have a header entry "<meta http-equiv..." that tells you about it's encoding. You could try to read the start of the file and see if you find that, then if you found it re-read the entire file.
    regards

  • How to delete one entry in "documents & data" of icloud?

    It seems some application saves settings in "documents & data", but the application has been removed already.
    I do not know how to delete the entry.
    Anyone can help me?
    Thanks!

    Hello mende1,
    I  follow your suggestion many times but it does not work still.
    The record "Ruler for iPad and iPhone..." fails to disappear.

  • How to Read an IDOC

    Hi Experts,
    Can any one explain me about IDOC, and how to read it once it is created.
    Regards
    Venu

    Hi,
    IDOCS:
    IDocs are SAP’s file format to exchange data with a foreign system.
    IDocs are an ASCII file format to exchange data between computers; the format is chosen arbitrarily .
    IDocs are similar to segmented files; they are not a description language like ANSI X.12, EDIFACT or XML.
    The IDoc contents are processed by function modules, which can be assigned in customizing.
    IDocs are structured ASCII files (or a virtual equivalent). They are the file format used by SAP R/3 to exchange data with foreign systems.
    IDocs are simple ASCII data streams. When they are stored to a disk file, the IDocs
    are simple flat files with lines of text, where the lines are structured into data fields.
    The typical structured file has records, each record starting with a leading string that identifies the record type. Their specification is stored in the data dictionary.
    IDocs is the acronym for Interchange Document. This indicates a set of (electronic)
    information which builds a logical entity. An IDoc is e.g. all the data of a single
    customer in your customer master data file, or the IDoc is all the data of a single
    invoice.
    IDoc data is usually exchanged between systems and partners that are completely
    independent. Therefore, the data should be transmitted in a format that can easily be
    corrected by the computer operators. It is therefore mandatory to post the data in a
    human readable form.
    Nowadays, this means that data is coded in ASCII format, including numbers which
    are sent as a string of figures 0 to 9. Such data can easily be read with any text editor on any computer, be it a PC, Macintosh, UNIX System, S/390 or any internet
    browser.
    The information which is exchanged by IDocs is called a message and the IDoc is
    the physical representation of such a message. The name “messages” for the
    information sent via IDocs is used in the same ways as other EDI standards. .
    Everybody who has ever dealt with interface programming, will find IDocs very
    much like the hierarchical data files used in traditional data exchange.
    International standards like the ODETTE or VDA formats are designed in the same
    way as IDocs are.
    Other EDI standards like XML, ANSI X.12 or EDIFACT/UN are based on a data
    description language. They differ principally from the IDocs concept, because they
    use a programming language syntax (e.g. like Postscript or HTML) to embed the DATA.
    The IDoc process is a straight forward communication scenario. A communication is
    requested, then data is retrieved, wrapped and sent to the destination in a predefined format and envelope.
    An R/3 application creates data and updates the database appropriately. An
    application can be a transaction, a stand-alone ABAP Report or any tool that can
    update a database within R/3.
    If the application thinks that data needs to be distributed to a foreign system, it
    triggers the IDoc mechanism, usually by leaving a descriptive message record in the
    message table NAST.
    The application then either directly calls the IDoc engine or a collector job
    eventually picks up all due IDoc messages and determines what to do with them.
    If the engine believes that data is ready to be sent to a partner system, then it
    determines the function module which can collect and wrap the required IDoc data
    into an IDoc.
    In IDoc customising, you specify the name of the function module to use. This can
    either be one which is predefined by R/3 standard or a user-written one.
    When the IDoc is created it is stored in an R/3 table and from there it is sent to the foreign system.
    If the foreign system requires a special conversion, e.g. to XML, EDIFACT or X.12
    then this job needs to be done by an external converter, like the Seeburger ELKE™
    system. These converters are not part of R/3.
    If you have to decide on a converter solution, we strongly recommend using a plain
    PC based solution. Conversion usually requires a lot of fine tuning which stands
    and falls with the quality of the provided tools.
    DIFFERENCE B/W IDOC AND BDC:
    IDOC's are intermediary documents into which the data will be transferred and then this idoc's gets transferred to sap or non-sap system.
    ALE is used to create link between 2 systems. So without the linking the data cannot be uploaded or downloaded.
    BAPI, LSMW and BDC are used to transfer data b/w systems.
    BDC is used to transfer data b/w only sap systems.
    LSMW is used to transfer data b/w sap and non-sap systems.
    ale Idoc: Idoc is a part of ALE. it is applicable only if the external system and the sending system have the same format. ALE uses Internationally Standardized formats. Also it is facilitating Asynchronous data communication and safest data communication. If you got errors also you can correct it and send it again.
    lsmw: It the legacy data transfer. which is used for bulk data transfers. It uses BAPI, IDoc, BDc internally....
    bapi: SAP Provided way of data transfer. if the BAPi suits for our business bettere to go for bapi. it too uses internationally standardized data format Business Objects concept.
    idocs
    1.We will see the status of the IDOC in We02 or We05.
    2.In that There are three records.
    a.Data record
    b.status record.
    c.Control record.
    3.If u click on data record you can see the data ,which is transfering it.
    Details about IDOC:
    Data Creation in Idoc
    IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
    asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
    IDoc is a intermediate document to exchange data between two SAP Systems.
    *IDocs are structured ASCII files (or a virtual equivalent).
    *Electronic Interchange Document
    *They are the file format used by SAP R/3 to exchange data with foreign systems.
    *Data Is transmitted in ASCII format, i.e. human readable form
    *IDocs exchange messages
    *IDocs are used like classical interface files
    IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    FOr testing you can use WE19.
    How to create idoc?
    *WE30 - you can create a IDOC type
    For more information in details on the same along with the examples can be viewed on:
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappoint.com/presentation.html
    http://www.allsaplinks.com/idoc_search.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30 )
    Create Message Type ( WE81 )
    Assign Idoc Type to Message Type ( WE82 )
    Creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Follow steps to create more number of segments
    Create IDOC Type
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    Create Message Type
    Go to transaction code WE81
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter
    Click New Entries to create new Message Type
    Fill details
    Save it and go back
    Assign Message Type to IDoc Type
    Go to transaction code WE82
    Change the details from Display mode to Change mode
    After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    Check these out..
    Re: How to create IDOC
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    go trough these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
    1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
    2.IDOCs are independent of the sending and receiving systems.
    3.IDOCs are independent of the direction of data exchange.
    The two available process for IDOCs are
    Outbound Process
    Inbound Process
    AND There are basically two types of IDOCs.
    Basic IDOCs
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extended IDOCs
    Extending the functionality by adding more segments to existing Basic IDOCs.
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30)
    Create Message Type ( WE81)
    Assign Idoc Type to Message Type ( WE82)
    imp links
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    www.sappoint.com
    --here u can find the ppts and basic seetings for ALE
    http://sappoint.com/presentation.html
    www.sapgenie.com
    http://www.sapgenie.com/ale/index.htm
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    Try this..Hope this will help.
    SAP ALE & IDOC<<<<
    Steps to configuration(Basis) >>
    1. Create Logical System (LS) for each applicable ALE-enabled client
    2. Link client to Logical System on the respective servers
    3. Create background user, to be used by ALE(with authorizaton for ALE postings)
    4. Create RFC Destinations(SM59)
    5. Ports in Idoc processing(WE21)
    6. Generate partner profiles for sending system
    The functional configuration(Tcode: SALE)
    • Create a Customer Distribution Model (CDM);
    • Add appropriate message types and filters to the CDM;
    • Generate outbound partner profiles;
    • Distribute the CDM to the receiving systems; and
    • Generate inbound partner profiles on each of the clients.
    Steps to customize a new IDoc >>>
    1. Define IDoc Segment (WE31)
    2. Convert Segments into an IDoc type (WE30)
    3. Create a Message Type (WE81)
    4. Create valid Combination of Message & IDoc type(WE82)
    5. Define Processing Code(WE41 for OUT / WE42 for IN)
    6. Define Partner Profile(WE20)
    Important Transaction Codes:
    SALE - IMG ALE Configuration root
    WE20 - Manually maintain partner profiles
    BD64 - Maintain customer distribution model
    BD71 - Distribute customer distribution model
    SM59 - Create RFC Destinations
    BDM5 - Consistency check (Transaction scenarios)
    BD82 - Generate Partner Profiles
    BD61 - Activate Change Pointers - Globally
    BD50 - Activate Change Pointer for Msg Type
    BD52 - Activate change pointer per change.doc object
    BD59 - Allocation object type -> IDOC type
    BD56 - Maintain IDOC Segment Filters
    BD53 - Reduction of Message Types
    BD21 - Select Change Pointer
    BD87 - Status Monitor for ALE Messages
    BDM5 - Consistency check (Transaction scenarios)
    BD62 - Define rules
    BD79 - Maintain rules
    BD55 - Defining settings for IDoc conversion
    WEDI - ALE IDoc Administration
    WE21 - Ports in Idoc processing
    WE60 - IDoc documentation
    SARA - IDoc archiving (Object type IDOC)
    WE47 - IDoc status maintenance
    WE07 - IDoc statistics
    BALE - ALE Distribution Administration
    WE05 - IDoc overview
    BD87 - Inbound IDoc reprocessing
    BD88 - Outbound IDoc reprocessing
    BDM2 - IDoc Trace
    BDM7 - IDoc Audit Analysis
    BD21 - Create IDocs from change pointers
    SM58 - Schedule RFC Failures
    Basic config for Distributed data:
    BD64: Maintain a Distributed Model
    BD82: Generate Partner Profile
    BD64: Distribute the distribution Model
    Programs
    RBDMIDOC – Creating IDoc Type from Change Pointers
    RSEOUT00 – Process all selected IDocs (EDI)
    RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
    RSARFCEX - Execute Calls Not Yet Executed
    RBDMOIND - Status Conversion with Successful tRFC Execution
    RBDMANIN - Start error handling for non-posted IDocs
    RBDSTATE - Send Audit Confirmations
    FOr testing you can use WE19.
    http://sap-img.com/abap/reads-an-existing-idoc-and-dispays-the-contents-in-a-spreadsheet-format.htm
    ALE/ IDOC/ XML
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    IDOC Convertion
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    IDOC Creation....
    http://www.erpgenie.com/sap/sapedi/idoc_abap.htm
    You can view the definition of any IDoc data structure directly with transaction WE30.
    u cn use function module 'FIELD_POSITION_IN_SEGMENT_GET' to extract data from idocs.
    You can view the idoc through we02 or we05. In that there are three types
    status records gives the status of that idoc in differenttimes
    data records gives the data in that idoc
    control records gives the date, time and creater of that idoc.
    I think its helps you.
    Thanks and Regards,
    D.Revathi.

  • Performance parameters of the meter reading result entry

    Hi Guys,
    Can any one explain me about the below parameter in the meter reading result entry.
    1."No Entry of Tech. MRs at Installation Outside Installation"
    If we enable this option,it should not allow to enter the meter readings in the technical installation.
    But it is accepting. How? can any one explain.
    2.Turbo booster also.
    Thanks in advance.
    Regards,
    Oven
    Edited by: Richard oven on Feb 18, 2009 11:41 AM

    Hi Oven,
    I hope the following information is useful:
    No Entry of Tech. MRs at Installation Outside Installation ->
    As a rule, technical meter readings at installation are entered using the appropriate transactions (Full Installation, Technical Installation).
    In addition, it is possible to enter meter readings for technical installation before the installation occurs. This is done by uploading meter readings using IDoc ISU_MR_UPLOAD or BAPI. In exceptional cases you can also enter meter readings manually using single entry. The meter reading is then included once technical installation has been executed.
    If you select this field, it is not possible to import meter readings at installation via upload or single entry.
    Turbo Boosting->
    Activates Accelerated Processing
    Transactions and background jobs of the meter reading result
    entry create a high database load. Excessive accesses to the
    database tables EABL, EABLG, V_EGER_H, ETDZ, EASTS and others
    affect the system performance this improves performance......
    Kind Regards
    Olivia

  • Read table entries at runtime

    Hi,
    I have a table in which I populate entries by importing a .csv file. Now on clicking OK i want to read this entries on screen in the table and store it in the internal table.
    How do I read these entries (can be any number of rows) and store it in an internal table?

    Resolved.
    It should be
    DATA: lo_nd_tab1 TYPE REF TO if_wd_context_node,
                i_tabval TYPE wd_this->elements_tab1.
    lo_nd_tab1= wd_context->get_child_node( 'TAB1' ).
      lo_nd_tab1->get_static_attributes_table( IMPORTING
                 table = i_tabval ).
    TAB1 is my NODE here

  • How to read Excel file in flex

    Hi,
         I am new to Adobe flex and i dont know how to read Excel in flex and i need coding for that. So anybody help me...
    thanks in advance...

    Hi
    You can read and parse XLS files (only works with xls-files) with urlloader and a ZIP-lib that can read zip-files.
    public function loadXLS(url:String):void
                var urlLoader:URLLoader = new URLLoader();
                urlLoader.dataFormat = URLLoaderDataFormat.BINARY;
                urlLoader.addEventListener(Event.COMPLETE, onLoadComplete);
                urlLoader.load(new URLRequest(url));
            private function onLoadComplete(even:Event):void
                urlLoader.removeEventListener(Event.COMPLETE, onLoadComplete);
                model.sheetsDict = new Dictionary();
                var zipFile:ZipFile = new ZipFile(urlLoader.data);
                for(var i:int = 0; i < zipFile.entries.length; i++)
                    var entry:ZipEntry = zipFile.entries[i];
                    var data:ByteArray = zipFile.getInput(entry);
                    if(useFile(entry.name, "/sheet([^$]+)"))
                        model.sheetsDict[entry.name.split("xl/")[1]] = new XML(data.toString());
                    else if( useFile(entry.name, "/sharedStrings.xml") )
                        model.sharedStrings = new XML(data.toString());
                    else if( useFile(entry.name, "/workbook.xml$") )
                        model.workbook = new XML(data.toString());
                    else if( useFile(entry.name, "/workbook.xml.rels") )
                        model.rels = new XML(data.toString());
                trace(model.sharedStrings)
    to read the xml properly you have to use namespaces in the reader-class
    namespace ns1 = "http://schemas.openxmlformats.org/spreadsheetml/2006/main";
            use namespace ns1;
            namespace ns2 = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
            use namespace ns2;
            namespace ns3 = "http://schemas.openxmlformats.org/markup-compatibility/2006";
            use namespace ns3;
            namespace ns4 = "urn:schemas-microsoft-com:mac:vml";
            use namespace ns4;
            namespace ns5 = "http://schemas.openxmlformats.org/package/2006/relationships";
            use namespace ns5;
    //Olof

Maybe you are looking for