How to change a field of type CHAR of a database table to DATS

Dear ABAP experts,
I have a database table: ZLT_aztnew with fields M1, M2, K1, K2, A1, A2, P1, P2, S2, D1, D2,  STD, BES. All these fields are of type 'Character'.  except D2 which is of type DATS. The field D1 is date and is in format DD.MM.YYYY.
I want to convert this field D1 to type DATS so that I can use a date range through 'selection option' to select other  data of other fields (M1, M2, K1, K2, A1, A2, P1, P2, S2, D1, STD, BES.) related to field D1 from the database table Zlt_aztnew.
How should I introduce this change (CONVERSION OF D1 CHAR to DATS in the .AZT file upload code itself.
Problem: If I define D1 as Type  DATS in database table ZLT_AZTNEW then the UPLOAD fails.
The AZT file upload code is:
Data  it_string   type stringtab.
Data  lv_string    type string.
DATA:  itab  TYPE STANDARD TABLE OF zlt_aztnew.
DATA:  wa_tab    TYPE zlt_aztnew.
DATA: file_str1 type string.
Data: it_tab TYPE STANDARD TABLE OF file_table,
        lw_file LIKE LINE OF it_tab,
        gd_subrc TYPE i.
SELECTION-SCREEN begin of block blk with frame title text-100.
  SELECTION-SCREEN SKIP 2.
    parameters : p_file like rlgrap-filename .
SELECTION-SCREEN end of block blk.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
    EXPORTING
    window_title = 'Select only Text File'
    default_filename = '.azt'
    multiselection = 'X'
    CHANGING
    file_table = it_tab
    rc = gd_subrc.
READ TABLE it_tab INTO lw_file INDEX 1.
   p_file = lw_file-FILENAME.
Start-of-Selection.
  file_str1 = P_file.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    filename                      = file_str1
*    filename                      = '\\10.10.1.92\Volume_1\_projekte\Zeiterfassung-SAP\test.azt'
  tables
    data_tab                      = it_string
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT it_string  INTO lv_string.
clear wa_tab.
SPLIT lv_string AT ';' INTO  wa_tab-M2   wa_tab-k2   wa_tab-A2   wa_tab-P2  wa_tab-S2   wa_tab-D1  wa_tab-STD  wa_tab-BES.
Append wa_tab to itab.
Write: sy-uline(120),
          / sy-vline,
            2 wa_tab-M2,
           11 sy-vline,
           13 wa_tab-k2,
           25 sy-vline,
           27 wa_tab-A2,
           32 sy-vline,
           34 wa_tab-P2,
           39 sy-vline,
           41 wa_tab-S2,
           46 sy-vline,
           48 wa_tab-D1,
           60 sy-vline,
           62 wa_tab-STD,
           72 sy-vline,
           74 wa_tab-BES,
          120 sy-vline.
ENDLOOP.
DATA: Answer.
UPDATE zlt_aztnew From Table itab.
* INSERT ZLT_aztnew From Table itab accepting duplicate keys.
If sy-subrc NE 0.
CALL FUNCTION 'POPUP_TO_CONFIRM'
  EXPORTING
   TITLEBAR                    = 'TITLE '
*   DIAGNOSE_OBJECT             = ' '
    text_question               = 'Wollen Sie die vorhandenen Inhalte ändern'
   TEXT_BUTTON_1               = 'Ja'(001)
*   ICON_BUTTON_1               = ' '
   TEXT_BUTTON_2               = 'Nein'(002)
*   ICON_BUTTON_2               = ' '
   DEFAULT_BUTTON              = '1'
   DISPLAY_CANCEL_BUTTON       = 'X'
*   USERDEFINED_F1_HELP         = ' '
*   START_COLUMN                = 25
*   START_ROW                   = 6
*   POPUP_TYPE                  =
*   IV_QUICKINFO_BUTTON_1       = ' '
*   IV_QUICKINFO_BUTTON_2       = ' '
IMPORTING
   answer                      = answer
* TABLES
*   PARAMETER                   =
EXCEPTIONS
   TEXT_NOT_FOUND              = 1
   OTHERS                      = 2
*IF sy-subrc <> 0.
** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
**         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
IF Answer = '1'.
WRITE: / 'Die vorhandenen Inhalte war geändernt'.
MODIFY zlt_aztnew From Table itab.
ENDIF.
ENDIF.
TO introduce a date range and pull data from the database table Zlt_AZTNEW--> I wrote the BELOW code SEPARATELY,
but after execution, the error I am getting is: Enter a valid Date (for example, 31.03.2014).
TABLES:   ZLT_aztnew.
TYPES:  Begin OF ty_AZTN,
         M2   TYPE Zlt_AZTNEW-M2,
         K2   TYPE Zlt_AZTNEW-K2,
         A2   TYPE Zlt_AZTNEW-A2,
         P2   TYPE Zlt_AZTNEW-P2,
         S2   TYPE Zlt_AZTNEW-S2,
         D1   TYPE Zlt_AZTNEW-D1,
         STD  TYPE Zlt_AZTNEW-STD,
         BES  TYPE Zlt_AZTNEW-BES,
       END OF ty_AZTN.
DATA:   gv_datum  TYPE d.
DATA:   it_aztn TYPE STANDARD TABLE OF ty_aztn with  header line.
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
  EXPORTING
    date_external                  = zlt_aztnew-D1
*   ACCEPT_INITIAL_DATE            =
IMPORTING
   DATE_INTERNAL                  = gv_datum
* EXCEPTIONS
*   DATE_EXTERNAL_IS_INVALID       = 1
*   OTHERS                         = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
       SELECT-OPTIONS: s_datum FOR gv_datum.
      INITIALIZATION.
        s_datum-low  = sy-datum.
        s_datum-high  = sy-datum.
        APPEND s_datum.
********** After this further code follows with "SELECT"  wherein I want to use the gv_datum as Where condition.
SELECT   M2
                  K2
                  A2
                  P2
                  S2
                  D1
                  STD
                  BES
         FROM     ZLt_AZTNEW
         INTO     TABLE it_AZTN
         Where    D1 = gv_datum.
Please provide me your valuable suggestion to correct any flaw in my code above.
Looking forward for your reply.
Best regards
Chandan Kumar

Dear Rama,
Plz refer the following difference in naming conventions as compared to your suggestion:
it_flat_file --> itab, (internal table for AZT fiel upload and split)
ls_flat_file ---> wa_itab,
Ztable --> Zlt_aztnew2,    (Dbase file)
it_ztable ---> it_zlt_aztnew2, (internal table)
ls_ztable --> wa_aztnew2,
I wrote the following code but it is not working. Please also refer the attached screen shot of the database table : ZLT_AZTNEW2.
Data  it_string   type stringtab.
Data  lv_string   type string.
DATA: file_str1 type string.
Data: it_tab TYPE STANDARD TABLE OF file_table,
      lw_file LIKE LINE OF it_tab,
      gd_subrc TYPE i.
TYPES: Begin of Ty_itab,
        M2  TYPE Char7,
        K2  TYPE Char3,
        A2  TYPE Char3,
        P2  TYPE Char3,
        S2  TYPE Char3,
        D1  TYPE Char8,
        STD TYPE Char8,
        BES TYPE Char80,
       END OF ty_itab.
DATA: itab Type Standard Table of ty_itab,
      wa_itab Type ty_itab.
DATA: it_zlt_aztnew2 type standard table of Zlt_aztnew2,
      wa_aztnew2     TYPE Zlt_aztnew2.
SELECTION-SCREEN begin of block blk with frame title text-100.
  SELECTION-SCREEN SKIP 2.
    parameters : p_file like rlgrap-filename .
SELECTION-SCREEN end of block blk.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
  CALL METHOD cl_gui_frontend_services=>file_open_dialog
    EXPORTING
    window_title = 'Select only Text File'
    default_filename = '.azt'
    multiselection = 'X'
    CHANGING
    file_table = it_tab
    rc = gd_subrc.
  READ TABLE it_tab INTO lw_file INDEX 1.
  p_file = lw_file-FILENAME.
Start-of-Selection.
  file_str1 = P_file.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    filename                      = file_str1
*    filename                      = '\\10.10.1.92\Volume_1\_projekte\Zeiterfassung-SAP\test.azt'
  tables
    data_tab                      = it_string
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT it_string  INTO lv_string.
  Clear wa_itab.
  SPLIT lv_string AT ';' INTO  wa_itab-M2   wa_itab-k2   wa_itab-A2   wa_itab-P2  wa_itab-S2         wa_itab-D1  wa_itab-STD  wa_itab-BES.
  append wa_itab to itab.
  Write: sy-uline(120),
          / sy-vline,
            2 wa_itab-M2,
           11 sy-vline,
           13 wa_itab-k2,
           25 sy-vline,
           27 wa_itab-A2,
           32 sy-vline,
           34 wa_itab-P2,
           39 sy-vline,
           41 wa_itab-S2,
           46 sy-vline,
           48 wa_itab-D1,
           60 sy-vline,
           62 wa_itab-STD,
           72 sy-vline,
           74 wa_itab-BES,
          120 sy-vline.
ENDLOOP.
LOOP at itab into wa_itab.
  CLEAR wa_aztnew2.
  wa_aztnew2-D1+0(4) = wa_itab+6(4).
  wa_aztnew2-D1+4(2) = wa_itab+3(2).
  wa_aztnew2-D1+6(2) = wa_itab+0(2).
Append wa_aztnew2 to it_zlt_aztnew2.
ENDLOOP.
MODIFY Zlt_aztnew2 from table it_zlt_aztnew2.
Looking forward for your suggestiojn.
Regards
Chandan

Similar Messages

  • How can i validate input number into a Field of  type char in oracle form?

    hi.....
    can any one help me.....please...!!!?!!
    How can i validate input number into a Field of type char in oracle form?

    i have tried doing that, but still the field except numbersthere was an error in that code. it should have been
    var_num:=to_number(var_char);however, it appears that you want the entry NOT to be a number. if this is the case then try
    begin
      if to_number(:block.item) = 0 then null; end if;
      message('The entry cannot be numeric');
      raise form_trigger_failure
    exception
      when value_error then
       /* this is where you put the code you want to be run when the
          entry is non-numeric */
    end;

  • How to change the Field Symbol, so Adobe Forms takes it as a Table?

    Hi guys,
    I created an Field Symbol, in a Interface which I use for Adobe Forms. The type of the Field Symbol is STANDARD TABLE, and this field symbol I fill with data from another program.
    But the problem is that in adobe forms, this Field Symbol is taken as TEXT FIELD and not as Table... and this shows me a Dump because it can't convert Internal Table to type C (the dump is like that).
    What I need, is how to change the Field Symbol, so Adobe Forms takes it as a Table?
    I looked at Adobe Form, and found this:
    The Type Category of the Field Symbol is DICTIONARY TYPE and I think I need to change it to Internal Table as shown in the right picture.
    Does someone have any idea?

    Hello Taly,
    To what i understand your requirement, you need to pass data from Field symbol to internal table in Adobe form.
    You have done it correct partially. I have replicated your scenario and steps are below -
    1) Create a Z structure
    2) Create Z Table Type
    3) Create Adobe Interface with Table & Field Symbol. Also do coding as shown to assign the internal table populated in driver program to filed symbol.
    4) Design Form as -
    5) Code driver as -
    *& Report  ZR_AF_FS_1
    REPORT  zr_af_fs_1.
    DATA: fm_name           TYPE rs38l_fnam,
           fp_docparams      TYPE sfpdocparams,
           fp_outputparams   TYPE sfpoutputparams,
           it_kna1           TYPE ztt_fs_1.
    * Sets the output parameters and opens the spool job
    CALL FUNCTION 'FP_JOB_OPEN'                   "& Form Processing: Call Form
       CHANGING
         ie_outputparams = fp_outputparams
       EXCEPTIONS
         cancel          = 1
         usage_error     = 2
         system_error    = 3
         internal_error  = 4
         OTHERS          = 5.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    *&---- Get the name of the generated function module
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'           "& Form Processing Generation
       EXPORTING
         i_name     = 'ZAF_FS_1'
       IMPORTING
         e_funcname = fm_name.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *-- Fetch the Data and store it in the Internal Table
    SELECT kunnr name1 name2 adrnr FROM kna1 INTO TABLE it_kna1 UP TO 15 ROWS.
    * Language and country setting (here US as an example)
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    *&--- Call the generated function module
    CALL FUNCTION fm_name
       EXPORTING
         /1bcdwb/docparams        = fp_docparams
          it_data                   = it_kna1
    *    IMPORTING
    *     /1BCDWB/FORMOUTPUT       =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error           = 3.
    IF sy-subrc <> 0.
    *  <error handling>
    ENDIF.
    *&---- Close the spool job
    CALL FUNCTION 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
       EXCEPTIONS
         usage_error           = 1
         system_error          = 2
         internal_error        = 3
         OTHERS               = 4.
    IF sy-subrc <> 0.
    *            <error handling>
    ENDIF.
    6) Output -
    BR.

  • How to change the field length in standard sap program.

    Hi All,
    How to change the field length in standard sap program.
    Urgent
    Example:
    Text1 type c length 75,
    To change :
    Text1 type c length 150,
    Point will be rewarded..
    Thank you,
    Vikram.C

    If the only solution is to change the sap standard program, simply change the program, it will prompt for an access key. This key can be retrieved in the SAP support portal (service.sap.com) at keys and requests, sccr keys, register object.
    Sometimes these actions are outsourced to a competence center, so maybe youre not entitled to do this, in any case ask a resident senior developer for support.
    regards, Rob

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • How to change the font and type in the front panel

    Can you tell me how to change the font and type in the front panel if i want to make it looks more beautiful.
    1110340040

    Hi there,
    You can change the font size and type as shown below:
    - Ee Lim -
    See that button on the left side of this post...
    If you feel my post is helpful, all you need is just (at most) 2 seconds to click that button, to show your appreciation. Thank you~~

  • How to change the field lenght in stanard structure.

    hai Gurus,
    When I enhanced the standard structure for the 1st time I got warning but I could able to replicate and pull the data from r3 to bw. When I tried to enhance it again it is not allowing me saying i the need to enhance the standard data field length or need to add a custom field for this. Can you tell me how can change the field length for a standard structure?.
    Thanks, VP.

    hi,
    u can add a custom field of the required length to your structure and write the exit to populate it. If its a standard field I dont think you will be able to alter the length of the field.
    Regards.

  • How do I remap fields in Visio shapes when pointing to an external data source?

    Hi,
    I'm creating an organizational chart (org chart) in Visio. It refers to a SharePoint list. in the SharePoint list there is a column called FullName. This is the one I want to map to the Name field in a Visio shape. How do I remap fields in Visio shapes when
    pointing to an external data source?
    Learning SharePoint

    Mark,
    Unfortunately the required field/column names are hard coded in the add-in.
    al edlund
    Al Edlund Visio MVP

  • How to sort a column of type CHAR

    Hi,
    I have a report for which the o/p is displayed in ALV grid format.There is one column in the O/p strcuture which is "No of days".Based on certain conditions,i need to display the value for some of the days as Negative e.g. " - 45".Becasuse of this,I have declared the field for the "No of days" of the type "CHAR".
    Now when i sort(using ALV grid SORT function) the list on basis of this column,it doesnt give me the correct o/p.
    CAN anyone tell me how do i handle this?I want the list to be sorted correctly on basis of the "No of days" column.
    \[removed by moderator\]
    Edited by: Jan Stallkamp on Dec 17, 2008 6:32 PM

    Hi,
    Amit,
    Apologies for violation of rule.
    All,
    For getting the negative sign in the front of the no,i.e. "-45",i had declared as CHAR.
    Is there any way we can get the o/p in the form "-45" and not "45-" as well as use the SORT functionality?
    BR,
    SRM Tech

  • How to change the field name

    I want to change the field name in Oracle schema
    Can I do ir?
    If yes, please tell me how to type the SQL
    Thanks

    Use ALTTAB command of my freeware SQLPlusPlus to ALTER a table anyway you like including inserting columns within the middle of the table.
    regards,
    M. Armaghan Saqib
    SQL PlusPlus - Add power to command line of SQL Plus
    SQL Link for XL - Integrate Oracle with XL
    Download free: http://www.geocities.com/armaghan/
    null

  • How to chang the idoc  message type

    Hi,
    I want to change the idoc message type...because the idoc has the status 51...pls advice how to change
    I have tried it from we81 .......but i cant open the msg type ...when i double click on it.
    Regards,
    Somenath

    Hi,
    This may help u
    Steps To Create Custom IDOC
    1.Create Segment Type (WE31)
    Go to Transaction code WE31
    Enter Segment type, click on Create
    Give Description
    Enter the Necessary Fields & Data Elements for those Fields.
    Save the Changes.
    2.Create Idoc Type (WE30)
    Go to transaction code WE30
    Enter the Object Name, select Basic type and click Create icon
    Select the create new option and enter a description for your basic IDOC type and press enter
    Select the IDOC Name and click Create icon
    The system prompts us to enter a segment type and its attributes
    Choose the appropriate values and press Enter
    The system transfers the name of the segment type to the IDOC editor.
    Follow these steps to add more number of segments to Parent or as Parent-child relation
    Save it and go back
    Go to Edit -> Set release
    3.Create Message Type (WE81)
    Go to transaction code WE81
    Change the details from Display mode to Change modenAfter selection, the system will give this message u201CThe table is cross-client (see Help for further info)u201D. Press EnternClick New Entries to create new Message Type
    Fill details
    Save it and go back
    4.Assign Idoc Type to Message Type (WE82)
    Go to transaction code WE82
    Change the details from Display mode to Change moden After selection, the system will give this message u201CThe table is cross-client (see Help for further info)u201D. Press Enter.
    Click New Entries to create new Message Type.
    Fill details
    Save it and go back
    Regards
    Seshagiri

  • How to change the fields in a JSF form based on a URL parameter

    I am trying to build a generic JSF form of parameters which I want to dynamically change (i.e.
    change which field is visible, what the label text should be, etc) based on a URL parameter.
    I can set the fields using logic in the backing bean as an action on a command button pressed.
    But how do I do it based on the URL parameter ? I can retrieve the URL parameter but I
    don't know where to put (or hook) the Java code to do this initialization prior to
    the page being rendered for the first time.
    The fields in the JSF is being configured dynamically using a database table.
    BTW I am using Jdeveloper 10.1.3.5
    Thanks
    CK

    Thanks. I decided to set a Session bean to store the value of the URL parameter (if it is set)
    and then to use the session bean to initialize the attributes of the fields on the JSF Page.
    There also seems to be some caching of the inputText fields (i.e. it reverts back to the first
    initialized value) even though I tried to change it using the URL parameter in the requestScope
    backing bean. So, setting the values into the Session bean and retrieving it back from there
    seems to be more reliable.

  • HOW TO Change behaviour of attendance type

    Hi guys,
    I have a question for you:
    - I have an attendance "9500 Extra Time", for overtime, introduced through IT 2002, which belongs to attendance type "O" (Overtime). When time schema is executed, attendances of this type are added to table TIP (6th time pair):
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0001                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0001                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0001                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0001                   1,6667
    14.0000  15.0000  0  3  01  00  O  0330               P                                        1,0000 <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0001                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    But after that, when function "P2005" is processed, this time pair overwrites overlapped pair, and time pair type is changed to "M":
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0001                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0001                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0001                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0001                   1,6667
    14.0000  15.0000  0  3  01  00  M  0310               P                                        1,0000 <----
    15.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0001                   0,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    As you can see, one hour of the time pair 14.00-15.25 is overwritten by the presence "9500 Extra Time" This is all rigth.
    But I have other attendance "9000 Formation", which belongs to attendance type "B". This is the table TIP just before "P2005" execution:
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0002                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0002                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0002                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0002                   1,6667
    14.0000  15.0000  0  3  01  00  B  0330               P                                        1,0000     <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0002                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    And after "P2005" execution. There is not overwriting in this case:
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0002                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0002                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0002                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0002                   1,6667
    14.0000  15.0000  0  3  01  00  B  0330               P                                        1,0000 <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0002                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    Note: Function P2005 is called without parameters and IT 2005 is empty for this date and employee, so nothing is transfered.
    OK, THIS IS MY QUESTION:
    I need attendance "Formation" to work as attendance "Extra Time". I'm not going to change Formation's attendance type (B), so I want to know how can I change the behaviour of absence type "B" so overlapped time pairs are overwritten as now actually happens with attendance type "O".
    I don't know where to change this, could you please help me?
    Thank you a lot.

    Try to use TextField1.access = "readOnly";
    Jasmin

  • How to change the manual condition type value in change sales order BAPI

    Hi All,
    My scenario here is, i want to either add/change the manual condition type value during change of SO.
    When i'm trying to pass the  order_conditions_in and  order_conditions_inx tables in  'BAPI_SALESORDER_CHANGE'.
    Condition type is coming at item level but the value is setting to zero. Pls. help if anyone has any idea how to handle this.

    Siva,
       I guess you posted in Wrong Thread. You need to post in WAS section.
       check for any BAPI's available in CRM.
    Nagesh Ganisetti.

  • How to change defauled field value in Appraisal OSA

    Hi,
    We hav implemented OSA Appraisal Model and it's working fine both in R/3 and from EP.In form template We hav set the column 'Value Input' to Required Entry.
    In the HAP Document the field values of that column are never null coz the field value is defaulted to the first entry '1'. How to change the defaulted value in the drop dwn boxes.
    Any help will be much appreciated .
    Rgds,
    Jothi.
    Message was edited by: Jothivenkatachalam.P

    Hello Jothi,
    Defaulting can be achieved with a value determination, BAdI definition HRHAP00_VAL_DET.
    Regards and Groetjes,
    Maurice

Maybe you are looking for