Upload Functionality for creating Screens in SE51

Hi Experts,
I am working in 4.7
I successfully downloaded the screen from 4.6 into a text file but when i went to 4.7; upload functionality is disabled.
Is there any other way or  standard program available to create Screens in SE51 if we have downloaded files for the screen .>??
Thanks in Advance,
Harkamal

Thanks for ur reply ARS..
but in my case Upload is grayed out in case of this particular program even if I am creating a dummy screen
My program already exist in SE38 in 4.7 and i have to copy screen from 4.6 . So I was looking for some simple tool like UPload /Download ..
I dont know why Uplaod is inactive in case of this program
Thanks,
Harkamal

Similar Messages

  • ABAP Functions for creating vendor

    Hello,
    I would like to create a program for creating vendor automatically by uploading a text file, where the text file contain the vendor information.
    Can I ask are there any ABAP function for creating vendor? I have searched a function BAPI_VENDOR_CREATE, but I don't know how to use it.
    Can anyone give me some ideas?
    Many thanks
    Sunny

    Hi,
    BAPI_VENDOR_CREATE is a online BAPI which calls the XK01 screen internally. There wont be any import or export parameters for this BAPI. If you have to upload from a text file, you can try with either of the options
    1) Use the standard program RFBIKR00 to upload the vendor from the flat file. check the documentation of the report for details
    2) Create a BDC recording on XK01 and upload the vendor from the flat file
    Vikranth

  • Someone has a tutorial for creating screen exit?

    I have a development and I do not know how to create screen exit.
    Case Someone has a tutorial for creating screen exit please help me
    Thank you
    <b><i>Wagner Duarte
    Consultant - SAP ABAP</i></b>

    hI
    Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
    1. Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    Have a look at below link It will definately help you to undestand the same.
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    check these links.
    http://help.sap.com/saphelp_46c/helpdata/en/c8/1975e643b111d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/screen_exit.html
    USER EXITS
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=312792
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=1320078
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=2669896
    How to implement screen exit for a SAP standard transaction
    Introduction
    SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:
    An append structure in the database table with the new fields.
    A subscreen area into the standard screen – where the programmer can attach his subscreen of his own program with the new fields.
    A function group under which the new subscreen has to be created with the new fields.
    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen – so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.
    Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.
    Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.
    Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).
    Pre-Requisites
    The developer to work on screen exit should have essential knowledge on the following:
    DDIC concepts, including the knowledge of append structure.
    Concept of SAP Enhancements and implementing them using Projects.
    Concept of function exits.
    Knowledge on Module Pool – including subscreens, Tabstrip controls etc.
    Steps
    Guidelines
    So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:
    Find out the Required Enhancements
    Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton ‘SAP Applications’. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest – for e.g., Purchasing, Asset Accounting, etc.
    Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    Utilize the Enhancement in a Project
    After you have found one, do as directed in the documentation. Generally, the steps are as follows:
    Create a project using CMOD including your enhancement.
    Create the append structure with new fields.
    Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required.
    Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction.
    Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration.
    Activate the project.
    Test to ensure that required functionality are met.
    Case Study 1
    Add three new custom fields for Asset master and maintain information for them
    Requirement
    Three fields in the legacy system have to be maintained in Asset master. These fields are:
    Original Asset number – 20 characters
    Location 2 – 15 Characters.
    Model no – 20 characters
    Location 2 should start with ‘L’.
    Pre-Analysis
    Finding out the Enhancement
    As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):
    Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields
    Studying the Function Exits
    The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:
    EXIT_SAPLAIST_002
    Function module Level Documentation
    This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.
    Import Parameters
    Understanding
    This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.
    EXIT_SAPLAIST_003
    Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:
    Understanding
    This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.
    Studying the Documentation of the Enhancement
    The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.
    Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:
    Deciding the Final course of Action
    After making all the investigations, the final course of action was determined.
    SrlNo Step Justification
    A project has to be created using transaction CMOD where the enhancement AIST0002 will be included.
    Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen.
    A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be ‘CUST’ (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen.
    In the PAI of the subscreen, validation for Location to start with ‘L’ will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_002’, the following code will be written:-
    ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_003’, the following code will be written:-
    E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.
    Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done – otherwise, the new custom subscreen will not be displayed in the Asset master screens.
    Development
    Creating a Project to include the enhancement
    Go to transaction CMOD and create a project.
    Enter a description for the project. Then, click on the pushbutton ‘Enhancement Assignments’ in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to ‘Components’.
    Creating Custom Include for ANLU
    The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.
    Create the include structure with three new fields, as required. Then, save and activate it.
    Develop the subscreen and the program
    Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.
    Create it as subscreen.
    Then, go to the Layout of the screen and create three new fields from Database table ANLU.
    Drag the fields in the screen body and place them.
    Then, save and activate the screen and come back to screen flow editor.
    Create the PAI module to add validation for field “Location 2”, as required .
    Activate the whole function group and come out.
    Write code in the Function Exits to synchronize the programs
    Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.
    Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:
    Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.
    Then, activate everything – the whole project and come out.
    Complete the configuration to link the subscreen
    The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.
    Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.
    Here, the requirement is to create these three custom fields in the tab page ‘General’ of asset master screen ( AS01/AS02/AS03/AS91).
    Determine the Layout
    To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class ‘1000’ and click on folder ‘General Assignment of Layout’.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout ‘SAP’ cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.
    Create new tab layout
    Go to transaction AOLA. Copy the tab layout ‘SAP’ to create another layout, say, YSUB.
    System will copy all the settings and will inform you about that.
    Select your newly created layout and double-click on the folder ‘Tab page titles’.
    You want to put your custom fields in the tab page “General”. So, select this tab page entry and double-click on the folder "Position of Groups".
    Here, all the field groups currently residing in the tab-page “General” are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with “U” padded with the custom subscreen prepared by you.
    Then, save and come out.
    Assign the new Layout to Asset Class
    Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.
    Save and come out.
    Test the Exit
    Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to them…save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.
    Original Source: ittoolbox.com
    Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
    1. Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    and you just go through these links also
    Screen exit
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    screen-exits
    Check the following link.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20find%20screen%20exits&cat=sdn_all

  • Unable to find partner function for SPL screening

    Hi Guys
    We are trying out the SPL functionality for our Client, We are in the Preliminary stages and have just started the Intial Configuration
    The problem comes is the Document in ECC is getting blocked and is working as per functionality
    But when in come in the GTS system and check the Documents via (SPL > Display all Documents) in the overview menu, and go ahead and check the Log, it shows an error stating
    "Unable to find partner function for SPL screening"
    I have checked the configuration and The partner structure, Functions and Assignment are all done
    Can the experts help in getting a small checklist which I should do a check through in the configuration/user side, which can trigger this error message?
    Thanks
    Regards
    Carl Ray

    Hi Carl,
    Did you load the SPL List for Screening? Prior to SPL Screening, we have to create Index for SPL Screening. Please follow the following steps and then re-check the document
    SAP GTS Area Menu (/SAPSLL/MENU_LEGAL) -> Sanctioned Party List Screening -> Master Data. Perform the below steps in sequence.
    Step 1: Reset Buffer
    Step 2: Generate Comparison Terms
    Step 3: Aggregate Comparison Terms
    Step 4: Comparison terms for Business partners
    After doing the above steps, then do the following step
    SAP GTS Area Menu (/SAPSLL/MENU_LEGAL) -> Sanctioned Party List Screening -> Logistics -> Check against updated Sanctioned Party Lists -> Check Business partner addresses
    After performing the above steps, then re-check the document.
    Let me know if the above solution help or not
    Regards
    Pradeep

  • Standard ABAP functions for creating events?

    Hi,
    I'm a little bit confused which ABAP functions to use for creating academic events with schedules (e.g. lecture takes places each Friday at 4 pm), rooms and instructors attached.
    Data transfer documentation SAP team recently released ("SLCM Data Transfer" archive, "Intro" document, page 18) suggests <b>HRIQ_CREATE_EVENT</b> as a solution. However, after experimenting for a while, I noticed a note attached to this function that "DO NOT USE ANYMORE, USE <b>HRIQ_EVENT_CREATE</b>".
    So which one is the correct/recommended one? Also, if possible, I would prefer an RFC-enabled one.
    Thanks
    Janek

    Hi Janek,
    We've created a custom RFC enabled function module to wrap the SAP function module HRIQ_CREATE_EVENT in.  We are on a 4.7 system.  Here is our code.  Hope it helps.
    FUNCTION zcep_event_create .
    *"*"Local interface:
    *"  IMPORTING
    *"     VALUE(VTASK) TYPE  HRRHAP-VTASK DEFAULT 'V'
    *"     VALUE(EVENTPACKAGEID) TYPE  HROBJID
    *"     VALUE(ACAD_YEAR) TYPE  PIQPERYR
    *"     VALUE(ACAD_SESSION) TYPE  PIQPERID
    *"  TABLES
    *"      MEETING_PATTERN STRUCTURE  ZCEP_MEETINGPATTERN
    *"      EVENT STRUCTURE  ZCEP_EVENT
    *"      RETURN STRUCTURE  BAPIRET2
      DATA: is_schedule TYPE bapisched,
            schedule TYPE bapisched OCCURS 0 WITH HEADER LINE,
            capacity LIKE hri1024,
            wa_capacity LIKE hri1024 OCCURS 0 WITH HEADER LINE,
            location LIKE bapilocdat-locid OCCURS 0,
            new_event_package LIKE p1000 OCCURS 0 WITH HEADER LINE,
            objid  LIKE hrrootob OCCURS 0 WITH HEADER LINE,
            parent LIKE hrhctobjc OCCURS 0 WITH HEADER LINE,
            eventid TYPE hrobjid,
            event_id_out LIKE bapievdat-eveid,
            lt_1739 TYPE TABLE OF p1739,
            ls_1739 TYPE p1739,
            ls_error_record TYPE bapiret2,
            ls_nnnn TYPE wplog,
            open_resources_exits TYPE xfeld.
      DATA:  it_1035 TYPE piq_p1035_t,
             it_pt_1035t TYPE piq_hrt1035_t,
             it_daysoff TYPE piq_pt1035_t,
             it_daysfree TYPE piq_pt1035_t,
             ls_daysfree TYPE pt1035,
             ls_1035t TYPE hrt1035.
      DATA: it_bapiresou TYPE TABLE OF bapiresou,
            is_bapiresou TYPE bapiresou,
            resources TYPE bapiresou OCCURS 0.
      DATA: it_pa0002 TYPE TABLE OF pa0002,
            is_pa0002 TYPE pa0002,
            it_hrp1000 TYPE TABLE OF hrp1000,
            is_hrp1000 TYPE hrp1000,
            lv_dayoff(1),
            bp(12),
            im_begda LIKE sy-datum,
            im_endda LIKE sy-datum,
            sobid LIKE hrp1001-sobid,
            event_counted_dates TYPE dayct,
            event_counted_hours TYPE hrsct,
            ndays TYPE p1035-ndays,
            nhours TYPE p1035-nhours.
      FIELD-SYMBOLS: <ls_1035t> LIKE LINE OF it_pt_1035t.
      CLEAR gt_error_record[].
      SORT event BY short.
      SORT meeting_pattern BY eventname.
    *************************  Get Calender Date  *************************
      SELECT SINGLE begda endda FROM hrt1750 INTO (im_begda,im_endda)
              WHERE peryr = acad_year
                AND perid = acad_session
                AND timelimit = '0100'.
    ***************************  Create Event  ****************************
      LOOP AT event.
        CLEAR resources.
        LOOP AT meeting_pattern WHERE eventname = event-short.
    *********************  Create Schedule for Event  *********************
          CALL FUNCTION 'HRIQ_EVENT_SCHEDULE_BUILD'
            EXPORTING
              plvar                = '01'
              istat                = '1'
              event_begda          = event-begda
              event_endda          = event-endda
              monday               = meeting_pattern-monday
              tuesday              = meeting_pattern-tuesday
              wednesday            = meeting_pattern-wednesday
              thursday             = meeting_pattern-thursday
              friday               = meeting_pattern-friday
              saturday             = meeting_pattern-saturday
              sunday               = meeting_pattern-sunday
              event_beguz          = meeting_pattern-start_time
              event_enduz          = meeting_pattern-end_time
              frequency            = '1'
              event_location       = meeting_pattern-location
            IMPORTING
              pt_1035              = it_1035
              pt_1035t             = it_pt_1035t
              pt_daysoff           = it_daysoff
              pt_daysfree          = it_daysfree
            EXCEPTIONS
              no_date_number       = 1
              frequency_is_initial = 2
              OTHERS               = 3.
          LOOP AT it_daysfree INTO ls_daysfree.
            CALL FUNCTION 'HRIQ_CHECK_MODULOFFER_DAYSOFF'
              EXPORTING
                iv_date             = ls_daysfree-evdat
              IMPORTING
                ev_dayoff           = lv_dayoff
              EXCEPTIONS
                otype_not_supported = 0
                OTHERS              = 0.
            IF lv_dayoff = space.
              MOVE-CORRESPONDING ls_daysfree TO ls_1035t.
              APPEND ls_1035t TO it_pt_1035t.
            ENDIF.
          ENDLOOP.
    * no double entries
          SORT it_pt_1035t.
          DELETE ADJACENT DUPLICATES FROM it_pt_1035t.
          DESCRIBE TABLE it_pt_1035t LINES event_counted_dates.
          CLEAR event_counted_hours.
          LOOP AT it_pt_1035t INTO ls_1035t.
            nhours = ( ls_1035t-enduz - ls_1035t-beguz ) / 3600.
            event_counted_hours = event_counted_hours + nhours.
            ADD 1 TO ndays.
          ENDLOOP.
          LOOP AT it_pt_1035t ASSIGNING <ls_1035t>.
            MOVE-CORRESPONDING <ls_1035t> TO schedule.
            APPEND schedule.
          ENDLOOP.
    *Room
          IF NOT meeting_pattern-room IS INITIAL.
            SELECT SINGLE short stext FROM hrp1000
                     INTO (is_hrp1000-short,is_hrp1000-stext)
                    WHERE plvar = '01'
                      AND istat = '1'
                      AND otype = 'G'
                      AND objid = meeting_pattern-room
                      AND begda LE sy-datum
                      AND endda GE sy-datum.
            SELECT SINGLE sobid FROM hrp1001 INTO sobid
                    WHERE otype = 'G'
                      AND plvar = '01'
                      AND istat = '1'
                      AND relat = '020'
                      AND rsign = 'A'
                      AND sclas = 'R'
                      AND objid = meeting_pattern-room
                      AND begda LE im_endda
                      AND endda GE im_begda.
            IF sy-subrc = 0.
              is_bapiresou-retid = sobid(8).
            ENDIF.
            LOOP AT it_pt_1035t ASSIGNING <ls_1035t>.
              is_bapiresou-resht = is_hrp1000-short.
              is_bapiresou-resxt = is_hrp1000-stext.
              is_bapiresou-resbg = <ls_1035t>-evdat.
              is_bapiresou-resed = <ls_1035t>-evdat.
              is_bapiresou-beguz = meeting_pattern-start_time.
              is_bapiresou-enduz = meeting_pattern-end_time.
              is_bapiresou-resid = meeting_pattern-room.
              is_bapiresou-restp = 'G'.
              APPEND is_bapiresou TO resources.
            ENDLOOP.
          ENDIF.
    * Instructor
          IF NOT meeting_pattern-instructor IS INITIAL.
            SELECT SINGLE nachn vorna FROM pa0002
                     INTO (is_pa0002-nachn, is_pa0002-vorna)
                    WHERE pernr = meeting_pattern-instructor
                      AND begda LE im_endda
                      AND endda GE im_begda.
    **************************  Meeting Pattern  **************************
            SELECT SINGLE objid INTO is_bapiresou-retid FROM hrp1000
                    WHERE plvar = '01'
                      AND langu = 'E'
                      AND otype = 'R'
                      AND mc_short = 'INST-CM'
                      AND begda LE im_endda
                      AND endda GE im_begda.
            LOOP AT it_pt_1035t ASSIGNING <ls_1035t>.
              is_bapiresou-resht = is_pa0002-nachn.
              CONCATENATE is_pa0002-vorna is_pa0002-nachn
                     INTO is_bapiresou-resxt
                SEPARATED BY space.
              is_bapiresou-resbg = <ls_1035t>-evdat.
              is_bapiresou-resed = <ls_1035t>-evdat.
              is_bapiresou-beguz = meeting_pattern-start_time.
              is_bapiresou-enduz = meeting_pattern-end_time.
              is_bapiresou-resid = meeting_pattern-instructor.
              is_bapiresou-restp = 'P'.
              APPEND is_bapiresou TO resources.
            ENDLOOP.
          ENDIF.
        ENDLOOP.
        wa_capacity-kapz1 = event-mincapty.
        wa_capacity-kapz2 = event-optcapty.
        wa_capacity-kapz3 = event-maxcapty.
        capacity = wa_capacity.
        CALL FUNCTION 'HRIQ_CREATE_EVENT'
          EXPORTING
            planversion     = '01'
            event_id_in     = '00000000'
            event_short     = event-short
            event_stext     = event-stext
            status          = '1'
            begin_date      = event-begda
            end_date        = event-endda
            language        = sy-langu
            eventtype       = event-betype
            capacity        = capacity
            location        = meeting_pattern-location
            check_resources = ' '       "'X'
            vtask           = 'B'
          IMPORTING
            event_id_out    = event_id_out
          TABLES
            schedule        = schedule
            resources       = resources
            return          = return.
        IF sy-subrc NE 0.
          CALL FUNCTION 'HRIQ_CLEAR_BUFFER'.
          CALL FUNCTION 'HRIQ_CLEAR_PLOG_TAB'.
          return-type = 'E'.
          return-message = 'Error during save'.
          APPEND return.
        ENDIF.
        LOOP AT return WHERE id = 'HRPIQ000'
                         AND number = '846'.
          return-type = 'E'.
          return-message = 'Resources already in use'.
          APPEND return.
          EXIT.
        ENDLOOP.
    **********************  Create Session offering  **********************
        MOVE-CORRESPONDING ls_nnnn TO ls_1739.
        ls_1739-mandt = sy-mandt.
        ls_1739-plvar = '01'.
        ls_1739-otype = 'E'.
        ls_1739-objid = event_id_out.
        ls_1739-istat = '1'.
        ls_1739-begda = event-begda.
        ls_1739-endda = event-endda.
        ls_1739-aedtm = sy-datum.
        ls_1739-uname = sy-uname.
        ls_1739-infty = '1739'.
        ls_1739-peryr = acad_year.
        ls_1739-perid = acad_session.
        APPEND ls_1739 TO lt_1739.
        PERFORM create_infotype USING lt_1739
                             CHANGING ls_error_record .
        APPEND ls_error_record TO return.
        READ TABLE return  WITH KEY type = 'E'.
        IF sy-subrc <> 0 AND vtask = 'V'.
          CALL FUNCTION 'HRIQ_UPDATE_DATABASE'
            EXPORTING
              vtask          = 'D'
              commit_flg     = 'X'
            EXCEPTIONS
              corr_exit      = 1
              internal_error = 2
              OTHERS         = 3.
          IF sy-subrc NE 0.
            CALL FUNCTION 'HRIQ_CLEAR_BUFFER'.
            CALL FUNCTION 'HRIQ_CLEAR_PLOG_TAB'.
            return-message = 'Error during save'.
            APPEND return.
          ENDIF.
        ELSE.
          CALL FUNCTION 'HRIQ_CLEAR_BUFFER'.
          CALL FUNCTION 'HRIQ_CLEAR_PLOG_TAB'.
          EXIT.
        ENDIF.
    *********************  Create Relationship(E-SE)  *********************
        parent-objid = event_id_out.
        parent-otype = 'E'.
        APPEND parent.
        PERFORM create_relation TABLES parent
                                 USING 'B512'
                                       'SE'
                                       event-begda
                                       event-endda
                                       eventpackageid
                              CHANGING ls_error_record.
      ENDLOOP.
      IF vtask = 'V' AND ls_error_record IS INITIAL.
        PERFORM update_database CHANGING ls_error_record.
      ELSE.
        APPEND ls_error_record TO return.
        CALL FUNCTION 'HRIQ_CLEAR_BUFFER'.
        CALL FUNCTION 'HRIQ_CLEAR_PLOG_TAB'.
      ENDIF.
      DELETE return WHERE type IS INITIAL.
    ENDFUNCTION.

  • Functions for creating external organizations?

    Hi,
    Is there a predefined ABAP function in SAP for creating an external organization? Currently I find only the ones for reading EO data, e.g. HRIQ_EO_GETDETAILS
    Thanks
    Janek

    Hi ,
    To create an external organization - PIQEO is the tcode.
    Don't use PP01 for all purpose which is not advisable yet all the data's can be edited , created , displayed , deleted . It is like master transaction .
    Regards
    Gajalakshmi

  • Upload functionality for Posting level 30

    HI,
    I have a situation where I need to post around 800 entries at every period at posting level 30.
    Is there any options to upload the documnets, as it is very difficult and time consuming for posting manually.
    Can any one suggest how to develop an upload method for posting level 30?
    Thanks in Advance,
    Richard

    our basis team did it, once in each system, during a weekend/night when everyone else was locked out/inactive.
    As you would expect, they activated function FIN_ACC_GROUP_CLOSE in Dev, then we tested it
    Then when happy, we went to QA, user testing then Production
    We had a transport freeze during this period but it did not take us long (eg under 1 week)
    There is no requirement to perform any further activations, unless you want the next functionality (we did not need the next 2 functions yet)
    If you want to activate the later functions, you must first activate the earlier functions
    You can activate all of the functions at the same time (in the correct order) but you must perform testing and remember that you cannot undo the activation
    NB for BCS there are only 3 functions for BCS (NB I don't know about EHP5 yet):
    FIN_ACC_GROUP_CLOSE (available in EHP2)
    FIN_ACC_GROUPCLOSE_2 (available in EHP3)
    FIN_ACC_GC_TAXRATECHG (EHP4)
    - So you would have a maximum of 3 activations per system, or you could activate all at once.
    Once activated, all of the new configuration options in that function are available in the workbench

  • Query for FREE_SELECTIONS_INIT function for selection screen

    Hi ,
    I am calling this function FREE_SELECTIONS_INIT for implementation of selection screen , but when I am trying to pass a "QUAN" datatype in FIELD_DESC table for TYPE Parameter as importing parameter, its giving a dump . But for other types of datatypes it is working fine . please suggest , if we have to use any other parameter in this function to handle QUAN fields.
    Thanks and Regards,
    Anupam Yadav

    HAI,
    IF you go through the function module, FIELD_DESC is table type. So declare an internal table of type FLDCONVERT(Double Click on this to see its components) and populate the necessary fields and then pass on this table on to the FIELD_DESC parameter.
    Best Regards,
    rama

  • Problem with Save functionality for a Screen - Field

    Hi Experts,
    I  have included a custom field with list box option to an infotype. The new filed  displays the values based on the values selected in the standard field which has a list box option.
    Now if we enter the transaction in change mode and change the standard field value without pressing ENTER and click SAVE button, it gets saved with an improper value in the custom field. The reason being the custom field values with drop down list is retreived only after we press enter (POV is triggered) after selecting a standard field.
    Options tried:
    I have included an error message (in PAI)  to stop the values being saved, but the screen beomes disabled.
    I have done my validation only on the custom field as there is no other possibility to validate any other fields on the screen (all are standard). Here the error message pops up and the field is in the enable mode, but it does not retrieve the possible values for the custom field based on my earlier selection for the standard field.( Because as POV does not get triggered in this case)
    Ex.  Std field value = USA
           Custom field   =  United States of America
    I changed the value in Standard field to = UK and click SAVE - It get saved
    Now how to stop it from SAVING and let it know that there is an error in the custom field and it needs to select the right value from the list ie - United Kingdom.
    Lakshmi

    Perhaps a solution is to save the code value, not the text for the code, and only display the text.  In this way, the database would have UK and when you re-entered the screen, a PBO module could obtain the text for UK for display.
    Or, if you must store the text value instead of the code (seems redundant...you can look up the text anytime), an enhancement to the save to database logic to obtain the correct value from the current value of the code and save that to the database....

  • How to create a variant for a screen (not a selection screen)

    Hi
    I foud a function module RS_CREATE_VARIANT.
    Is this the correct fm for creating screen variant, if yes then pls provide me some help about how to pass values to this fm.
    if not then pls help me to find out new one.
    thnks
    satisfactory answer will be definitely rewarded.
    S@meer

    passing values to RS_CREATE_VARIANT.
    data : LS_VARIANTDESC TYPE VARID.
      DATA : LT_VARIANTTEXT TYPE TABLE OF VARIT ,
             WA_VARIANTTEXT TYPE VARIT.
      DATA : TT_REPORTPARAM TYPE TABLE OF  RSPARAMS,
             WA_REPORTPARAM TYPE RSPARAMS.
    CLEAR LS_VARIANTDESC.
              LS_VARIANTDESC-MANDT   = SY-MANDT.                " gr 46A
              LS_VARIANTDESC-REPORT  = 'ZXXXXX'.
              LS_VARIANTDESC-VARIANT = 'VARIANT'.
              LS_VARIANTDESC-EDAT    = SY-DATUM.
              LS_VARIANTDESC-ETIME   = SY-UZEIT.
              REFRESH LT_VARIANTTEXT.
              CLEAR WA_VARIANTTEXT.
              WA_VARIANTTEXT-MANDT    = SY-MANDT.               " gr 46A
              WA_VARIANTTEXT-LANGU    = SY-LANGU.
              WA_VARIANTTEXT-REPORT   = 'ZXXXXXX'.
              WA_VARIANTTEXT-VARIANT  = 'VARIANT'.
              APPEND WA_VARIANTTEXT TO LT_VARIANTTEXT.
           CALL FUNCTION 'RS_CREATE_VARIANT'
                  EXPORTING
                    CURR_REPORT               = 'ZXXXXX'
                    CURR_VARIANT              = 'VARIANT'
                    VARI_DESC                 = LS_VARIANTDESC
                  TABLES
                    VARI_CONTENTS             = TT_REPORTPARAM
                    VARI_TEXT                 = LT_VARIANTTEXT
                  EXCEPTIONS
                    ILLEGAL_REPORT_OR_VARIANT = 1
                    ILLEGAL_VARIANTNAME       = 2
                    NOT_AUTHORIZED            = 3
                    NOT_EXECUTED              = 4
                    REPORT_NOT_EXISTENT       = 5
                    REPORT_NOT_SUPPLIED       = 6
                    VARIANT_EXISTS            = 7
                    VARIANT_LOCKED            = 8
                    OTHERS                    = 9.
                IF SY-SUBRC EQ 7.
    If variant with same name already exists, change variant
                  CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT'
                    EXPORTING
                      CURR_REPORT               = 'ZXXXXX'
                      CURR_VARIANT              = 'VARIANT'
                      VARI_DESC                 = LS_VARIANTDESC
                    TABLES
                      VARI_CONTENTS             = TT_REPORTPARAM
                    EXCEPTIONS
                      ILLEGAL_REPORT_OR_VARIANT = 1
                      ILLEGAL_VARIANTNAME       = 2
                      NOT_AUTHORIZED            = 3
                      NOT_EXECUTED              = 4
                      REPORT_NOT_EXISTENT       = 5
                      REPORT_NOT_SUPPLIED       = 6
                      VARIANT_DOESNT_EXIST      = 7
                      VARIANT_LOCKED            = 8
                      SELECTIONS_NO_MATCH       = 9
                      OTHERS                    = 10.
                ELSEIF SY-SUBRC NE 0.
                MESSAGE WITH 'Cannot create/change variant for'
                SY-UNAME.
                ENDIF.

  • Java-Based Upload Function No Longer Works After KB3021952 is Installed

    Hi there,
    Kindly note that my organization has just deployed the February 2015 Microsoft Security Patches including KB3021952. At the same time we have a Java web-based application that works fine before the February patches were deployed to all users. Upon deployment,
    the upload function for the application started to fail, causing IE to crash (as shown below):
    Event ID 1000 error was logged under Application logs (as specified below):
          Faulting application name: iexplore.exe, version: 11.0.9600.17631, time stamp: 0x54b31a70
          Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2be1e
          Exception code: 0xc0000417
          Fault offset: 0x0008af3e
          Faulting process id: 0x1728
          Faulting application start time: 0x01d0518d4085f6ae
          Faulting application path: C:\Program Files\Internet Explorer\iexplore.exe
          Faulting module path: C:\Windows\system32\MSVCR100.dll
          Report Id: 9bdee31e-bd80-11e4-95c2-005056c00008
    If I debugged the IE error using Visual Studio 2013 (loading symbols from Microsoft Symbol Servers option is enabled), the process will stuck at the following notification message:
    I suspect that this error might be related to the new iexplore.exe file which being deployed together with KB3021952.
    Another official case will be logged to the vendor of the Java web-based application. Just wanted to know if anybody else experienced the same issue upon the deployment of KB3021952. Additional information on my environment can be specified
    as follow:
          Operating System: Windows 7 Ultimate and Enterprise
          Java Version: Version 7 Update 75
          IE Browser Version: Internet Explorer 9 and 11 (same issues detected on both versions).
    Thanks and regards,
    Syidie77

    Hi,
    According to your description, it's hard to judge this update caused jave problem, you can try to uninstall the update package for test if this is Windows update problem.
    On the other hand, according to the event log, IE crash seems like caused by MSVCR100.dll which refers to Microsoft Visual C++ 2010 SP1 Redistributable Package. Please access to the link below to downlaod and reinstall it for test:
    32Bit: Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
    http://www.microsoft.com/de-de/download/details.aspx?id=8328
    64Bit: Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
    http://www.microsoft.com/en-us/download/details.aspx?id=13523
    Roger Lu
    TechNet Community Support

  • What are the new gestures for touch screens?

    According to the help file with the Windows 10 Technical Preview for Enterprise build 9879 the same gestures that work on Windows 8.1 are supposed to work on Windows 10.
    I cannot get swiping down from the top of the screen or the bottom of the screen to function in Modern apps. It worked fine on the same computer (Dell Venue 11 Pro Core-i5) in Windows 8.1. The touch screen works for other gestures such as swiping in from
    the left or right, selecting, etc.
    So to close an app, I can no longer swipe down from the top. I have to tap the X in the upper corner, or bring up the new switcher and  close it from there. It's also difficult to bring up the additional menus in Modern apps. For instance, the Mail
    app has menu options to move a message to a folder. I used to be able to swipe up from the bottom to bring up the menu items. Now I have to try to tap the ... in the lower right corner. On a smaller display, this is difficult. 
    I also noticed that ALL apps run on the desktop now. When launching a Modern app such as the included Mail app or the Facebook app from the store, they run on the desktop in a windowed mode with the taskbar visible. You can maximize them, but they are just
    full screen windows on the desktop. They don't run in full screen mode like in Windows 8.
    Windows 10 was supposed to add back features from Windows 7 to make it easier to navigate with a keyboard and mouse while retaining the existing Windows 8 functionality for touch screen devices like tablets. The current build is much harder to use on a tablet
    than Windows 8.

    The latest update was just bug fixes and improved stability, no new features. That is nearly always the case with series 40 phones like the 6300.
    Nokia do not make the changelogs available publicly but often they do appear on unofficial sites. Searching google may provide you with more detailed info that cannot be posted here.

  • Upload Tool for KKPAN

    Hi,
      Is there any uploading tool for creating cost estimate without quantity structure.
    I tried with LSMW, when i save the list i have to save the data twice. The second time when i give the save command in LSMW or BDC system is not recording the command. Is there any other possible way out to upload
    Regards
    Vasantha

    Check if you can open the PDF link below. Also, you can display a note from SAP Marketplace just register using your current SAP system's installation ID.
    MDUG User Guide

  • Document upload/display for master data

    Hello,
    I have to implement a web application which provides a upload functionality for documents (images) of master data. Therefore exists a FM RSOD_MAST_CHANGE and this seems to be no problem to implement.
    My problem now is to find a FM which provides the functionality to display these uploaded documents of specific master data characteristic.
    Has anyone implemented such a functionality, too? Is there such a FM?
    Many thanks
    André Klos

    hi,
    there is 'how to mass doc upload' doc with abap program, maybe can be modified for your requirement, also from there maybe can get idea to how display these uploaded documents
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8046aa90-0201-0010-5e99-962948c83331

  • How to create a transaction code for a function group with screen 100 as st

    Hello ,
    I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
    Customer asked me to create a transaction with the screen 100 as the starting screen.
    Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
    [ It is not a module pool program ].
    Thanks
    Prashanth.
    Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
    Edited by: Rob Burbank on Jun 2, 2009 11:49 AM

    Go to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
    Name of screen field:                               Value
    D_SREPOVARI-REPORTTYPE                RW
    D_SREPOVARI-REPORT                        ZPCA
    Save and transport accordingly.

Maybe you are looking for

  • Upgrade 9.2.0.6 to 9.2.0.8 to 11.2.0.2

    We've got a 9.2.0.6 database on AIX 5.3. We need to get it to 11.2.0.2 on AIX 6.1 - I realise that there is an intermediate step to get to 11.2.0.2 I've been told that I only have to install the 9.2.0.8 binaries on the AIX 6.1 machine. That I could c

  • Problem with xsql:query

    Hi, I'm having a problem with the following simple XSQL document: <?xml version="1.0"?> <xsql:query connection="xsqltest" xmlns:xsql="urn:oracle-xsql"> SELECT concat(concat(forename, ' '), surname) AS Name , d.name AS Department FROM emp, dept d WHER

  • Tab not working in CS6?

    I just subscribed to CS Cloud, and I like the latest version of Dreamweaver, but I've found one little "bug." When I do a search and replace operation, I type something into the "Find," box, then I push the Tab key to move the cursor into the "Replac

  • ITunes closes down, songs on iPod deleted

    Dear all I can use iTunes ok as long as my iPod is not plugged in. If I plug it in to update it, however, iTunes immediately closes down. If I close iTunes, connect the iPod, then go back in to iTunes, the same thing happens. Also, this has deleted a

  • Report T.code for LS1,Ls2,Ls4,Ls8

    hii..... by which t,code we can see the report about ls1,ls2,ls4 ,ls8.pls tell me standard t.code to see the reports. Thanks & Regards Rekha Sharma