NEED THE LOGIC TO RETRIVE THE DATA FROM IT2001 SUBTY 0910 AND 0100

HI ALL,
ITS URGENT
NEED THE LOGIC TO RETRIEVE THE DATA FROM IT2001(P2001) SUBTY 0910 AND 0100.
BEST REGARDS
SUNIL

Hi,
Please find the logic to retrieve the data from IT2001.
<b>Infotypes : 2001 mode n."Declare the infotype in the infotypes declaration.
Get pernr.
RP-READ-ALL-TIME-ITY PN-BEGDA PN-ENDDA."Retrieves all the records of absence
LOOP AT P2001 WHERE SUBTY = XYZ.
Write the logic.
ENDLOOP.</b>
Regards,
Pavan Kattamuri.

Similar Messages

  • How can collect the data from laptop sound card and serial port at the same time?

    I'm working on a project, I need to collect the data from laptop sound card, and also from serial port at the same time.
    The attachments are my VIs for sound card and serial port communication, I'm wondering that can I combine these two VIs together? Or can I run these two VI at the same time?
    Thank you!
    Attachments:
    AC_Radar_Receive.vi ‏46 KB
    RadarAudioPlug.vi ‏774 KB

    A smarter way is just to put all your code in the same VI.
    Two parallel loops if rates are different.
    Attachments:
    RadarAudioPlug.vi ‏450 KB

  • How can i synchronize the data from PDA (address book and calendar) with AP

    I�m yang J2ME programmer. I�m just programming an API. I need to synchronize the data from PDA or mobile phone (address book and calendar) with PCs .
    Is the JSR 75 s right way? or JSR 230?
    Where can i download JSR 230 ? not PDF

    Can somebody help me?
    I mean, i want to read address book from cell phone to PC.
    Message was edited by:
    cash_ye

  • Problem in picking up the data from queries in QA and PRD

    Dear Experts
    We have upgraded our Development server from 3.5 to 7.I have used Role Menu web template.As this template is default for all users,When i execute these reports in DEV,it gives this URL and gives the data from Dev.
    http://cibdm.ncsbe.eu.jnj.com:51200/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=ZS_ZCCAM4_33AA
    My problem is after i transport these roles(with attached list of reports in Menu) to QA or PRD and when user executes these reports,That Picks up the query from Dev.I cant edit roles in QA and PRD to change the host name and port of QA and PRD respectively.IS there any way that when i trasport these roles then it should automatically pick up the host name and port of QA and PRD and execute the reports from respective serevrs.
    I understand that this problem is coz of Java enviornment.If its ABAP enviornment then it will pick up the value defined in profile paramets in QA and PRD.This works coz there is http://<bsp...> extension in ABAP case.
    Please correct me if my understanding is wrong.
    Thanks for quick response.
    Rgds
    ACE

    Hi Simon,
    First of all thanks alot for your reply.
    Well as per your suggestion i will check OSS note.Yes, as you said i have hardcoded in Dev System i.e (http://ciBDM.ncsbe.eu.jnj.com:51200).But i see that if i use this place holders(<bsp_protcl>://<bsp_server>/sap/bw/BEx?cmd=ldoc&template_id=<...>) will work for ABAP enviornment.This place holder will read the profile paramater and change accordingly according to destination system.Do you say this place holder will work for Java enviornment also?.
    If not for Java do we have any other place holder?.
    Please let me know as am still workingon this issue.
    Rgds
    ACE

  • Gurus...Need help....extract data from BKPF header table and BSEG line item

    Gurus,
    I have to write the logic to fetch data from bkpf and bseg. Need help on how can i do that..
    I have to get bukrs  belnr gjahr ldgrp from BKPF for a given date and company code. For all these documents, then i have to get the line items from BSEG if the ldgrp is I1 or SPACE.
    If the ldgrp is not I1 or SPACE then i have to fetch the records from BSEG_ADD and then generate a ALV report with all the data including the data that was fetched from BKPF.
    So, it wil be a combined ALV report that displays header as well as LINE item data together...
    Can u please help me with the code...I am not sure how can everything go all together in one internal table....Becoz once its there in one table then only a ALV list can be generated.......
    Cheers:
    Sam

    hi Sam, this may be of some similar thing.
    Use this program, I got this prog from a source and we added a small conditional check in the program which checks document numbers in BSEG and also comapres in BKPF and sees if the output from BSEG falls under the posting data range specified in the initial selection.
    Now just so you know, this output is kinda messed up, so you will have to play with it in Excel to extract the document numbers, if that is what you want.
    ============================
    PROGRAM....... ZFI_BSEG_DOWNLOAD
    TITLE......... Download BSEG
    PROGRAM TYPE.. Download
    ======================================================================
    GENERAL DOCUMENTATION AND COMMENTS
    <...>
    ======================================================================
    ASSOCIATED PROGRAMS
    <Program>..... <Description>
    ======================================================================
    CHANGE HISTORY
    Date By Ticket Description
    REPORT zfi_bseg_download.
    TABLES: bseg, bkpf.
    TYPES: BEGIN OF ty_output,
    line(6000) TYPE c,
    END OF ty_output.
    TYPES: ty_tab_output TYPE TABLE OF ty_output,
    ty_tab_nametab TYPE TABLE OF x031l.
    CONSTANTS: c_delimiter(04) TYPE c VALUE '"%%"',
    c_records TYPE i VALUE 10000.
    SELECTION-SCREEN
    SELECT-OPTIONS: p_bukrs FOR bseg-bukrs,
    p_belnr FOR bseg-belnr,
    p_buzei FOR bseg-buzei,
    p_gjahr FOR bseg-gjahr,
    p_budat for bkpf-budat.
    SELECTION-SCREEN SKIP.
    PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN SKIP.
    PARAMETERS: p_append AS CHECKBOX DEFAULT 'X'.
    START-OF-SELECTION
    START-OF-SELECTION.
    PERFORM get_records.
    *& Form get_records
    FORM get_records.
    DATA: l_cursor TYPE cursor,
    lt_bseg TYPE TABLE OF bseg,
    ls_bseg LIKE LINE OF lt_bseg,
    lt_output TYPE ty_tab_output,
    ls_output LIKE LINE OF lt_output,
    lt_nametab TYPE ty_tab_nametab,
    ls_nametab LIKE LINE OF lt_nametab,
    l_field(30) TYPE c,
    l_output(50) TYPE c,
    l_date(10) TYPE c,
    l_len TYPE i.
    FIELD-SYMBOLS: <field>.
    IF p_append NE space.
    OPEN DATASET p_file FOR APPENDING IN TEXT MODE.
    ELSE.
    OPEN DATASET p_file FOR OUTPUT IN TEXT MODE.
    ENDIF.
    Retrieve BSEF fieldnames and data types
    PERFORM get_fields CHANGING lt_nametab.
    OPEN CURSOR l_cursor FOR
    SELECT * FROM bseg
    WHERE bukrs IN p_bukrs
    AND belnr IN p_belnr
    AND buzei IN p_buzei
    AND gjahr IN p_gjahr.
    Write out fieldnames
    IF p_append IS INITIAL.
    LOOP AT lt_nametab INTO ls_nametab.
    CONCATENATE ls_output ls_nametab-fieldname
    INTO ls_output SEPARATED BY c_delimiter.
    ENDLOOP.
    IF ls_output+0(4) = c_delimiter.
    SHIFT ls_output LEFT BY 4 PLACES.
    ENDIF.
    l_len = strlen( ls_output ).
    TRANSFER ls_output TO p_file LENGTH l_len.
    ENDIF.
    Process BSEG records
    DO.
    CLEAR lt_bseg.
    FETCH NEXT CURSOR l_cursor
    INTO TABLE lt_bseg
    PACKAGE SIZE c_records.
    IF sy-subrc 0.
    EXIT.
    ENDIF.
    LOOP AT lt_bseg INTO ls_bseg.
    SELECT single * FROM BKPF
    WHERE BUKRS = ls_bseg-BUKRS
    AND BELNR = ls_bseg-BELNR
    AND GJAHR = ls_bseg-GJAHR
    AND BUDAT in p_budat.
    if syst-subrc 0.
    continue.
    endif.
    CLEAR ls_output.
    Process individual fields of BSEG record
    LOOP AT lt_nametab INTO ls_nametab.
    CONCATENATE 'LS_BSEG-' ls_nametab-fieldname INTO l_field.
    ASSIGN (l_field) TO <field>.
    CLEAR l_output.
    Process by field data types
    CASE ls_nametab-exid.
    WHEN 'C' OR 'N' OR 'I'.
    Character, Numeric & Integer
    l_output = <field>.
    WHEN 'D'.
    Dates
    WRITE <field> TO l_date DD/MM/YYYY.
    l_output = l_date.
    WHEN 'P'.
    Packed decimals
    WRITE <field> TO l_output.
    WHEN OTHERS.
    MESSAGE a000(zs) WITH 'Data type error - ' ls_nametab-exid.
    ENDCASE.
    SHIFT l_output LEFT DELETING LEADING space.
    CONCATENATE ls_output l_output
    INTO ls_output SEPARATED BY c_delimiter.
    ENDLOOP.
    IF ls_output+0(4) = c_delimiter.
    SHIFT ls_output LEFT BY 4 PLACES.
    ENDIF.
    l_len = strlen( ls_output ).
    TRANSFER ls_output TO p_file LENGTH l_len.
    ENDLOOP.
    IF sy-subrc = 0.
    ENDIF.
    ENDDO.
    CLOSE CURSOR l_cursor.
    CLOSE DATASET p_file.
    ENDFORM. " get_records
    *& Form get_fields
    FORM get_fields CHANGING pt_nametab TYPE ty_tab_nametab.
    CALL FUNCTION 'RFC_GET_NAMETAB'
    EXPORTING
    tabname = 'BSEG'
    TABLES
    nametab = pt_nametab
    EXCEPTIONS
    table_not_active = 1
    OTHERS = 2.
    IF sy-subrc 0.
    ENDIF.
    ENDFORM. " get_fields
    hope this helps.
    cheers,
    Hema.

  • Need to grab the data from Web Page and send it to SAP using PI

    Hello Experts,
    I need to grab the exchanges rates from the below link.
    http://www.cbr.ru/scripts/XML_daily.asp?date_req=09-06-2011.
    This link returns an XML . I need to get the data from this XML page and post it to SAP ECC using PI.
    My requirement is that, process should start from the ECC and grabs the data from the web page which gives you the XML and post this data into ECC using PI. We have a RFC written in ECC side to post the data in ECC.
    Please help me to identify the adaptor's needed and what should I need to do to initiate the process from ECC.
    Would it be a Async or Sync process ?
    I would really appreciate the inputs.
    Thanks.
    Gaurav.

    Hi,
         Any particular reason that you want to go for a sync process as then you would need to either use a BPM (RFC to BPM where you use sync/async bridge to get the xml file from the specified link and then send the response back to ECC) or go for a synchronous Java proxy on the receiver side which will grab the exchange rates and then map back to the RFC response structure. In this case, you can avoid the BPM.
    Else, as mentioned in Michal's blog, you can break it up into 2 seperate scenarios. RFC/Proxy to File and then File to IDoc/RFC/Proxy which will get the exchange rates into ECC.
    Another option can be Proxy --> PI --> ECC(IDoc/Proxy/RFC). Here you can grab the exchange rates from the link in your message mapping through a UDF.
    Regards

  • [webdynpro] How to get the data from database and store in Excel sheet

    Hi All-
    I am developing an application in Webdynpro and I need to provide a URL ( link ) which if clicked , need to collect the data from Database ( SQL Server ) and puts in an Excel Sheet corresponding fields and opens the sheet.....
    Please look into this issue and help me out......
    Regards,
    Cris

    Hi Cris,
    Add-on to wat santosh has pointed to:
    Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
    (Or) If you have implemented your logic to get Database records below Blog should guide you in opening an excel with ur records.
    Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
    Regards,
    N.

  • How do i move the data from Apple ID to iCloud

    Hi,
    i know that you can't merge Apple ID's and iCloud ID's but what I would like to do is move the data from one to another and by data I mean my contacts and calendars without loosing them.
    What I did so far was to signout from my iCloud ID into my mac to log in into the Apple ID so all could be sync to the Apple ID but it didn't as soon as I logged out the data where lost ! (Calendar, Contacts...)
    What processs can I use to save those data so i can move to Apple ID only ? any idea or suggestions ?
    Thanks

    Before you can move data from one account to another, you need to log into both accounts at the same time. Log into one of the accounts as a secondary account in system preferences > mail, contacts and calendars. Contacts can be moved by dragging from one account to another, calendars will need to be exported and re-imported.

  • Reading the data from XML Source

    Hi
    i want to read the data from XML source file, and update the transaction information to another XML file. how we can do this in ADF, please help
    Thanks
    nidhi

    you may use normal Java API to do that
    http://www.javablogging.com/read-and-write-xml/

  • KE30 is not picking the data from summarization level

    Hi Techies,
    We are facing one issue in KE30 tcode.
    We are able to run the same report in our QLTY, its showing "Data is getting fetched the data from summarization level 33" and we can see the output within 5 mins, But if we use same parameters in PRO, its showing "Data is getting fetched from segment level".
    So we are not getting data in PRO, its throwing TIME_OUT error....
    Request you to suggest how we can map these summarization level to the particular report.
    *We have already rebuilt and refreshed the summarization levels, then also it is being picked from segment level.
    Thanks in advance,
    NIck Loy

    Hi,
       In KE30 right click on the report. Click on change. Go to the options tab. In the performnace block check if radio button "use a summarization level" is selected.
      If the customizing is correct then the select stamenet generated by the report may not be in sync with the summ level i.e. the chars in the selection of the report must be there in the summ level.
    regards
    Waman

  • Extract the data from SQL Server and Import into Oracle

    Hi,
    I would like to run a daily job that will export the table data from SQL server table (it will be only one or two table) and Import back into Oracle table (it might one or two table tables).
    Could you please guide me that how can i do this using either sql server or oracle?
    We have oracle 9.2 and sql server 2005.
    Normally i do from flat file which is generated by source destination nand i dump into oracle using sql*loader but this time I have to directly extract/export the data from MS Sql server and load into Oracle table, mostly it will reload so i might doing any massaging data during the load.
    If you show me the detail approach, it will be really appreciated.
    I have access to Sql server but i don't how to use sql server to do this or using oracle as a daily job even becuase have to schedule the job for this as it will be a daily job.
    Thanks,
    poratips

    Unless you can find an open source ODBC driver for SQL Server that runs on Solaris (and I wouldn't be overly hopeful there) Heterogeneous Services would require that you license something-- a third party ODBC driver, a new Oracle instance, or an Oracle Transparent Gateway.
    As I stated below, you could certainly use SQL Server's ETL tool, DTS. Oracle's ETL tools would require additional licensing since you're just on 9.2. You could also write a small application (Java or otherwise) that connected to both databases and transferred the data. If you're particularly enterprising, you could load the SQL Server Type 4 JDBC driver into Oracle's JVM and write a Java stored procedure that connected to the SQL Server database via JDBC, but that's a pretty convoluted approach.
    Justin

  • Query on loaded the data from ECC to BI

    Hello Bw guys,
                               I kept one responsibility in my resume as Loaded the data from ECC to BI and used intialization with delta update and full update methods.What does it means? Can u please help me out?
    Thanks
    Amarnath K

    Very simple.
    This is somewhat like how you updated your resume by transfering from another and did a fake update to your resume.
    The difference is ECC does that using a authorized route to update it in BI.
    PS:If you have provided the client name you are going to join it will be easy for us to explain to them directly.
    ~Andrew
    Edited by: Andrew J on Dec 18, 2009 3:44 PM

  • Error encountered while collecting the data from JMS topic bus

    Iam encountering a problem while collecting the data from JMS topic bus and pushing the data to BAM.On the DesignStudio window, after I click on “update” button in the plan window to run the plan I get the following exception messages:
    IMessageSourceReceiver->messageReceive:
    javax.naming.CommunicationException: Connection refused: connect
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at
    com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at
    iteration.enterpriselink.sources.JMSConsumer.start(JMSConsumer.java:85)
         at
    iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.jmsConsumerS
    tart(JMSMessageSourceReceiverImpl.java:1001)
         at
    iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.messageRecei
    ve(JMSMessageSourceReceiverImpl.java:326)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at
    java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:426)
         at java.net.Socket.connect(Socket.java:376)
         at java.net.Socket.<init>(Socket.java:291)
         at java.net.Socket.<init>(Socket.java:147)
         at
    com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnecti
    on.java:682)
         at
    oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSoc
    ketRmiTransport.java:58)
         at
    oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java
    :78)
         at
    oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTr
    ansport.java:68)
         at
    com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.ja
    va:646)
         at
    com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientCon
    nection.java:190)
         at
    com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.jav
    a:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 5 more
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3A]
    Error during Message Receive operation.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3B]

    The error msg says that your BAM server cannot connect to your JMS provider. Make sure your configs are all ok, in EL DesignStudio, BAMArchitect EMSdefinition, etc. You can refer to the samples and technotes and tutorials to understand these details. If you are following the steps in the technote etc. pl verify your oc4j container is running, and oc4j version and 'jndi path' is ok. Give the doc name, pg number and step where you are getting this error.

  • Download to Excel - I need to put button to get data from iView to excel

    Can anyone help me by telling an easy way to download the contents of iViews to Excel. As the fields are in different Nodes and components I am not able to get all the fields in standard application. Is there any easy approach to download the data from iview itself? Please help me on this.

    Hi Simon,
    Thanks a lot for the solution.
    But the problem I have is : I have put a button on Excel to download, on click of button the RFC is triggered and data will be pulled for download. But I need the data from iview with out database intraction as it has been already fetched to display in iView so the data must be stored some in portal. As far as I have analysed I found that fields are from different Components so when I go for all fields it is almost like complete customization which is not recommended, I need a data pool where the data is available so that I can download all at a strech. Is it possible to download the iview as such.

  • What files do I need to copy to move iCal data from an old hdd?

    I have recently recovered the data from a broken hdd and want to reinstall my iCal data on my new hdd. I have copied 'user/library/application suport/ical', 'user/library/preferences/com.apple.ical.plist' and 'user/lbrary/calendars' from my old hdd to my new one but iCal still start up empty – without my old calendar data. Are there still some files I need to copy?

    joshuamilkins wrote:
    i have native instruments komplete on my powermac g5 and i want to transfer it to my macbook pro but what files do i need to copy
    I strongly recommend you check in Native Instruments and confirm whether your version is even going to run. This is not always necessary, but in your specific case, you're trying to migrate software running on a G5 (PowerPC CPU) to a MacBook Pro (Intel CPU). There is a pretty good chance that if you copied over your files, or even if you installed from the original media, the software might not run and might not even install on a MacBook Pro because it uses an Intel CPU. If the version on your G5 does not support Intel processors at all, you will have to upgrade the software.
    This is much different than the situation with the current Macs and apps from the Mac App Store, where migration is very simple and could be done manually by dragging the single self-contained app file over with essentially zero risk. But you're working with an application built a half a decade ago.

Maybe you are looking for