Quantcast
Channel: SCN: Message List
Viewing all 8667 articles
Browse latest View live

FIORI Leave Request App Error

$
0
0

Hi,

 

I'm new to FIORI and Gateway. We recently installed ECC, NWGW and FIORI on our server. We have implemented the prerequisites and SAP Notes. But I'm still having a problem with accessing Leave Request App. I'm having this error (see picture)

 

So far, the RFC seems to be working. The result was successful when I test the connection. Though I'm still not sure if that info will be enough to know if it is indeed working.

 

I have added the following roles to my user:

 

SAP_GBHCM_LEAVE_REQUEST_EMPL

SAP_HCM002_HCM_LVRQ_CR

GW_ENDUSER

GW_BEP_USER

 

with /IWBEP/RT_MGW_USR and S_RFCACL but still an error. Can't know for sure if indeed the roles are working though.

 

I'm following this thread by the way : http://scn.sap.com/message/14340195

 

Anyone who can help me with this problem ? Your help is much appreciated.

 

Thanks

-Melanie


Re: Connecting Informatica with SAP not working

$
0
0

HI MArtin,

 

Have you observed closely the word which the replier used? Is it required to help such guys?

Re: Afaria Admin fails to open

$
0
0

Thanks Chetan. Trying in different browser resolved it. I was using IE before, now I'm using chrome to open Afaria Admin and can see Server component properties.

 

Could you also suggest if it is mandatory to configure Microsoft Certificate Authority for IOS devices in enrollment component configuration?

 

I have downloaded required Apple Root, Intermediate and APNS certificates. Would importing these certificates be enough for IOS device management OR do we need Microsoft CA also?

Please suggest on this.

 

Thanks for your support.

 

Regards

Narasimha

Content server copy issues

$
0
0

Hi everyone,

We recently performed a copy of an existing system along with the content server copy. The content repository settings have been updated in the new system. Check-in of new documents works fine, but the existing documents (copied from the the previous system) throw an error message when displaying the originals.

 

Following is the analysis of DMS_KPRO_CHECK1:

 

PHIOS in Content Server w/o Reference in KPRO

Number of PHIOS: 0

 

PHIOS in KPRO w/o Reference in Content Server

Number of PHIOS: 51903

 

 

LOIOS in KPRO w/o Reference to DMS

Number of LOIOS: 248176


LOIOS in DMS w/o Reference to KPRO

Number of LOIOS: 0

 

 

Any pointers on how to rebuild the KPro entries would be appreciated.

 

Thanks,

Vivek

Re: how to fetch data from database table based on table control values

$
0
0

Hi

 

It seems you're using the same workarea (wa_zpp_mpo) for the dynpro field and the internal table, so the data can  be overwritten, you should use a different workarea while reading the internal table and read it after getting the data you need

 

 

module update_table INPUT.

     readtable it_zpp_mpo INTO wa_zpp_mpo index TBC_9003-current_line.

*  Create another temperoray work area wa_zpp_mpo_tmp.

     SELECT single * FROM ZPP_MPO_MASTER1 INTO wa_zpp_mpo_tmp

              WHERE matnr = wa_zpp_mpo-matnr.

     if sy-subrc = 0.

      clear wa_zpp_mpo_tmp.

     endif.

    

   

     readtable it_zpp_mpo INTO wa_zpp_mpo_tmp_2 index TBC_9003-current_line.

     read_rc = sy-subrc

    if read_rc <> 0.

       clear wa_zpp_mpo_tmp_2.

    endif.

   wa_zpp_mpo_tmp_2-matnr = wa_zpp_mpo-matnr.  

    wa_zpp_mpo = wa_zpp_mpo_tmp_2.


     WA_ZPP_MPO-MCARDNO = wa_zpp_mpo_tmp-mcardno.

     WA_ZPP_MPO-ZFQTY = wa_zpp_mpo_tmp-zfqty.

     WA_ZPP_MPO-REMAKS = wa_zpp_mpo_tmp-remaks

   

    if read_rc = 0.

       modify it_zpp_mpo FROM wa_zpp_mpo index TBC_9003-current_line.

    else.

      append wa_zpp_mpo to it_zpp_mpo.

    endif

 

Max

Re: SAP Server installation

Characteristic Value Resetting

$
0
0

Dear All,

 

I need your suggestion for a scenario below:

 

Characteristic TAT has the values; TAT1, TAT2, TAT3, TAT5

Characteristic WRAP has one value; Yes.

 

The restriction is that, when TAT1 is selected, WRAP should be hidden always. I have used a procedure to hide the characteristic when TAT1 is selected.

 

Now, I am having problem when I am creating sales order.

 

When creating a sales order and using TAT2 or TAT3 or TAT5, the restriction does not apply for WRAP characteristic and Yes is also selected, and after completing the configuration and going back to line item, if I decide to change the value of TAT to TAT1, procedure gets triggered and WRAP characteristic gets hidden but the earlier selected value "Yes" for WRAP does not get deleted.  Only the characteristic gets hidden.

 

I want to write a syntax in such a way that before the procedure gets triggered, I want to delete the earlier selected value of WRAP 'Yes', and then the procedure should get triggered.

 

Can anybody help me in acheiving this?

 

 

Thanks and Regards

Adithya

Re: RSECADMIN: automatic generation of profiles

$
0
0

Hi,

 

thanks for your help!

 

I have one question left: I would like to adapt e.g. the description for the profiles, so I am using DSO 0TCA_DS03.

 

Can I simply load the new texts and do the generation again in RSECADMIN?

 

We already assigned profiles to roles - I hope it doesn't interfere?

 

Thanks!


Re: Student Contract account creation error

$
0
0

Vinod,

Check this IMG step.

 

 

Regards,

Prabhat Singh

Re: MAI Monitoring alert response time / interval of occurred errors

$
0
0

To add on to what @D. Kroone stated, you need to create a custom template first as you can't change the ones delivered by SAP, second you need to hit the 'Change Settings' button to allow for changing the default time of 15 mins to what you want; but you can also only have it set to only fire on week days or perhaps just weekends (if you check the 'Advanced' box these selections will become visible).

And if your Windows server has multiple drives in it you can define specific drives that you want the metric to cover vs all the drives; in some cases the C:\ may be covered by the server team and your responsibility falls on the D:\ (aka the metric group variant)

 

Here is the screenshot that I pre-pared before seeing that D. Kroone beat me to the punch:

default.time.on.metrics.png

Re: How to convert number into words in HCM process & forms

$
0
0

Hi Rajesh,

 

Try this function module HR_IN_CHG_INR_WRDS

 

--

Rakesh

Re: HOW TO CALL SMART FORM FROM ALV

$
0
0

Hi Selva,

 

Design the smartform which you want. After that in the ALV we have one parameter USER_COMMAND

In that we want to write the logic as below.

 

Form user_command using v_ucomm type sy-ucomm

                                        wa_selfield type slis_selfield.

 

Case : wa_selfied-value.

 

when 'EBELN'    " say for example

 

Call the Smartform here by calling its FM.(The FM which you got after activating the smartform).

 

 

endcase.

 

endform.

 

Hope this helps you.

 

Thanks

Pavan.N

Re: PID with Reason PRIV

$
0
0

Hi Karthick,

 

Can I please ask how the answer was provided to you? I don't understand how "Could you pls elabarate" was able to answer your query.

 

Thanks!

Re: Problem in me 01

$
0
0

Hi Tarak,  

 

I am pasting my code here. Its in OOP,

 

Please help me

 

 

TYPE-POOLS: ztgrp, truxs.

*Variables
DATA: gv_err TYPEc.
*Workarea
DATA: gs_data TYPE ztgrp_sldata.
*Internal tables
DATA: gt_data TYPESTANDARDTABLEOF ztgrp_sldata,
      gt_bdcmsg TYPETABLEOF bdcmsgcoll.
*Object
DATA: obj_sl TYPEREFTO zcl_sl.

*Include Selection screen
INCLUDE zselscreen.

*Start-of-Selection
START-OF-SELECTION.

* Initialize the variables, work area and internal tables
  CLEAR gv_err.
  REFRESH gt_data[].

  IF p_app EQ'X'.
*   Check the input paramters
    PERFORM check_par_app.
    CHECK gv_err ISINITIAL.
*   Upload the comma separated file from Application server
    PERFORM upload_app.
  ELSE.
*   Check the input paramters
    PERFORM check_par_pre.
    CHECK gv_err ISINITIAL.
*   Upload the comma separated file/Excel file from Presentation server
    PERFORM upload_pre.
  ENDIF.
*&---------------------------------------------------------------------*
*&      Form  UPLOAD_APP
*&---------------------------------------------------------------------*
*       Upload the comma separated file from Application server
*----------------------------------------------------------------------*
FORM upload_app .
*Read the file from Application Server
  PERFORM file_read.
* Check for error
  CHECK gv_err ISINITIAL.
  IF gt_data ISINITIAL.
    MESSAGE i002.
    gv_err = 'X'.
    EXIT.
  ENDIF.
* Create data object
  CREATE OBJECT obj_sl.
* Create vendor using BDC and call transaction XK01
  PERFORM create_source_list.
* Write log files
  CALLMETHOD obj_sl->write_log_files
    EXPORTING
      i_sfile = p_asfile
      i_efile = p_aefile.
* Write screen output
  CALLMETHOD obj_sl->write_screen_out.
* Free the object
  FREE obj_sl.
ENDFORM.                    " UPLOAD_APP
*&---------------------------------------------------------------------*
*&      Form  CREATE_SOURCE_LIST
*&---------------------------------------------------------------------*
*       create source list
*----------------------------------------------------------------------*
FORM create_source_list .
*Local data
  DATA: lv_fval     TYPE bdcdata-fval,
        lv_fnam     TYPE bdcdata-fnam,
        lv_exists   TYPEc,
        lv_cnt      TYPEi,
        lv_row(2)   TYPEc.

*Refresh the table
  REFRESH obj_sl->gt_bdcdata[].

  LOOPAT gt_data INTO gs_data.
*   Check whether the record is already created?
    CLEAR lv_exists.
    CALLMETHOD:obj_sl->check_exist
       EXPORTING i_data = gs_data
       IMPORTING e_exists = lv_exists.
    IF lv_exists EQ'X'.
      CONTINUE.
    ENDIF.



    CALLMETHOD: obj_sl->bdc_dynpro
                           EXPORTING i_program  = 'SAPLMEOR'
                                     i_dynpro   = '0200'
                                     i_dynbegin = 'X'.
    CALLMETHOD: obj_sl->bdc_data
                           EXPORTING i_fnam = 'BDC_CURSOR'
                                     i_fval = 'EORD-WERKS',
                 obj_sl->bdc_data
                           EXPORTING i_fnam = 'BDC_OKCODE'
                                     i_fval = '/00'.
    CLEAR lv_fval.
    lv_fval = gs_data-matn.
    CALLMETHOD: obj_sl->bdc_data
                          EXPORTING i_fnam = 'EORD-MATNR'
                                    i_fval = lv_fval.
    CLEAR lv_fval.
    lv_fval = gs_data-plnt.
    CALLMETHOD: obj_sl->bdc_data
                          EXPORTING i_fnam = 'EORD-WERKS'
                                    i_fval = lv_fval.



    CALLMETHOD: obj_sl->bdc_dynpro
                           EXPORTING i_program  = 'SAPLMEOR'
                                     i_dynpro   = '0205'
                                     i_dynbegin = 'X'.


*   Now get the line no where the record needs to be inserted
    CLEAR lv_cnt.
    CALLMETHOD obj_sl->get_count
      EXPORTING
        i_data = gs_data
      IMPORTING
        e_cnt  = lv_cnt.

    lv_cnt = lv_cnt + 1.
    CLEAR lv_fval.
    lv_row = lv_cnt.




*    if lv_row le 20.
    CONCATENATE'EORD-EKORG(' lv_row ')'INTO lv_fval.
    CALLMETHOD: obj_sl->bdc_data
                           EXPORTING i_fnam = 'BDC_CURSOR'
                                     i_fval = lv_fval,



                   obj_sl->bdc_data
                           EXPORTING i_fnam = 'BDC_OKCODE'
                                     i_fval = '=BU'.


    CLEAR lv_fval.
    lv_fval = gs_data-valf.
    CLEAR lv_fnam.
    CONCATENATE'EORD-VDATU(' lv_row ')'INTO lv_fnam.
    CALLMETHOD: obj_sl->bdc_data
                          EXPORTING i_fnam = lv_fnam
                                    i_fval = lv_fval.
    CLEAR lv_fval.
    lv_fval = gs_data-valt.
    CLEAR lv_fnam.
    CONCATENATE'EORD-BDATU(' lv_row ')'INTO lv_fnam.
    CALLMETHOD: obj_sl->bdc_data
                          EXPORTING i_fnam = lv_fnam
                                    i_fval = lv_fval.
    CLEAR lv_fval.
    lv_fval = gs_data-vend.
    CLEAR lv_fnam.
    CONCATENATE'EORD-LIFNR(' lv_row ')'INTO lv_fnam.
    CALLMETHOD: obj_sl->bdc_data
                          EXPORTING i_fnam = lv_fnam
                                    i_fval = lv_fval.

    CLEAR lv_fval.
    lv_fval = gs_data-porg.
    CLEAR lv_fnam.
    CONCATENATE'EORD-EKORG(' lv_row ')'INTO lv_fnam.
    CALLMETHOD: obj_sl->bdc_data
                          EXPORTING i_fnam = lv_fnam
                                    i_fval = lv_fval.




*   Refresh the error message table
    REFRESH gt_bdcmsg[].
*   Call transaction ME01
    CALLMETHOD obj_sl->create_slist
      CHANGING
        gt_bdcmsg_e = gt_bdcmsg[].
*   Refresh the table
    REFRESH obj_sl->gt_bdcdata[].
*   Log error and success data
    CALLMETHOD obj_sl->insert_final_tabs
      EXPORTING
        i_data      = gs_data
        gt_bdcmsg_i = gt_bdcmsg[].

  ENDLOOP.
ENDFORM.                    " CREATE_SOURCE_LIST
*&---------------------------------------------------------------------*
*&      Form  FILE_READ
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
FORM file_read .
* Local data dec
  CONSTANTS: gc_sep TYPEcVALUE','.
  DATA: gv_str(1000) TYPEc.

* Using Open dataset
  OPENDATASET p_afile FORINPUTINTEXTMODEENCODINGDEFAULT.
  IF sy-subrc NE0.
*   Set error flag
    gv_err = 'X'.
    MESSAGE i000.
    EXIT.
  ENDIF.
* Read the data into string
  DO.
    CLEAR gv_str.
    READDATASET p_afile INTO gv_str.
    IF sy-subrc NE0.
      EXIT.
    ENDIF.
    IF sy-indexEQ1.
*     Dont read file header
      CONTINUE.
    ENDIF.
*   Split the read record on ',' and append to internal table
    SPLIT gv_str AT gc_sep
          INTO gs_data-matn
               gs_data-plnt
               gs_data-valf
               gs_data-valt
               gs_data-vend
               gs_data-porg.
    IF gs_data-matn ISINITIALAND gs_data-plnt ISINITIAL.
      CONTINUE.
    ENDIF.
    APPEND gs_data TO gt_data[].
  ENDDO.
* Close file after read
  CLOSEDATASET p_afile.
ENDFORM.                    " FILE_READ
*&---------------------------------------------------------------------*
*&      Form  UPLOAD_PRE
*&---------------------------------------------------------------------*
*       Upload the comma separated file/Excel file from Presentation
*       server
*----------------------------------------------------------------------*
FORM upload_pre .
  IF p_csv EQ'X'.
    CLEAR gv_err.
*   Upload csv file
    PERFORM upload_csv.
*   Check for error
    CHECK gv_err ISINITIAL.
*   Create data object
    CREATE OBJECT obj_sl.
*   Create source list using BDC and call transaction ME01
    PERFORM create_source_list.
    CALLMETHOD obj_sl->write_log_pres
      EXPORTING
        i_sfile = p_psfile
        i_efile = p_pefile
        i_type  = 'C'.
*   Write screen output
    CALLMETHOD obj_sl->write_screen_out.
*   Free Object
    FREE obj_sl.
  ELSE.
    CLEAR gv_err.
*   Upload xls file
    PERFORM upload_xls.
*   Check for error
    CHECK gv_err ISINITIAL.
*   Create data object
    CREATE OBJECT obj_sl.
*   Create source list using BDC and call transaction ME01
    PERFORM create_source_list.
    callmethod obj_sl->write_log_pres
      exporting
        i_sfile = p_psfile
        i_efile = p_pefile
        i_type  = 'X'.
*   Write screen output
    CALLMETHOD obj_sl->write_screen_out.
*   Free Object
    FREE obj_sl.
  ENDIF.
ENDFORM.                    " UPLOAD_PRE
*&---------------------------------------------------------------------*
*&      Form  UPLOAD_CSV
*&---------------------------------------------------------------------*
*       Upload CSV
*----------------------------------------------------------------------*
FORM upload_csv .
  DATA: lv_fname TYPE string,
          lt_csv TYPE truxs_t_text_data,
          ls_csv(4096) TYPEc.

  lv_fname = p_pfile.
  CALLFUNCTION'GUI_UPLOAD'
    EXPORTING
      filename                = lv_fname
      filetype                = 'DAT'
    TABLES
      data_tab                = lt_csv
    EXCEPTIONS
      file_open_error         = 1
      file_read_error         = 2
      no_batch                = 3
      gui_refuse_filetransfer = 4
      invalid_type            = 5
      no_authority            = 6
      unknown_error           = 7
      bad_data_format         = 8
      header_not_allowed      = 9
      separator_not_allowed   = 10
      header_too_long         = 11
      unknown_dp_error        = 12
      access_denied           = 13
      dp_out_of_memory        = 14
      disk_full               = 15
      dp_timeout              = 16
      OTHERS                  = 17.
  IF sy-subrc <> 0.
    MESSAGE i000 WITH p_pfile.
    gv_err = 'X'.
    EXIT.
  ENDIF.

  LOOPAT lt_csv INTO ls_csv.
    IF sy-tabix EQ1.
*     If Header?
      CONTINUE.
    ENDIF.
*   Split the read record on ',' and append to internal table
    SPLIT ls_csv AT','
          INTO gs_data-matn
               gs_data-plnt
               gs_data-valf
               gs_data-valt
               gs_data-vend
               gs_data-porg.
    IF gs_data-matn ISINITIALAND gs_data-plnt ISINITIAL.
      CONTINUE.
    ENDIF.
    APPEND gs_data TO gt_data[].
  ENDLOOP.

ENDFORM.                    " UPLOAD_CSV
*&---------------------------------------------------------------------*
*&      Form  UPLOAD_XLS
*&---------------------------------------------------------------------*
*       Upload XLS
*----------------------------------------------------------------------*
FORM upload_xls .
  DATA: lt_exl TYPE truxs_t_text_data.
  CALLFUNCTION'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
      i_line_header        = 'X'
      i_tab_raw_data       = lt_exl
      i_filename           = p_pfile
    TABLES
      i_tab_converted_data = gt_data[]
    EXCEPTIONS
      conversion_failed    = 1
      OTHERS               = 2.

  IF sy-subrc <> 0.
    MESSAGE i000 WITH p_pfile.
    gv_err = 'X'.
    EXIT.
  ENDIF.
ENDFORM.

 

 

Regards

Veda

 

Re: ORG Chart Position Hierarchy Modification

$
0
0

Hi Sanjai,

 

If this is through Extractor Class (e.g. a non-configurable Nakisa extractor class) then you cannot modify it. Maybe you can attach your data element configuration for us to review.

 

Unless the data element is correct then you won't see anything else in the application.

 

Best regards,

 

Luke


Re: Need tables which consists for Material Views ??

$
0
0

Hi Lokeswar,

 

First identify which table store views of a material that is T132 and from that you can go to MARA table and in that PSTAT is a field from which you can understand which view is created for a

material.

 

Regards

Nishant

Dump : GETWA_NOT_ASSIGNED in

$
0
0

Hi All,

 

Kindly see the below screen shot.

 

1.JPG2.JPG3.JPG4.JPG5.JPG

6.JPG

7.JPG

Kindly Help.

Thanks

Re: Error in Activation if Info Object from BI Content

$
0
0

Hi All,

 

Thanks for your replies.

 

I tried installing the info object from business content but while installing its giving the error as mentioned in the sceenshot above.

 

Even i treied the program RSDG_IOBJ_ACTIVATE and it is not working. Giving the same error of activation.

 

Thanks,

Shubhramukta

cant see my SCN points

$
0
0

I cant see my SCN points, is there any particular reason? seams that the points where deleted.

 

Best Regards

Rodrigo

Re: Monitoring Questions

Viewing all 8667 articles
Browse latest View live




Latest Images