Quantcast
Channel: SCN : All Content - All Communities
Viewing all 2169 articles
Browse latest View live

Master replicate in Console DB

$
0
0

Hi Expert,

 

In the intercompany integration add-on we found that we can't replicate the master data to Console DB.

So please anybody let me know if we want to replicate the Master data to console DB then what configuration we have to do.

And if its not possible then please give me the reason.

 

Regards,

Tushar


Reading S80 table

$
0
0

Hi All,

 

 

Let me know, if it is possible to read S80 table. This is 80D deduction.

I have applied 40000 each for level.

However with certain level there is maximum ded amount.

 

Let me know, if i can get anywhere this amount?

 

Capture.PNG

 

Regard

KKS

How to resolve this errors in F12 Chrome

Tax code error for Auto PO generation from TM to ERP

$
0
0

HI All,

 

Hoping someone can assist.

 

We have been processing ERS from TM to ERP for a month now but in the last few instances have received an error for the same vendor "In Case of evaluated receipt settlement, please enter tax code".

 

I cannot identify anything that has changed recently for the process or vendor. And no other discussions seem to be able to assist.

Is anyone able to assist?

 

Tax code error.jpg

What is sorter in sapui5?

$
0
0

Hi,

 

I don't have any idea about sap.ui.model.sorter.

 

can anybody tell me, what is sorter, why we use, when we use and where i could use it?

 

Thanks,

Rohit.

Tabla donde se registran las peticiones de Autorización

$
0
0

Hola apreciados Consultores muy buenas noches

 

a continuación solicito de manera muy amable si alguien en este maravilloso foro tiene conocimiento

de donde o en que tabla se registran las peticiones de  procesos de autorización de x Documento

 

Mi Solicitud radica de que los usuarios que autorizan no tienen el tiempo de abrir Sap Business one

para verificar que Autorizaciones tienen pendientes  de Aprobar o Rechazar

 

Por lo mismo solicitan que les llegue un mensaje por correo electrónico donde se les informe

que autorizaciones tienen pendientes de aprobar

 

Mi Solución: Crear una tabla de usuario de tipo no Objeto

hacer un insert into  si no existe un dato repetido a la tabla de usuario de tipo no Objeto

con los datos consultados de la tabla donde se registran las peticiones de  Autorización

poner una Bandera  de enviar correo de tipo SI/NO

 

Luego Crear una consulta a  la tabla de usuario de tipo no Objeto

donde la bandera sea igual  SI

 

Salir de la consulta y Actualizar el SI Por el NO

 

 

Crear una alarma  que envié por correo electrónico la consulta  Sql

 

El problema radica es que no se en que tabla se guardan los datos

de cada vez que se genera una petición de Autorización

 

 

de Antemano muchas gracias por su amable atención

Standard integration for SAP C4C with SAP ERP- CS (Customer service)

$
0
0

Is there any standard integrations for SAP C4C application with SAP ERP- CS (Customer service)?

ALV Grid Having Problem After Upgrade from 4.7 to ECC6

$
0
0

Hello Friends,

 

I am having some issue i have created a library for ALV GRID which will bind field catalog and other.

 

When ever i bind this error occured on my screen GETWA_NOT_ASSIGNED.

I know there is something wrong in my field catalog but i have now bind only 1 field on my field catalog but still having this issue.

 

 

--Start Here

 

 

* Build ALV Layout

   clear d_alv_layout.

   perform f_alv_build_layout using :

    'ZEBRA'            'X',

    'LIGHTS_FIELDNAME' 'LIGHTS',

    'LIGHTS_TABNAME'   'T_UPLOAD',

    'LIGHTS_CONDENSE'  'X',

    'BOX_FIELDNAME'    'BOX',

    'BOX_TABNAME'      'T_UPLOAD'.

  

   DATA: lv_fctlg TYPE slis_fieldcat_alv.

    lv_fctlg-tabname       = 'T_UPLOAD'.

    lv_fctlg-seltext_s     = 'TAX CODE'.

    lv_fctlg-seltext_m     = 'TAX CODE'.

    lv_fctlg-seltext_l     = 'TAX CODE'.

    lv_fctlg-fieldname     = 'MSWKZ2'.

    lv_fctlg-ref_tabname   = 'BKPF'.

    lv_fctlg-ref_fieldname = 'IBLAR'.

    lv_fctlg-col_pos       = 0.

APPEND lv_fctlg TO t_alv_fctlg.

 

   PERFORM f_alv_list_display TABLES t_upload USING 'T_UPLOAD' d_alv_save.

 

 

 

--End Here

 

 

 

========================

 

ZABPXIN_ALV

 

========================

--------------------------------------------------------------------

TYPE-POOLS: slis.

*---------------------------------------------------------------------*

*     Data object declaration

*---------------------------------------------------------------------*

DATA: t_alv_fctlg TYPE slis_t_fieldcat_alv,

       t_alv_event TYPE slis_t_event WITH HEADER LINE,

       t_alv_isort TYPE slis_t_sortinfo_alv WITH HEADER LINE,

       t_alv_extab TYPE slis_t_extab WITH HEADER LINE,

       t_alv_filtr TYPE slis_t_filter_alv WITH HEADER LINE,

       t_header    TYPE slis_t_listheader,

       d_alv_isort TYPE slis_sortinfo_alv,

       d_alv_varnt TYPE disvariant,

       d_alv_lscrl TYPE  slis_list_scroll,

       d_alv_sort_postn TYPE i,

       d_alv_save(1) TYPE c,

       d_alv_varnm LIKE disvariant-variant,

       d_alv_qinfo TYPE slis_keyinfo_alv,

       d_alv_fctlg TYPE slis_fieldcat_alv,

       d_alv_stats TYPE slis_formname,

       d_alv_ucomm TYPE slis_formname,

       d_alv_print TYPE slis_print_alv,

       d_alv_repid LIKE sy-repid,

       d_alv_top_of_page TYPE slis_formname,

       d_alv_tabix LIKE sy-tabix,

       d_alv_subrc LIKE sy-subrc,

       d_alv_bg_id LIKE bapibds01-objkey VALUE 'ALV_BACKGROUND',

       d_alv_screen_start_column TYPE i,

       d_alv_screen_start_line   TYPE i,

       d_alv_screen_end_column   TYPE i,

       d_alv_screen_end_line     TYPE i,

       d_alv_layout TYPE slis_layout_alv.

 

CONSTANTS : c_top_of_page TYPE slis_formname VALUE 'F_TOP_OF_PAGE',

             c_end_of_page TYPE slis_formname VALUE 'F_END_OF_PAGE',

             c_user_command TYPE slis_formname VALUE 'F_USER_COMMAND'.

 

* Variant

SELECTION-SCREEN BEGIN OF BLOCK 0 WITH FRAME TITLE text-v01.

PARAMETERS: p_vari LIKE disvariant-variant.

SELECTION-SCREEN END OF BLOCK 0.

 

DEFINE macro_alv_disp_options.

   selection-screen begin of block 1 with frame title text-v02.

   parameters: p_grid radiobutton group rg01 default 'X',

               p_list radiobutton group rg01.

   selection-screen end of block 1.

END-OF-DEFINITION.

 

* Process on value request

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.

   PERFORM f_alv_variant_f4 CHANGING d_alv_varnt-variant.

 

*AT SELECTION-SCREEN.

*  PERFORM f_alv_selscr_input.

 

*&---------------------------------------------------------------------*

*&      FORM F_ALV_INIT

*&---------------------------------------------------------------------*

*       Initialize ALV variables

*----------------------------------------------------------------------*

FORM f_alv_init.

   d_alv_repid = sy-repid.

   d_alv_save = 'A'.

   d_alv_varnt-report = sy-repid.

   PERFORM f_alv_get_default_variant.

ENDFORM.                    " f_alv_init

 

 

*&--------------------------------------------------------------------*

*&      Form  F_ALV_GET_DEFAULT_VARIANT

*&--------------------------------------------------------------------*

*       Get ALV Default Variant

*---------------------------------------------------------------------*

FORM f_alv_get_default_variant.

 

   CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'

     EXPORTING

       i_save     = d_alv_save

     CHANGING

       cs_variant = d_alv_varnt

     EXCEPTIONS

       not_found  = 2.

 

   IF sy-subrc = 0.

     p_vari = d_alv_varnt-variant.

   ENDIF.

 

 

ENDFORM.                    "F_ALV_GET_DEFAULT_VARIANT

 

*---------------------------------------------------------------------*

*       FORM F_ALV_BUILD_COMMENT                                      *

*---------------------------------------------------------------------*

*       Build ALV Header                                              *

*---------------------------------------------------------------------*

FORM f_alv_build_comment TABLES ft_top_of_page TYPE slis_t_listheader

                          USING  fu_typ fu_key fu_info.

 

* fu_typ = H, S, or A.

*   H = Header (big), S = Selection (reg) , A = Action (small)

   ft_top_of_page-typ  = fu_typ.

   ft_top_of_page-key  = fu_key.

   ft_top_of_page-info = fu_info.

   APPEND ft_top_of_page.

 

ENDFORM.                    "f_alv_build_comment

 

*---------------------------------------------------------------------*

*       FORM F_ALV_TOP_OF_PAGE                                        *

*---------------------------------------------------------------------*

*       Display ALV TOP-OF-PAGE                                       *

*---------------------------------------------------------------------*

FORM f_alv_top_of_page USING fu_logo.

   CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

     EXPORTING

       i_logo             = fu_logo

       it_list_commentary = t_header.

ENDFORM.     "F_ALV_TOP_OF_PAGE

 

*---------------------------------------------------------------------*

*       FORM F_ALV_END_OF_PAGE                                        *

*---------------------------------------------------------------------*

*       Display ALV END-OF-PAGE                                       *

*---------------------------------------------------------------------*

FORM f_alv_end_of_page.

 

ENDFORM.                    "F_ALV_END_OF_PAGE

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_BUILD_EVENT

*&---------------------------------------------------------------------*

*       Build ALV events (TOP-OF-PAGE, END-OF-PAGE, etc)

*----------------------------------------------------------------------*

FORM f_alv_build_event USING fu_pname fu_pform.

 

   CLEAR t_alv_event.

   t_alv_event-name = fu_pname.

   t_alv_event-form = fu_pform.

   APPEND t_alv_event.

 

ENDFORM.                    " F_BUILD_EVENT

 

*---------------------------------------------------------------------*

*       FORM F_ALV_BUILD_EXTAB                                        *

*---------------------------------------------------------------------*

*       Exclude ALV GUI status                                        *

*---------------------------------------------------------------------*

FORM f_alv_build_extab USING fu_fcode LIKE rsmpe-func.

   t_alv_extab-fcode = fu_fcode.

   APPEND t_alv_extab.

ENDFORM.                    "f_alv_build_extab

 

*---------------------------------------------------------------------*

*       FORM F_ALV_SET_PF_STAT                                        *

*---------------------------------------------------------------------*

*       Set ALV PF Status                                             *

*---------------------------------------------------------------------*

FORM f_alv_set_pf_stat USING value(fu_ucomm) TYPE slis_formname.

   CLEAR d_alv_stats.

   d_alv_stats = fu_ucomm.

ENDFORM.                    "f_alv_set_pf_stat

 

*---------------------------------------------------------------------*

*       FORM F_ALV_SET_UCOMM                                          *

*---------------------------------------------------------------------*

*       Set ALV user callback command                                 *

*---------------------------------------------------------------------*

FORM f_alv_set_ucomm USING value(fu_ucomm) TYPE slis_formname.

   CLEAR d_alv_ucomm.

   d_alv_ucomm = fu_ucomm.

ENDFORM.                    "f_alv_set_ucomm

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_BUILD_LAYOUT

*&---------------------------------------------------------------------*

*       Build ALV layout

*----------------------------------------------------------------------*

FORM f_alv_build_layout USING fu_field fu_value.

 

   DATA: ld_field(60).

   FIELD-SYMBOLS : <fs>.

 

   CONCATENATE 'D_ALV_LAYOUT-' fu_field INTO ld_field.

   ASSIGN (ld_field) TO <fs>.

   CHECK sy-subrc = 0.

   <fs> = fu_value.

 

ENDFORM.  " F_ALV_BUILD_LAYOUT

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_SORT

*&---------------------------------------------------------------------*

*       Sort ALV catalog

*----------------------------------------------------------------------*

FORM f_alv_sort USING fu_table fu_field fu_ascnd fu_subtot.

   DATA: ld_isort TYPE slis_sortinfo_alv.

   d_alv_sort_postn = d_alv_sort_postn + 1.

   ld_isort-tabname   = fu_table.

   ld_isort-fieldname = fu_field.

   IF fu_ascnd = 'X'.

     ld_isort-up = 'X'.

   ELSE.

     ld_isort-down = 'X'.

   ENDIF.

   ld_isort-spos      = d_alv_sort_postn.

   ld_isort-subtot    = fu_subtot.

   APPEND ld_isort TO t_alv_isort.

ENDFORM.                    " F_ALV_SORT

 

*&---------------------------------------------------------------------*

*&       FORM F_ALV_BUILD_KEY_INFO

*&---------------------------------------------------------------------*

*        Build ALV Relationships in ALV Hierarchical Display

*----------------------------------------------------------------------*

FORM f_alv_build_key_info USING fu_header01 TYPE slis_fieldname

                                 fu_item01 TYPE slis_fieldname

                                 fu_header02 TYPE slis_fieldname

                                 fu_item02 TYPE slis_fieldname

                                 fu_header03 TYPE slis_fieldname

                                 fu_item03 TYPE slis_fieldname

                                 fu_header04 TYPE slis_fieldname

                                 fu_item04 TYPE slis_fieldname

                                 fu_header05 TYPE slis_fieldname

                                 fu_item05 TYPE slis_fieldname.

 

   d_alv_qinfo-header01 = fu_header01.

   d_alv_qinfo-item01  = fu_item01.

   d_alv_qinfo-header02 = fu_header02.

   d_alv_qinfo-item02  = fu_item02.

   d_alv_qinfo-header03 = fu_header03.

   d_alv_qinfo-item03  = fu_item03.

   d_alv_qinfo-header04 = fu_header04.

   d_alv_qinfo-item04  = fu_item04.

   d_alv_qinfo-header05 = fu_header05.

   d_alv_qinfo-item05  = fu_item05.

 

ENDFORM.                    "f_alv_build_key_info

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_BUILD_CATALOG

*&---------------------------------------------------------------------*

*      Build ALV Field Catalog

*----------------------------------------------------------------------*

FORM f_alv_build_catalog USING ft_fctlg TYPE slis_t_fieldcat_alv

                                fu_tbnam fu_fname fu_dscrp

                                fu_reftb fu_refld

                                fu_noout fu_outln fu_hotsp fu_jstfy

                                fu_dosum.

   DATA: lv_fctlg TYPE slis_fieldcat_alv.

 

   lv_fctlg-seltext_s     = fu_dscrp.

   lv_fctlg-seltext_m     = fu_dscrp.

   lv_fctlg-seltext_l     = fu_dscrp.

   lv_fctlg-reptext_ddic  = fu_dscrp.

   lv_fctlg-tabname       = fu_tbnam.

   lv_fctlg-fieldname     = fu_fname.

   lv_fctlg-ref_tabname   = fu_reftb.

   lv_fctlg-ref_fieldname = fu_refld.

   lv_fctlg-no_out        = fu_noout.

   lv_fctlg-outputlen     = fu_outln.

   lv_fctlg-hotspot       = fu_hotsp.

   lv_fctlg-just          = fu_jstfy.

   lv_fctlg-do_sum        = fu_dosum.

   APPEND lv_fctlg TO ft_fctlg.

ENDFORM.                               " F_ALV_BUILD_CATALOG

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_MODIFY_CATALOG

*&---------------------------------------------------------------------*

*       Modify ALV Field Catalag

*----------------------------------------------------------------------*

FORM f_alv_modify_catalog USING ft_fctlg TYPE slis_t_fieldcat_alv

                                 fu_tbnam fu_catfield fu_catval fu_fname.

 

   DATA: lv_fctlg TYPE slis_fieldcat_alv.

   DATA: ld_catfield(30).

   DATA: ld_tabix LIKE sy-tabix.

   FIELD-SYMBOLS : <fs>.

 

   READ TABLE ft_fctlg INTO lv_fctlg WITH KEY tabname   = fu_tbnam

                                              fieldname = fu_fname.

   CHECK sy-subrc = 0.

   ld_tabix = sy-tabix.

   CONCATENATE 'LV_FCTLG-' fu_catfield INTO  ld_catfield.

   ASSIGN (ld_catfield) TO <fs>.

   <fs> = fu_catval.

   MODIFY ft_fctlg INDEX ld_tabix FROM lv_fctlg.

 

ENDFORM.                    " F_ALV_MODIFY_CATALOG

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_BUILD_CATALOG_CRNCY

*&---------------------------------------------------------------------*

*      Build ALV Field Catalog for Currency Unit

*----------------------------------------------------------------------*

FORM f_alv_build_catalog_crncy USING ft_fctlg TYPE slis_t_fieldcat_alv

                          fu_tbnam fu_fname fu_dscrp

                          fu_reftb fu_refld fu_outln fu_dosum

                          fu_curky fu_cfild fu_ctbnm fu_jstfy.

   DATA: lv_fctlg TYPE slis_fieldcat_alv,

         ld_lngth TYPE i.

   ld_lngth = STRLEN( fu_dscrp ).

   IF ld_lngth > 25.

     lv_fctlg-seltext_l   = fu_dscrp.

   ELSEIF ld_lngth > 10.

     lv_fctlg-seltext_l   = fu_dscrp.

     lv_fctlg-seltext_m   = fu_dscrp.

   ELSE.

     lv_fctlg-seltext_s   = fu_dscrp.

     lv_fctlg-seltext_m   = fu_dscrp.

     lv_fctlg-seltext_l   = fu_dscrp.

   ENDIF.

   lv_fctlg-tabname       = fu_tbnam.

   lv_fctlg-fieldname     = fu_fname.

   lv_fctlg-ctabname      = fu_reftb.

   lv_fctlg-cfieldname    = fu_refld.

   lv_fctlg-outputlen     = fu_outln.

   lv_fctlg-do_sum        = fu_dosum.

   lv_fctlg-just          = fu_jstfy.

   lv_fctlg-currency      = fu_curky.

   lv_fctlg-cfieldname    = fu_cfild.

   lv_fctlg-ctabname      = fu_ctbnm.

   lv_fctlg-datatype      = 'CURR'.

   APPEND lv_fctlg TO ft_fctlg.

ENDFORM.                    " F_ALV_BUILD_CATALOG_CRNCY

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_CATALOG_EXPNT

*&---------------------------------------------------------------------*

*      Build ALV Field Catalog for Exponential Unit

*----------------------------------------------------------------------*

 

FORM f_alv_catalog_expnt USING ft_fctlg TYPE slis_t_fieldcat_alv

                          fu_tbnam fu_fname fu_dscrp

                          fu_reftb fu_refld

                          fu_outln fu_decml fu_expnt fu_jstfy.

   DATA: lv_fctlg TYPE slis_fieldcat_alv,

         ld_lngth TYPE i.

   ld_lngth = STRLEN( fu_dscrp ).

   IF ld_lngth > 25.

     lv_fctlg-seltext_l   = fu_dscrp.

   ELSEIF ld_lngth > 10.

     lv_fctlg-seltext_l   = fu_dscrp.

     lv_fctlg-seltext_m   = fu_dscrp.

   ELSE.

     lv_fctlg-seltext_s   = fu_dscrp.

     lv_fctlg-seltext_m   = fu_dscrp.

     lv_fctlg-seltext_l   = fu_dscrp.

   ENDIF.

   lv_fctlg-tabname       = fu_tbnam.

   lv_fctlg-fieldname     = fu_fname.

   lv_fctlg-ref_tabname   = fu_reftb.

   lv_fctlg-ref_fieldname = fu_refld.

   lv_fctlg-outputlen     = fu_outln.

   lv_fctlg-decimals_out  = fu_decml.

   lv_fctlg-exponent      = fu_expnt.

   lv_fctlg-datatype      = 'FLTP'.

   lv_fctlg-just          = fu_jstfy.

   APPEND lv_fctlg TO ft_fctlg.

ENDFORM.                    " F_ALV_CATALOG_EXPNT

 

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_BUILD_CATALOG_QTY

*&---------------------------------------------------------------------*

*      Build ALV Field Catalog for quantity unit

*----------------------------------------------------------------------*

FORM f_alv_build_catalog_qty USING ft_fctlg TYPE slis_t_fieldcat_alv

                                fu_tbnam fu_fname fu_dscrp

                                fu_reftb fu_refld fu_noout

                                fu_outln fu_dosum fu_jstfy

                                fu_meins fu_qfild fu_qtbnm.

   DATA: lv_fctlg TYPE slis_fieldcat_alv.

 

   lv_fctlg-seltext_s     = fu_dscrp.

   lv_fctlg-seltext_m     = fu_dscrp.

   lv_fctlg-seltext_l     = fu_dscrp.

   lv_fctlg-reptext_ddic  = fu_dscrp.

   lv_fctlg-tabname       = fu_tbnam.

   lv_fctlg-fieldname     = fu_fname.

   lv_fctlg-ref_tabname   = fu_reftb.

   lv_fctlg-ref_fieldname = fu_refld.

   lv_fctlg-no_out        = fu_noout.

   lv_fctlg-outputlen     = fu_outln.

   lv_fctlg-do_sum        = fu_dosum.

   lv_fctlg-just          = fu_jstfy.

   lv_fctlg-quantity      = fu_meins.

   lv_fctlg-qfieldname    = fu_qfild.

   lv_fctlg-qtabname      = fu_qtbnm.

   APPEND lv_fctlg TO ft_fctlg.

ENDFORM.                               " F_ALV_BUILD_CATALOG_QTY

 

*&---------------------------------------------------------------------*

*&      Form  F_GET_CATALOG

*&---------------------------------------------------------------------*

* @FT_FCTLG = internal table to store field catalog result

* @FU_TABLE = internal table name

* @FU_STRCT = Table/Structure name

* description: Purpose to get field attribute from data dictionary

*              (Table/Structure) and save as ALV field catalog

FORM f_alv_get_catalog TABLES ft_fctlg TYPE slis_t_fieldcat_alv

                        USING  fu_table

                               fu_strct.

   DATA: ld_table TYPE slis_tabname,

         ld_strct LIKE dd02l-tabname,

         ld_fctlg TYPE slis_fieldcat_alv,

         lt_fctlg TYPE slis_t_fieldcat_alv.

   ld_table = fu_table.

   ld_strct = fu_strct.

   CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

     EXPORTING

       i_internal_tabname     = ld_table

       i_structure_name       = ld_strct

       i_bypassing_buffer     = 'X'

     CHANGING

       ct_fieldcat            = lt_fctlg

     EXCEPTIONS

       inconsistent_interface = 1

       program_error          = 2

       OTHERS                 = 3.

   IF sy-subrc <> 0.

   ENDIF.

   ld_fctlg-currency = 'IDR'.

   MODIFY lt_fctlg FROM ld_fctlg TRANSPORTING currency

     WHERE datatype EQ 'CURR'.

   APPEND LINES OF lt_fctlg TO ft_fctlg.

ENDFORM.                    " F_GET_CATALOG

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_LIST_DISPLAY

*&---------------------------------------------------------------------*

*       Generate ALV classic display

*----------------------------------------------------------------------*

FORM f_alv_list_display TABLES ft_table

                         USING  fu_table TYPE slis_tabname

                                fu_fsave.

   d_alv_varnt-report = d_alv_repid.

   CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'

       EXPORTING

             i_callback_program       = d_alv_repid

             i_callback_pf_status_set = d_alv_stats

             i_callback_user_command  = d_alv_ucomm

*           I_STRUCTURE_NAME         =

             is_layout                = d_alv_layout

             it_fieldcat              = t_alv_fctlg

             it_excluding             = t_alv_extab[]

             it_sort                  = t_alv_isort[]

             i_default                = 'X'

             i_save                   = fu_fsave

             is_variant               = d_alv_varnt

             it_events                = t_alv_event[]

             is_print                 = d_alv_print

             i_screen_start_column    = d_alv_screen_start_column

             i_screen_start_line      = d_alv_screen_start_line

             i_screen_end_column      = d_alv_screen_end_column

             i_screen_end_line        = d_alv_screen_end_line

        TABLES

             t_outtab                 = ft_table[]

        EXCEPTIONS

             program_error            = 1

             OTHERS                   = 2.

 

ENDFORM.                    " F_ALV_LIST_DISPLAY

 

*---------------------------------------------------------------------*

*       FORM F_ALV_GRID_DISPLAY                                       *

*---------------------------------------------------------------------*

*       Generate ALV grid display                                     *

*---------------------------------------------------------------------*

FORM f_alv_grid_display TABLES ft_table.

   d_alv_varnt-report = d_alv_repid.

   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

     EXPORTING

       i_callback_program       = d_alv_repid

       i_callback_pf_status_set = d_alv_stats

       i_callback_user_command  = d_alv_ucomm

       i_callback_top_of_page   = d_alv_top_of_page

       i_background_id          = d_alv_bg_id

       is_layout                = d_alv_layout

       it_fieldcat              = t_alv_fctlg

       it_excluding             = t_alv_extab[]

       it_sort                  = t_alv_isort[]

       i_default                = 'X'

       i_save                   = d_alv_save

       is_variant               = d_alv_varnt

       it_events                = t_alv_event[]

       is_print                 = d_alv_print

       i_screen_start_column    = d_alv_screen_start_column

       i_screen_start_line      = d_alv_screen_start_line

       i_screen_end_column      = d_alv_screen_end_column

       i_screen_end_line        = d_alv_screen_end_line

     TABLES

       t_outtab                 = ft_table

     EXCEPTIONS

       program_error            = 1

       OTHERS                   = 2.

ENDFORM.         " F_ALV_GRID_DISPLAY

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_HIER_DISPLAY

*&---------------------------------------------------------------------*

*       Generate ALV hierarchical display (header & item level)

*----------------------------------------------------------------------*

FORM f_alv_hier_display TABLES ft_headr

                                ft_items

                         USING  fu_headr TYPE slis_tabname

                                fu_items TYPE slis_tabname

                                fu_fsave.

   d_alv_varnt-report = d_alv_repid.

   CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'

     EXPORTING

       i_callback_program       = d_alv_repid

       i_callback_pf_status_set = d_alv_stats

       i_callback_user_command  = d_alv_ucomm

       is_layout                = d_alv_layout

       i_save                   = fu_fsave

       it_fieldcat              = t_alv_fctlg

       it_excluding             = t_alv_extab[]

       it_sort                  = t_alv_isort[]

       it_events                = t_alv_event[]

       is_variant               = d_alv_varnt

       i_tabname_header         = fu_headr

       i_tabname_item           = fu_items

       is_keyinfo               = d_alv_qinfo

       is_print                 = d_alv_print

       i_screen_start_column    = d_alv_screen_start_column

       i_screen_start_line      = d_alv_screen_start_line

       i_screen_end_column      = d_alv_screen_end_column

       i_screen_end_line        = d_alv_screen_end_line

     TABLES

       t_outtab_header          = ft_headr

       t_outtab_item            = ft_items

     EXCEPTIONS

       program_error            = 1

       OTHERS                   = 2.

ENDFORM.                     " F_ALV_HIER_DISPLAY

 

*&---------------------------------------------------------------------*

*&      Form  F_GET_TABLES2

*&---------------------------------------------------------------------*

FORM f_alv_get_tables2 TABLES ft_headr ft_items.

   CALL FUNCTION 'REUSE_ALV_HS_TABLES_GET'

     TABLES

       et_outtab_master = ft_headr

       et_outtab_detail = ft_items

     EXCEPTIONS

       no_infos         = 1

       OTHERS           = 2.

ENDFORM.                    " F_GET_TABLES

 

*---------------------------------------------------------------------*

*       FORM F_ALV_GET_TABLES                                         *

*---------------------------------------------------------------------*

FORM f_alv_get_tables1 TABLES ft_table.

   CALL FUNCTION 'REUSE_ALV_TABLES_GET'

     TABLES

       et_outtab = ft_table

     EXCEPTIONS

       no_infos  = 1

       OTHERS    = 2.

ENDFORM.                    " F_GET_TABLES

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_VARIANT_F4

*&---------------------------------------------------------------------*

FORM f_alv_variant_f4 CHANGING fc_varnt.

   DATA: rs_variant LIKE disvariant.

   rs_variant-report   = d_alv_repid.

   rs_variant-username = sy-uname.

   CALL FUNCTION 'REUSE_ALV_VARIANT_F4'

     EXPORTING

       is_variant = rs_variant

       i_save     = 'A'

     IMPORTING

       es_variant = rs_variant

     EXCEPTIONS

       OTHERS     = 1.

   IF sy-subrc = 0.

     fc_varnt = rs_variant-variant.

     p_vari = rs_variant-variant.

   ENDIF.

ENDFORM.                               " ALV_VARIANT_F4

 

*&---------------------------------------------------------------------*

*&      Form  f_alv_selscr_input

*&---------------------------------------------------------------------*

*       PAI of ALV selection screen

*----------------------------------------------------------------------*

FORM f_alv_selscr_input.

   DATA : rs_variant LIKE disvariant.

 

   IF NOT p_vari IS INITIAL.

     MOVE d_alv_varnt TO rs_variant.

     MOVE p_vari TO rs_variant-variant.

     CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'

       EXPORTING

         i_save     = d_alv_save

       CHANGING

         cs_variant = rs_variant.

 

     d_alv_varnt = rs_variant.

   ELSE.

     CLEAR d_alv_varnt.

     d_alv_varnt  = d_alv_repid.

   ENDIF.

 

ENDFORM.                    " f_alv_selscr_input

*&---------------------------------------------------------------------*

*&      Form  F_ALV_BUILD_PRINT_OPT

*&---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

FORM f_alv_build_print_opt USING fu_field fu_value.

 

   DATA: ld_field(60).

   FIELD-SYMBOLS : <fs>.

 

   CONCATENATE 'D_ALV_PRINT-' fu_field INTO ld_field.

   ASSIGN (ld_field) TO <fs>.

   CHECK sy-subrc = 0.

   <fs> = fu_value.

 

ENDFORM.                    " F_ALV_BUILD_PRINT_OPT

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_BUILD_CATALOG_LINE

*&---------------------------------------------------------------------*

*      Build ALV Field Catalog with multiple lines

*----------------------------------------------------------------------*

FORM f_alv_build_catalog_line USING ft_fctlg TYPE slis_t_fieldcat_alv

                                fu_tbnam fu_fname fu_dscrp

                                fu_reftb fu_refld

                                fu_noout fu_outln fu_hotsp fu_jstfy

                                fu_dosum fu_row   fu_col.

   DATA: lv_fctlg TYPE slis_fieldcat_alv.

 

   lv_fctlg-seltext_s     = fu_dscrp.

   lv_fctlg-seltext_m     = fu_dscrp.

   lv_fctlg-seltext_l     = fu_dscrp.

   lv_fctlg-reptext_ddic  = fu_dscrp.

   lv_fctlg-tabname       = fu_tbnam.

   lv_fctlg-fieldname     = fu_fname.

   lv_fctlg-ref_tabname   = fu_reftb.

   lv_fctlg-ref_fieldname = fu_refld.

   lv_fctlg-no_out        = fu_noout.

   lv_fctlg-outputlen     = fu_outln.

   lv_fctlg-hotspot       = fu_hotsp.

   lv_fctlg-just          = fu_jstfy.

   lv_fctlg-do_sum        = fu_dosum.

   lv_fctlg-row_pos       = fu_row.

   lv_fctlg-col_pos       = fu_col.

 

   APPEND lv_fctlg TO ft_fctlg.

 

ENDFORM.                               " F_ALV_BUILD_CATALOG_LINE

 

*&---------------------------------------------------------------------*

*&      Form  F_ALV_BUILD_CATALOG_CRNCY_LINE

*&---------------------------------------------------------------------*

*      Build ALV Field Catalog for Currency Unit multiple line

*----------------------------------------------------------------------*

FORM f_alv_build_catalog_crncy_line USING ft_fctlg TYPE

slis_t_fieldcat_alv

                          fu_tbnam fu_fname fu_dscrp

                          fu_reftb fu_refld fu_outln fu_dosum

                          fu_curky fu_cfild fu_ctbnm fu_jstfy

                          fu_row   fu_col.

   DATA: lv_fctlg TYPE slis_fieldcat_alv,

         ld_lngth TYPE i.

 

   ld_lngth = STRLEN( fu_dscrp ).

   IF ld_lngth > 25.

     lv_fctlg-seltext_l   = fu_dscrp.

   ELSEIF ld_lngth > 10.

     lv_fctlg-seltext_l   = fu_dscrp.

     lv_fctlg-seltext_m   = fu_dscrp.

   ELSE.

     lv_fctlg-seltext_s   = fu_dscrp.

     lv_fctlg-seltext_m   = fu_dscrp.

     lv_fctlg-seltext_l   = fu_dscrp.

   ENDIF.

   lv_fctlg-tabname       = fu_tbnam.

   lv_fctlg-fieldname     = fu_fname.

   lv_fctlg-ctabname      = fu_reftb.

   lv_fctlg-cfieldname    = fu_refld.

   lv_fctlg-outputlen     = fu_outln.

   lv_fctlg-do_sum        = fu_dosum.

   lv_fctlg-just          = fu_jstfy.

   lv_fctlg-currency      = fu_curky.

   lv_fctlg-cfieldname    = fu_cfild.

   lv_fctlg-ctabname      = fu_ctbnm.

   lv_fctlg-datatype      = 'CURR'.

   lv_fctlg-row_pos       = fu_row.

   lv_fctlg-col_pos       = fu_col.

 

   APPEND lv_fctlg TO ft_fctlg.

ENDFORM.                    " F_ALV_BUILD_CATALOG_CRNCY_LINE


Upgarde SAP B1 2007 B TO SAP B1 9.2

$
0
0

Hi Expertise,

 

Can I upgrade direct sap b1 2007 b to sap b1 9.2.

Please guide step if this possible.

Otherwise please guide indirectly possibility.

 

Thanks

Alok Shukla

Need to derive characteristic values in Classification based on some custom parameters in MDG-M

$
0
0

Hello Team,

 

I need to derive some characteristics values in Classification UIBB based on some parameters.

Details as below-

1) Class type is 300

2) Custom Class is Zxxxxxx

3) Characteristic is Zxxxx, which is having lets say 10 values.

 

Based on some parameters these characteristics values need be derived.

Q1) Is derivation possible in Classification UIBB as these parameters are in another UIBB?

Q2) How to achieve this?

 

Please guide.

 

Regards,

Suresh

Solman_setup (LMDB, SLD) step by step configuration

$
0
0

Hi friends facing some issues in solution manager configurations in basic and system Preparation.

Please can anyone guide me or provide me step by step document. I searched on web but not satisfied.

 

Regards,

Akshay

SYBASE Upgrade from 15.7 to 16.0 Fails.

$
0
0

Hello Experts,

 

We have started a upgrade according to note 1982469.

 

We have used the below  command

sapdbctrl LiveUpdate IDS -tsyb -mExecute -oUPDATE_FORCE=1 -oTASK=UPDATE_ASE -oDROP_LOCATION=""

 

Unfortunately  we have come across the below error. Please help.

 

execution of ASE upgrade script failed. check output at "C:\Program Files\SAP\hostctrl\work\EP2"\upgrade_bs_rdbms.7196.out.

Log file : upgrade_bs_rdbms.7196.out.

 

upgrade.jpg

init\logs\Log0531.001

LOG0531.jpg

G:\sybase\EP2\ASE-16_0\install\EP2.log

 

ep2.jpg

 

I see the Service SQLserver has gone down. please help how to proceed.

 

Thanks

Indrajith.

How to properly consume a C4C OData service?

$
0
0

Dear community,

 

after spending a couple of weeks on that issue, I am hoping to find help here. I am trying to write an HCP-App that connects to an C4C system via OData. It needs to be an read & write scenario which makes it a little bit more difficult.

 

What I did so far:

 

  1. Create a destination
  2. Create an application from a Master/Detail template
  3. Adjust the views
  4. Write a new function that triggers a create on the model

 

I figured out that the C4C system cannot deal with the sap.ui.model.odata.v2.ODataModel because of the $batch calls it triggers (which is, however, regarding to the documentation supported...). I tried using this.getModel().setUseBatch(false); in the Component.js, however, this results in a HTTP error 500 from the C4C system. Using sap.ui.model.odata.ODataModel, on the other hand, results in simple calls like this.getOwnerComponent().getModel().metadataLoaded() throwing an error, because the metadataLoaded() function is not implemented in the v1 model.

 

At this point, I am stuck. I would appreciate any help on the incident.

 

All the best,

Florian

Does SAP C4C supports Google Cloud Platform?

$
0
0

Does SAP C4C supports Google Cloud Platform instead of HANA cloud Platform?

If yes, then which is the ideal integration tool for SAP C4C to connect with SAP ERP/ SAP CRM back end on a Google cloud platform?

Also, what are the restrictions when SAP C4C is hosted on Google cloud platform?

BPC NW Publication Error

$
0
0

I am new to BPC (trying to learn!)

 

We have an issue publishing books to a SharePoint Portal.

 

I am using BPC Add-In 10.0 SP 20 Patch 2 .NET 3.50, Build 9063 installed locally.

I am using SAP BPC for Netweaver 10.1

 

I am publishing a Book to a single PDF containing 19 sheets.

 

I start up Excel (so no workbooks Open), go into EPM and Book Publication.

 

Select all details and set to publish to a SharePoint Team Site (defined as a mapped Network Drive)

 

Set to run now.

 

However when the publish runs the first 6-8 pages show as an error and don't create in the PDF, but then all subsequent pages do not error and appear in PDF.

 

Error displayed is "Error while saving the file...."

 

If I run this to a local (desktop) directory instead of SharePoint then all is OK - all pages created in PDF with no errors.

 

Distribution works OK, even to the same target directory (so I don't think the issue is a connection to SharePoint or authorisation issue)

 

I looked in the Log File and can see error detail:

|ERROR|BookOperation|FPMXLCClient.Books.BoopOperationProcessImpl.PublicationPrinting|p01comsc|||||9|You cannot save this workbook with the same name as another open workbook or add-in. Choose a different name, or close the other workbook or add-in before saving

 

This is confusing, nobody else is logged in, I don't have any other sessions logged in

 

When I run locally I see that Excel opens a Workbook with the name of the Publish (that I entered), and another one for the worksheet the template says to use, so 3 worksheets open until process is completed and then only left with one worksheet.

 

However when I run to SharePoint I see different behaviour, as each sheet fails I get a Blank Excel Workbook called "Bookn.xslx" (where n is an incremental number). This is only created where there is an error. Pages that are OK don't create additional workbooks. This is probably not a cause but thought it best to mention!

 

Can anyone shed some light?

 

I have seen on another thread a suggestion to install amyuni, but how does this help?

 

Have also seen a suggestion to save to .xltx rather than .xlsx  but not sure if this is relevant. The underlying report on BPC is a .xlsx, but I am creating a .pdf? If this was an issue why does it fail for the first few pages and then work for the remainder of the pages?

 

Regards

Simon


Error while fetching Catalogs in Suite Page Builder SPB UI5 Self Services

$
0
0

Dear Experts,

 

After we moved all Transport Request to production system, the Suite Page Builder service doesn't work, it's throwing an error 'Error while fetching Catalogs' I compared all the customizations between development system and production. Everything seems to be fine. If you observe the screenshot "All CHIPS (Undefined)" is displayed.

I believe some objects are missing here. Can anybody help me sort out the issue?

When I do an F12- I get error message Call to success handler failed: Cannot read property 'catalogId' of null - TypeError: Cannot read property 'catalogId' of null.

SPB Admin.png

 

I would really appreciate your help.

 

 

Thanks,

Gourishankar.

JDBC Synchronous scenario

$
0
0

Hi Folks,

 

My scenario is JDBC synchronous (JDBC<-->PI<-->Proxy).

 

My question is

 

1) how to develop this scenario with out BPM's?

 

2) if we use Req and Res beans , where we need to add these parameters (sender or receiver jdbc channel?) ?

 

Regards,

Ravi

How to access Header of a SOAP call in SDK?

$
0
0

Dear community,

 

I want to access a SOAP web service from DHL via SDK in ByD. I uploaded and activated the WSDL and XSD files, I created the Communication System and Communication Arrangement and I can add content to the request.

Now the issue is, that the web service has 2 pieces of authentication. The regular username/password for the web service endpoint. This I provide in the Communication Arrangement. But in addition, I need to add 3 entries to the header of the request that will carry additional information about the user.

 

The request would in the end look like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cis="http://dhl.de/webservice/cisbase" xmlns:de="http://de.ws.intraship">
<soapenv:Header>
   <cis:Authentification>
     <cis:user>geschaeftskunden_api</cis:user>
     <cis:signature>Dhl_ep_test1<cis:signature>
     <cis:type>0</cis:type>
   </cis:Authentification>
</soapenv:Header>
<soapenv:Body>
   <de:CreateShipmentDDRequest>
     <ShipmentOrder>
...
   </ShipmentOrder>
</soapenv:Body>
</soapenv:Envelope>

 

My problem is now, how can I add the header fields? The web service definition in the ByD SDK seems to only grant access to the Body, starting with CreateShipmentDDRequest.
Is there any way to access the SOAP header before I send the request? And how would I do that?

 

Any help on this issue would be really appreciated.

 

 

Thanks a lot in advance,

stephan

Adding title to Fiori launchpad homepage

Upload File issue using WebGUI File Browser

$
0
0

Hi experts,

 

     I'm trying to upload a file using WebGUI File Browser using Google Chrome. I can upload the file but I don't know how to select the file in the corresponfing input.

     I get a dump when I start the execution (divide by zero) because the file is missing. Any help would be appreciate. Thx!

 

Jose

 

1.png

 

2.png

 

3.png

Viewing all 2169 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>