Reschedule an outlook meeting in SAP ABAP

Hi experts,
I have written a program to send meeting request from sap to outlook, but now my requirement is to reschedule the same meeting request which i have sent, for ex: suppose i have send a meeting request before dated on 27th jun 2014 and time: 4:30pm and now i want to reschedule the same meeting at 6:30pm.
Please tell me how can i do it ?? or give me any piece of code which i can use.
Regards,
Aayush

I send you the code of a function module ZVC_NOTIFY_APPOINTMENT that changes an appointment. Function receives the iCalendar method in parameter I_METHOD (in your case, REQUEST).
Obviously, as you know, the code may not suit 100% to your specific needs because the exact business scenario may require more or less functionality.
Hope it helps.
FUNCTION zvc_notify_appointment.
*"*"Módulo funciones actualiz.
*"*"Interfase local
*"  IMPORTING
*"     VALUE(I_CONTACT_DATA) TYPE  VBKA
*"     VALUE(I_SEQNR) TYPE  SC_SEQNR OPTIONAL
*"     VALUE(I_METHOD) TYPE  CHAR20
INCLUDE <cntn01>.
TYPE-POOLS: sccon.
DATA lo_appointment TYPE REF TO cl_appointment.
DATA lt_text TYPE so_txttab.
DATA ls_text LIKE LINE OF lt_text.
DATA: lv_message TYPE bcsy_text,
lv_send_result TYPE c,
lo_receiver TYPE REF TO if_recipient_bcs,
lo_email TYPE REF TO cl_bcs, lt_attachment TYPE soli_tab,
lo_document TYPE REF TO cl_document_bcs, lx_exception TYPE REF TO cx_bcs.
DATA: lwa_contacto TYPE scgenappt,
l_inter      TYPE kunnr,
l_intertxt   TYPE name1_gp,
lit_txtbody  TYPE so_txttab.
DATA: lit_lines TYPE TABLE OF tline,
lwa_lines TYPE tline.
DATA:l_id LIKE  thead-tdid,
l_name     LIKE  thead-tdname,
l_object   LIKE  thead-tdobject.
DATA l_stamp TYPE string.
DATA l_sequence(4) TYPE c.
DATA ls_appt_data TYPE scsappt.
" DATA:wa_email LIKE t_email.
DATA: lv_row TYPE so_text255,
lv_cnt_nn TYPE n LENGTH 2,
lv_blank_tt TYPE c LENGTH 2 VALUE '',
lv_date_from TYPE sc_datefro,
lv_time_from TYPE sc_timefro, lv_date_to TYPE sc_dateto,
lv_time_to TYPE sc_timefro.
DATA:l_subject TYPE sood-objdes,
l_auxinter(10),
l_auxclase(20),
l_idcontac(4).
DATA lv_appt_guid_str TYPE string.
DATA lv_appt_guid TYPE sc_appguid.
" Register date
DATA l_reg_date TYPE datum.
DATA l_pernr TYPE pernr_d.
DATA: l_uname      LIKE pa0105-usrid,
l_uname12    LIKE pa0105-uname.
DATA l_email TYPE text40.
DATA l_appt_id TYPE sc_genappt.
DATA l_exit_info TYPE sc_exitinf.
DATA lv_org_mail TYPE adr6-smtp_addr.
DATA:lo_sender TYPE REF TO if_sender_bcs.
CONSTANTS: c_parvw TYPE parvw VALUE 'ZM',
c_posnr TYPE posnr VALUE '000000'.
CLEAR lv_message.
" Get appointment data from DDBB
l_exit_info = i_contact_data-vbeln.
SELECT SINGLE genappt_id
FROM scgenappt
INTO l_appt_id
WHERE exit_info EQ l_exit_info.
CHECK sy-subrc EQ 0.
CREATE OBJECT lo_appointment
EXPORTING
internal_id = l_appt_id.
CALL METHOD lo_appointment->get_guid
RECEIVING
guid = lv_appt_guid.
*  CALL METHOD lo_appointment->get_date
*    IMPORTING
*      date_from = lv_date_from
*      time_from = lv_time_from
*      date_to   = lv_date_to
*      time_to   = lv_time_to.
" Only send notification if appointment date
" is not before creation / modification date.
lo_appointment->get_data( IMPORTING appointment_data = ls_appt_data ).
*  IF ls_appt_data-change_dat IS NOT INITIAL.
*    l_reg_date = ls_appt_data-change_dat.
*  ELSE.
*    l_reg_date = ls_appt_data-entry_dat.
*  ENDIF.
*  CHECK l_reg_date LE lv_date_from.
*  lv_appt_guid_str = lv_appt_guid.
TRY.
lv_row = 'BEGIN:VCALENDAR'.
lv_cnt_nn = STRLEN( lv_row ).
CONCATENATE '0' lv_cnt_nn lv_blank_tt lv_row INTO lv_row RESPECTING BLANKS.
APPEND lv_row TO lt_attachment.
CLEAR lv_row.
lv_row = 'VERSION:2.0'.
lv_cnt_nn = STRLEN( lv_row ).
CONCATENATE '0' lv_cnt_nn lv_blank_tt lv_row INTO lv_row RESPECTING BLANKS.
APPEND lv_row TO lt_attachment.
CLEAR lv_row.
CONCATENATE 'METHOD:' i_method INTO lv_row.
lv_cnt_nn = STRLEN( lv_row ).
CONCATENATE '0' lv_cnt_nn lv_blank_tt lv_row INTO lv_row RESPECTING BLANKS.
APPEND lv_row TO lt_attachment.
lv_row = 'BEGIN:VEVENT'.
lv_cnt_nn = STRLEN( lv_row ).
CONCATENATE '0' lv_cnt_nn lv_blank_tt lv_row INTO lv_row RESPECTING BLANKS.
APPEND lv_row TO lt_attachment.
CLEAR lv_row.
lv_row = 'UID:'.
CONCATENATE lv_row l_appt_id INTO lv_row.
lv_cnt_nn = STRLEN( lv_row ).
CONCATENATE '0' lv_cnt_nn lv_blank_tt lv_row INTO lv_row RESPECTING BLANKS.
APPEND lv_row TO lt_attachment.
IF i_seqnr IS NOT INITIAL.
l_sequence = i_seqnr.
ELSE.
l_sequence = ls_appt_data-sequence.
ENDIF.
CLEAR lv_row.
CONCATENATE 'SEQUENCE:' l_sequence INTO lv_row.
CONDENSE lv_row NO-GAPS.
lv_cnt_nn = STRLEN( lv_row ).
CONCATENATE '0' lv_cnt_nn lv_blank_tt lv_row INTO lv_row RESPECTING BLANKS.
APPEND lv_row TO lt_attachment.
CLEAR:lv_row.
" Build timestamp with current time
CLEAR l_stamp.
CONCATENATE 'DTSTAMP:' sy-datum(4) sy-datum+4(2) sy-datum+6(2) 'T' sy-uzeit 'Z' INTO l_stamp.
lv_row = l_stamp

Similar Messages

  • Add Voting buttons in MS Outlook from SAP ABAP program

    I have a requirment where SAP ABAP program will send an email.
    I need to have the voting buttons (yes/no) in the email. It does not have to be in the content of the email but the typically voting buttons that we can add to the MS Outlook email.
    If there is someone who can give me the steps and documentations, greatly appreciate.
    The main critieria is that it has to be MS outlook.

    Hi,
    here is the solution i think.
    INCLUDE ole2incl .
    DATA: ole_outlook  TYPE ole2_object,
          ole_CItem    TYPE ole2_object,
          ole_body      TYPE string.
      CREATE OBJECT ole_outlook 'Outlook.Application'.
      CALL METHOD OF ole_outlook 'CreateItem' = ole_CItem
        EXPORTING #1 = 0.
      SET PROPERTY OF ole_CItem 'To' = 'receiver @ mail.com'.
      SET PROPERTY OF ole_CItem 'Subject' = 'E-mail Title'.
      CALL METHOD OF ole_CItem 'Display'.
      CONCATENATE ole_body
                  'Dear Sir/Madam,'
                  cl_abap_char_utilities=>newline
                  cl_abap_char_utilities=>newline
        INTO ole_body.
    SET PROPERTY OF ole_CItem 'Body' = ole_body.
    CALL METHOD OF ole_CItem 'ATTACHMENTS' = ATTS.
    CALL METHOD OF ATTS 'ADD'
    EXPORTING #1 = 'C:\File_Location\File_name.extension'.
    SET PROPERTY  OF ole_CItem 'VotingOptions' = 'Yes;No'.
    FREE OBJECT ole_outlook.
    *you can replace the voting option to what you want, for example 'Yes;No' or 'Approve;Reject'.

  • Outlook meeting request

    Hi all,
    Is it possible to send mail as the outlook meeting request in webdynpro ABAP?

    Hi,
    I tried this, but when i check in SOST transaction it shows as.
    015  BEGIN:VCALENDAR
    028  PRODID:-//SAP AG//R/3-701//E
    011  VERSION:2.0
    007  METHOD:
    012  BEGIN:VEVENT
    075  ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;ROLE=REQ-PARTICIPANT;CN="xxx
    035   zzz":MAILTO:xxx
    039  ORGANIZER:MAILTO:xxx
    024  DTSTART:20100217T170315Z
    022  DTEND:20100217T170315Z
    017  LOCATION:Location
    050  UID:4B780DCCF5F01C41E10000000AC8332B
    016  STATUS:CONFIRMED
    024  DTSTAMP:20100217T113318Z
    039  SUMMARY:This is the Appointment Subject
    017  CATEGORIES:Absent
    024  CREATED:20100217T113318Z
    010  SEQUENCE:0
    013  TRANSP:OPAQUE
    010  PRIORITY:5
    012  CLASS:PUBLIC
    052  DESCRIPTION:This is the Body Text of the Appointment
    010  END:VEVENT
    013  END:VCALENDAR
    Is there any other transaction code to check this?

  • Outlook Meeting Attachments in e-mail Campaigns

    Hi,
    I have been asked to provide the functionality so that when an e-mail campaign is executed, to have an Outlook meeting icon sent with the e-mail to put the item in the recipients Calendar.
    This is assuming the recipient uses MS Exchange of course.
    Has anyone done anything similar to this? Is it even possible?
    Thanks
    David

    Hi David
    have a look to the SAP- Produkt Groupware - Mapbox.
    This can replicate Data to Outlook, for excample meetings in the calendar.
    We use this feature, but we have a lot of problems.
    Perhaps this solve your problem.
    regards
    Torsten

  • SAP ABAP market

    Hi all,
    How will be the SAP-ABAP market in the coming 6 months in India.Any SAP-ABAP projects are going on in India. pls let me know? because i am planning to come to India. and How is HR-ABAP Market in India
    Edited by: Vijay Babu Dudla on Jan 25, 2009 4:58 AM
    Moved to Coffee Corner

    Hi,
    ABAP market is good, a bit tired after the weekend, but getting better. You can give him a call, 1800-market.
    I guess he already started, he had a meeting early this morning.
    Hope this is needful enough.
    Regards,
    Diego

  • Whats the important of "  table-type  " in sap abap?

    hi,
    i am ahmed. abap fresher.
    i want to what use and importance of table-type in sap abap which comes in      
                         datadictionary
                                V               
                        data types
    V----
    V                         V                                 V
    data element       structure                   table type
    i want to know about table type. plz give a brief idea.
    bye.

    hi,
    Transparent Tables
    A transparent table in the dictionary has a one-to-one relationship with a table in the database. Its structure in R/3 Data Dictionary corresponds to a single database table. For each transparent table definition in the dictionary, there is one associated table in the database. The database table has the same name, the same number of fields, and the fields have the same names as the R/3 table definition. When looking at the definition of an R/3 transparent table, it might seem like you are looking at the database table itself.
    Transparent tables are much more common than pooled or cluster tables. They are used to hold application data. Application data is the master data or transaction data used by an application. An example of master data is the table of vendors (called vendor master data), or the table of customers (called customer master data). An example of transaction data is the orders placed by the customers, or the orders sent to the vendors.
    Transparent tables are probably the only type of table you will ever create. Pooled and cluster tables are not usually used to hold application data but instead hold system data, such as system configuration information, or historical and statistical data.
    Both pooled and cluster tables have many-to-one relationships with database tables. Both can appear as many tables in R/3, but they are stored as a single table in the database. The database table has a different name, different number of fields, and different field names than the R/3 table. The difference between the two types lies in the characteristics of the data they hold, and will be explained in the following sections.
    Table Pools and Pooled Tables
    A pooled table in R/3 has a many-to-one relationship with a table in the database (see Figures 3.1 and 3.2). For one table in the database, there are many tables in the R/3 Data Dictionary. The table in the database has a different name than the tables in the DDIC, it has a different number of fields, and the fields have different names as well. Pooled tables are an SAP proprietary construct.
    When you look at a pooled table in R/3, you see a description of a table. However, in the database, it is stored along with other pooled tables in a single table called a table pool. A table pool is a database table with a special structure that enables the data of many R/3 tables to be stored within it. It can only hold pooled tables.
    R/3 uses table pools to hold a large number (tens to thousands) of very small tables (about 10 to 100 rows each). Table pools reduce the amount of database resources needed when many small tables have to be open at the same time. SAP uses them for system data. You might create a table pool if you need to create hundreds of small tables that each hold only a few rows of data. To implement these small tables as pooled tables, you first create the definition of a table pool in R/3 to hold them all. When activated, an associated single table (the table pool) will be created in the database. You can then define pooled tables within R/3 and assign them all to your table pool (see Figure 3.2).
    Pooled tables are primarily used by SAP to hold customizing data.
    When a corporation installs any large system, the system is usually customized in some way to meet the unique needs of the corporation. In R/3, such customization is done via customizing tables. Customizing tables contain codes, field validations, number ranges, and parameters that change the way the R/3 applications behave.
    Some examples of data contained in customizing tables are country codes, region (state or province) codes, reconciliation account numbers, exchange rates, depreciation methods, and pricing conditions. Even screen flows, field validations, and individual field attributes are sometimes table-driven via settings in customizing tables.
    During the initial implementation of the system the data in the customizing tables is set up by a functional analyst. He or she will usually have experience relating to the business area being implemented and extensive training in the configuration of an R/3 system.
    Table Clusters and Cluster Tables
    A cluster table is similar to a pooled table. It has a many-to-one relationship with a table in the database. Many cluster tables are stored in a single table in the database called a table cluster.
    A table cluster is similar to a table pool. It holds many tables within it. The tables it holds are all cluster tables.
    Like pooled tables, cluster tables are another proprietary SAP construct. They are used to hold data from a few (approximately 2 to 10) very large tables. They would be used when these tables have a part of their primary keys in common, and if the data in these tables are all accessed simultaneously. The data is stored logically as shown in Figure 3.3.
    Figure 3.3 : Table clusters store data from several tables based on the primary key fields that they have in common.
    Table clusters contain fewer tables than table pools and, unlike table pools, the primary key of each table within the table cluster begins with the same field or fields. Rows from the cluster tables are combined into a single row in the table cluster. The rows are combined based on the part of the primary key they have in common. Thus, when a row is read from any one of the tables in the cluster, all related rows in all cluster tables are also retrieved, but only a single I/O is needed.
    A cluster is advantageous in the case where data is accessed from multiple tables simultaneously and those tables have at least one of their primary key fields in common. Cluster tables reduce the number of database reads and thereby improve performance.
    For example, as shown in Figure 3.4, the first four primary key fields in cdhdr and cdpos are identical. They become the primary key for the table cluster with the addition of a standard system field pageno to ensure that each row is unique.
    Reward if helpful
    Jagadish

  • When sap abap market is going to start

    hello
    can anybody tell that how is sap abap market? when it is going to start?

    Hi,
    ABAP market is good, a bit tired after the weekend, but getting better. You can give him a call, 1800-market.
    I guess he already started, he had a meeting early this morning.
    Hope this is needful enough.
    Regards,
    Diego

  • MS Outlook integration with SAP CE

    Hi
    We have a requirement to be able to show the MS Outlook emails from SAP CE 7.2.
    Is there a standard guide to configure this?
    My understanding is that this integration is not possible in CE 7.2 as Collaboration is more of NW04s feature.
    Also, could anyone elaborate the scope of the tab for SAPOfficeMails in the UWL tasklist of SAP 7.2 .
    My belief is that it's only meant to show mails for the Business workflow(ABAP workflows), would be glad to know if someone tells me I AM WRONG
    We have a Use Case to use the full blown functionality(new features like Notification,Event Triggers) of CE 7.2 but this is another requirement which I am struggling to deal with.
    Help on this regard would be appreciated.
    Regards
    Navneet
    Edited by: Navneet Giria on Jul 16, 2010 11:30 AM

    Hi Navneet,
    if those features are supported in the NW04s version of the UWL they should also work in the CE 7.2 UWL.
    Regards,
    Christian

  • Deletion / Cancellation of MS Outlook Appointments by using ABAP

    Hi all,
    I am trying to send a cancellation of a MS Outlook Appointment using ABAP. The invitation was send sometimes before by using ABAP.
    I found this thread Deleting or Updating Appointment in outlook from ABAP Print workbench and the PDF that is linked in the last post, but it does not work.
    I receive a mail with a calendar file that offers the oppertunity to "Remove from calendar". But if I push this button, there is no change in my calendar. The appointment still exists in my calendar.
    Does anyone have an idea what may be going wrong? Or are there other possibilities to cancel a MS Outlook Appointment by using ABAP?
    Thanks in advance.
    Kind Regards,
    Guenter

    Hi,
    this is not an ABAP issue, that's an iCalendar/MS Outlook issue. Play around the .ICS file generated to see what is wrong (no need to complicate with ABAP). I recommend you to also test with another .ICS file to add the appointment, you duplicate it and change the status to CANCELLED.
    See also ICalendar standard: http://tools.ietf.org/html/rfc5545
    Sandra
    Edited by: Sandra Rossi 5 minutes later : ALSO check the latest SAP notes

  • How to log in to the new installed SAP ABAP instance ?

    Dear Experts,
    In SAP ERP 2005 installation,
    I have done central system installation, Now I need to perform postinstallation steps,
    Could you please tell me,  how to log in to the new installed SAP ABAP instance and do the post installation?
    Regards,
    Madhavan K

    Hi,
    Check the list of post installation steps:
    http://www.saptechies.com/post-installation-steps-for-ecc-60/
    From my point of view basic post installation steps are:
    - Installing SAP License (from http://service.sap.com/licensekeys)
    - Setup TMS  (STMS)
    - Import profiles (RZ10)
    - Client Copy (SCC*)
    - Create users (SU01)
    However further many steps are required as per your requirements. Cehck the link for more detailed steps.
    Regards,
    Srikishan

  • Where do i find daily posted question on sap abap and sap webdynpro abap

    Hi
    where do we find Daily posted questions on sap abap and sap webdynpro abap in scn sap  so that i can go through the questions and answer them .

    Hi,
    Go to the Content tab of any space and click on discussions. Then you can sort them by date created or any other
    For ex: This link for WDA discussions: - Web Dynpro ABAP
    You can also click on Receive email notifications for any space to get updates on that space.
    hope this helps,
    Regards,
    Kiran

  • Is SAP ABAP suitable w.r.t. my qualification and experience ? If NOT, which would be a suitable alternative ?

    Hello SAP Cummunity,
    I am very much interested in take up SAP course but like everyone very much confused. Firstly let me tell a brief about myself,
    - I have graduated in Bachelor of Engineering (Biotechnology)
    - After B.E., I took up PGDM (Marketing and Finance).
    - As my interest is more inclined towards Marketing, I took up job related to Sales.
    - Presently working for FMCG Sector as Sales Executive.
    Plz suggest me is SAP ABAP suitable for me ?

    Hi Harshith,
    There´re many SAP Certifications. You can read Frequently
    Asked Questions about SAP Certification, and browse The Training
    and Certification Shop Catalog. Find a list of currently valid certifications in the
    "By
    Role". section.
    Best regards,
    S.Saleem

  • Error in ABAP Mapping (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION)

    Hi ,
      Scenario:  Manually Purchase Order is created, automatically Sales Order should be created in the Target System through PI,
                       I have used Message Mapping which is working fine for single Customer and Vendor,
                       For Multiple Customers and Vendors i am using one ZTABLE, Only Message Mapping is not  sufficient to my requirement.
                      Now i am using both Message Mapping and   ABAP Mapping  at a time in Interface Mapping. I created the class and                done  the   development., whene  i run the scenario i am getting the error as below,
    *<SAP:Stack>Error in mapping program ZCL_SD_IDTO_POSO (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference</SAP:Stack>*
      *<SAP:Retry>M</SAP:Retry>*
      *</SAP:Error>* 
    Please let me know.
    Best Regards
    Vamsi

    Have u seen the ABAP mapping guide?
    Refer this series to the ABAP mapping section.https:///people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
    It will be very handy and useful.

  • Problem while fetching more records in SAP ABAP report program

    Hello Frinds,
    I have SAP ABAP report program which fetches data from usr02 table
    Now, program is working fine with less number of records, bot in production there are more than 200000 records and either report gets timed out or there is run time error like buffer area not available.
    Below is the fetch statement
    SELECT bname FROM usr02 INTO TABLE lt_user
    So, do I need to take records in small chunks, I do not think it is needed as I have worked on number of othere databases where there are number of records in single fetch statement and database itself take care of this.
    Please provide me some approach to resolve this problem.

    This will be very difficult for you.....
    Since you are getting a time out error....it looks like, you are runnning this report in foreground....................
    Try running it in background it will work...
    ELSE....you have to fetch in small chunks....but the question is how will you do it. Since the USR02 only has BNAME as primary key...
    Either put the BNAME as part of selection screen and fetch the data.....it will solve your problem....
    Only fetch for those BNAME which is entered in the selection screen...
    Hope it helps!

  • Nodes statement in payroll in SAP ABAP hr  Report

    hi,
      i am working in sap abap hr report for payroll.i am using nodes statement in that report.it is showing error that ""PERNR" is not a node of the logical database __S".how can i solve this error.in this report.          
    NODES pernr .
    INFOTYPES: 0000, 0001, 2001.
    TABLES: t554s, pcl1, pcl2.
    INCLUDE rpclst00.
    INCLUDE rpc2rx09.                      "Payroll results datadefns-Intl.
    INCLUDE rpc2rxx0.                      "Payroll results datadefns-Intl.
    INCLUDE rpc2rgg0.                      "Payroll results datadefns-GB
    INCLUDE rpcfdcg0.                      "Payroll results datadefns-GB
    INCLUDE rpcdatg0.
    INCLUDE rpc2cd00.                      "Cluster Directory defns.
    INCLUDE rpc2ps00.                      "Cluster: Generierte Schematas
    INCLUDE rpc2pt00.
    INCLUDE rpcfdc10.
    INCLUDE rpcfdc00.
    INCLUDE rpppxd00.
    INCLUDE rpppxd10.
    INCLUDE rpcfvp09.
    INCLUDE rpcfvpg0.
    INCLUDE rpppxm00.
    TYPES: BEGIN OF t_salrate,
        seqnr    TYPE pc261-seqnr,
        begda    TYPE p2001-begda,
        endda    TYPE p2001-endda,
        split(2) TYPE c,
        val      TYPE p DECIMALS 2,
       END OF t_salrate.
    DATA: it_salrate TYPE STANDARD TABLE OF t_salrate INITIAL SIZE 0,
          wa_salrate TYPE t_salrate.
    *Selection screen
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: so_awart FOR p2001-awart.
    SELECTION-SCREEN END OF BLOCK block1.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    GET pernr.
    get payroll results data
      rp-init-buffer.
      CLEAR rgdir. REFRESH rgdir.
      CLEAR rt. REFRESH rt.
      CLEAR: rx-key.
    set key to current pernr
      MOVE pernr-pernr(8) TO cd-key-pernr.
    retrieves payroll results for specific pernr(personnel number)
      rp-imp-c2-cd.
      IF rp-imp-cd-subrc = 0.                                "rgdir success
        rx-key-pernr = pernr-pernr.
        SORT rgdir BY seqnr ASCENDING.
        CLEAR rgdir.
      ENDIF.
      SORT rgdir BY fpbeg fpend ASCENDING seqnr DESCENDING.
    RGDIR the table where all payroll results periods are stored
      LOOP AT rgdir WHERE  abkrs IN pnpabkrs        "pay area
                      AND  srtza EQ 'A'
                      AND  void  NE 'V'.
        IF sy-subrc NE 0.
        set key to specific payroll results period(current RGDIR loop pass)
          UNPACK rgdir-seqnr   TO   rx-key-seqno.
        Retrieves data for specific payroll results period (current RGDIR
        loop pass)
          rp-imp-c2-rg.
        Loop at wpbp data for specific payroll results period
          LOOP AT wpbp.
            wa_salrate-seqnr = rgdir-seqnr.
            wa_salrate-begda = wpbp-begda.
            wa_salrate-endda = wpbp-endda.
            wa_salrate-split = wpbp-apznr.
          loop at rt data for specific payroll results period
            LOOP AT rt WHERE lgart EQ '/010' AND             "wage type
                             apznr EQ wpbp-apznr.            "payroll split
              wa_salrate-val = ( rt-betpe * ( wpbp-adivi / wpbp-kdivi ) ).
              APPEND wa_salrate TO it_salrate.
            ENDLOOP.
          ENDLOOP.
        Process BT table
          LOOP AT BT.
          ENDLOOP.
        Process NIPAY table
          LOOP AT NIPAY.
          ENDLOOP.
        etc................
        ENDIF.
      ENDLOOP.
    *END-OF-SELECTION.
    END-OF-SELECTION.

    Hi,
    Have you put a Logical Database in the attributes of the program that you have created ?
    Regards,
    Samson Rodrigues.

Maybe you are looking for

  • Advice on camera purchase

    A co-worker and myself may have the opportunity to do some filming for several projects. I have access to a Sony HDR-FX1 through my full time job but would like to get a P2 camera if these projects take off. I have heard good things about Panasonic A

  • Gdk-WARNING **: Error converting from UTF-8 to STRING

    I just installed Arch64 few days ago. In my old setup I was used to work with 2 softwares: Eclipse CDT and WingIDE. I tried to start these applications (they require java and python but they are binary releases) locally and I get this errors which I

  • Contains errors and distribution lock

    Hi all, We have a error as "contains error, distribution lock"(system status)in the status of the service confirmation. Document is in Open status and with this error any changes are not replicating to the r/3. This is the only one document with such

  • Can I place a html5 or flash video of a surfer in the header section?

    I have been asked to build a home page with a video of a surfer riding a wave at a fun surfing location. We think it would be cool for the web user to come to the home page and right away watch a surfer catching a wave and riding accross in the video

  • Closing a web page

    Easy one here - I've created a shockwave app that a client will have open in it's own browser window. When a user clicks an exit button within the shockwave app, I want the window it's playing in to close so they'll be taken back to whatever page the