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

Re: Account name field in Repository explorer

$
0
0

Hello Saurabh,

 

No copying the value from Name field into another field is not possible using KUT. You will have to complete the requirement using SDK. Create an extension field and pass the value from Standard field into it.

 

 

Regards,

Chandan


Re: ABAP unit test issue “Runtime Error ”

$
0
0

Always use some checks with optional variables, some examples:

  • CHECK <fieldsymbol> IS ASSIGNED.
  • CHECK reference IS BOUND.
  • CHECK parameter IS SUPPLIED. " for import or REQUESTED for export

Hint: You wrote "this parameter is optional parameter", so what should be the first check?

 

Also check sy-subrc on statements like ASSIGN, wrap complex code with TRY/CATCH/ENDTRY.

 

Regards,

Raymond

Re: PPOME Log Report

$
0
0

Hi Mithun,


This transaction code S_AHR_61016380 is usefull, Thank you. How we can export this data to excel?


Regards,

Namig.

Re: HCPms - Trial Account HTTP Status 503 Error

$
0
0

Hi Nagesh,

I just deleted my trial subscriptions (to the HTML App) and added it back, without any issues.

 

the URL looks good. You'll be redirected to /sap/moible/admin/iu/home/index.html automatically. There seems to be something wrong in the HCP Cockpit when you try to add a subscription that is not listed, but you can't add it again.

 

Thanks for letting us know. I'll ask DevOps for support here.

 

Have Fun,

Martin

Re: SAP Hybris Marketing and SAP Fiori? - Please help ...

$
0
0

Hi Karsten,

 

1- to access HM after installation use transaction Code start_cei or you enter


https://<SAP Web Dispatcher Address>:<HTTPS Port of SAP Web Dispatcher>/sap/bc/ui5_ui5/sap/cuan_shell/index.html#HOME


2- After installation you have automatically access to Fioriwith this link

 

https://<WebDispatcher>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html.

 

3- Fiori is not a function module like Data management, Insight etc.... hence not mandatory.

 

and no licence needed for Fiori.

 

4- Smart Business is accessible from HM, as it has to deal with KPI etc.. I assume HM Insight will be a prerequisite module but I am not sure.

 

5- Yes, you can use the Data or Report from Fiori or SB in Hybris Marketing as far as I know.

 

BR

 

Yoro


JDBC lookup Issue

$
0
0

Hi Experts,

 

I have JDBC lookup which is fetching one field from JDBC.If there is no value in that field than I want to add that file in one file.

 

How to do it.

 

thanks.

Re: Events in Interactive ALV

$
0
0

Hi Anshika,

 

 

In your ALV you were passing the "TOP_OF_PAGE" to parameter "i_callback_html_top_of_page", where it has to be passed to "i_callback_top_of_page" parameter.

 

Than pass the same value (i.e. TOP_OF_PAGE) to the all the FM parameter "i_callback_top_of_page".

 

 

Check the below modified code.

 

 

 

TYPE-POOLS: slis .

TABLES : kna1 .

 

 

 

 

TYPES : BEGIN OF ty_kna1  ,

        kunnr  TYPE kna1-kunnr ,

        name1  TYPE kna1-name1 ,

        land1  TYPE kna1-land1 ,

        END OF ty_kna1 .

 

 

TYPES : BEGIN OF ty_vbak ,

        vbeln  TYPE vbak-vbeln ,

        erdat  TYPE vbak-erdat ,

        netwr  TYPE vbak-netwr ,

        END OF ty_vbak .

 

 

TYPES : BEGIN OF ty_vbap  ,

        posnr TYPE vbap-posnr ,

        arktx TYPE vbap-arktx ,

        werks TYPE vbap-werks ,

        END OF ty_vbap .

 

 

DATA : x TYPE i .

 

 

DATA : t_kna1 TYPE STANDARD TABLE OF ty_kna1 INITIAL SIZE 1 ,

        t_vbak TYPE STANDARD TABLE OF ty_vbak INITIAL SIZE 1 ,

        t_vbap TYPE STANDARD TABLE OF ty_vbap INITIAL SIZE 1 .

 

 

DATA : w_kna1 TYPE ty_kna1 ,

        w_vbak TYPE ty_vbak ,

        w_vbap TYPE ty_vbap .

 

 

DATA : w_fcat TYPE slis_fieldcat_alv .

DATA : t_fcat TYPE slis_t_fieldcat_alv .

DATA : t_fcat1 TYPE slis_t_fieldcat_alv .

DATA : t_fcat2 TYPE slis_t_fieldcat_alv .

DATA : w_comments TYPE slis_listheader .

DATAt_comments TYPE slis_t_listheader .

 

 

DATA : w_events TYPE slis_alv_event .

DATA : t_events TYPE slis_t_event .

DATA : w_events1 TYPE slis_alv_event .

DATA : t_events1 TYPE slis_t_event .

DATA : w_events2 TYPE slis_alv_event .

DATA : t_events2 TYPE slis_t_event .

 

 

 

 

DATA : v_prog TYPE sy-repid .

v_prog = sy-repid .

 

 

SELECT-OPTIONS : s_kunnr FOR kna1-kunnr .

 

 

 

 

 

 

 

 

w_fcat-col_pos = 1 .

w_fcat-fieldname = 'KUNNR '.

w_fcat-seltext_m = 'CUST NO'.

APPEND w_fcat TO t_fcat .

 

 

w_fcat-col_pos = 2 .

w_fcat-fieldname = 'NAME1 '.

w_fcat-seltext_m = 'CUST NAME'.

APPEND w_fcat TO t_fcat .

 

 

w_fcat-col_pos = 3 .

w_fcat-fieldname = 'LAND1 '.

w_fcat-seltext_m = 'CUST COUNTRY'.

APPEND w_fcat TO t_fcat .

 

 

w_fcat-col_pos = 1.

w_fcat-fieldname = 'VBELN '.

w_fcat-seltext_m = 'ORDER NO'.

APPEND w_fcat TO t_fcat1 .

 

 

w_fcat-col_pos = 2 .

w_fcat-fieldname = 'ERDAT '.

w_fcat-seltext_m = 'ORDER DATA'.

APPEND w_fcat TO t_fcat1 .

 

 

w_fcat-col_pos = 3.

w_fcat-fieldname = 'NETWR '.

w_fcat-seltext_m = 'NET VALUE'.

APPEND w_fcat TO t_fcat1 .

 

 

w_fcat-col_pos = 1.

w_fcat-fieldname = 'POSNR '.

w_fcat-seltext_m = 'SALES ITEM '.

APPEND w_fcat TO t_fcat2 .

 

 

w_fcat-col_pos = 2.

w_fcat-fieldname = 'ARKTX '.

w_fcat-seltext_m = 'SALES DESC'.

APPEND w_fcat TO t_fcat2 .

 

 

 

 

w_fcat-col_pos = 3.

w_fcat-fieldname = 'WERKS '.

w_fcat-seltext_m = 'PLANT'.

APPEND w_fcat TO t_fcat2 .

 

 

 

 

w_comments-typ ='H'.

w_comments-info ='CUSTOMER DATA'.

APPEND w_comments TO t_comments .

 

 

w_comments-typ ='S'.

w_comments-key ='CUST NO'.

w_comments-info ='0000001000'.

APPEND w_comments TO t_comments .

 

 

*W_EVENTS-NAME ='TOP_OF_PAGE'.

*W_EVENTS-FORM ='SUB'.

*APPEND W_EVENTS2 TO T_EVENTS2 .

 

 

w_events-name = 'USER_COMMAND'.

w_events-form = 'SUB1'.

 

 

APPEND w_events TO t_events .

 

 

 

 

w_events1-name = 'USER_COMMAND'.

w_events1-form = 'SUB2'.

 

 

APPEND w_events1 TO t_events1 .

 

DATA: ls_line   TYPE slis_listheader,

       it_top_of_page  TYPE slis_t_listheader.

 

ls_line-typ  = 'H'.

ls_line-info = 'Customer Detail'.

APPEND ls_line TO it_top_of_page.

CLEAR ls_line.

 

SELECT kunnr

        name1

        land1 FROM kna1 INTO TABLE t_kna1

              WHERE kunnr IN s_kunnr .

 

 

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

*   I_INTERFACE_CHECK                 = ' '

*   I_BYPASSING_BUFFER                = ' '

*   I_BUFFER_ACTIVE                   = ' '

    i_callback_program                = v_prog

*   I_CALLBACK_PF_STATUS_SET          = ' '

*   I_CALLBACK_USER_COMMAND           = ' '

    i_callback_top_of_page            = 'TOP_OF_PAGE'

*   i_callback_html_top_of_page       = 'TOP_OF_PAGE'

*   I_CALLBACK_HTML_END_OF_LIST       = ' '

*   I_STRUCTURE_NAME                  =

*   I_BACKGROUND_ID                   = ' '

*   I_GRID_TITLE                      =

*   I_GRID_SETTINGS                   =

*   IS_LAYOUT                         =

    it_fieldcat                       = t_fcat

*   IT_EXCLUDING                      =

*   IT_SPECIAL_GROUPS                 =

*   IT_SORT                           =

*   IT_FILTER                         =

*   IS_SEL_HIDE                       =

*   I_DEFAULT                         = 'X'

*   I_SAVE                            = ' '

*   IS_VARIANT                        =

    it_events                         = t_events

*   IT_EVENT_EXIT                     =

*   IS_PRINT                          =

*   IS_REPREP_ID                      =

*   I_SCREEN_START_COLUMN             = 0

*   I_SCREEN_START_LINE               = 0

*   I_SCREEN_END_COLUMN               = 0

*   I_SCREEN_END_LINE                 = 0

*   I_HTML_HEIGHT_TOP                 = 0

*   I_HTML_HEIGHT_END                 = 0

*   IT_ALV_GRAPHICS                   =

*   IT_HYPERLINK                      =

*   IT_ADD_FIELDCAT                   =

*   IT_EXCEPT_QINFO                   =

*   IR_SALV_FULLSCREEN_ADAPTER        =

* IMPORTING

*   E_EXIT_CAUSED_BY_CALLER           =

*   ES_EXIT_CAUSED_BY_USER            =

   TABLES

     t_outtab                          = t_kna1

* EXCEPTIONS

*   PROGRAM_ERROR                     = 1

*   OTHERS                            = 2

           .

 

 

 

 

 

 

*FORM SUB .

*CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

*  EXPORTING

*    IT_LIST_COMMENTARY       = T_COMMENTS

**   I_LOGO                   =

**   I_END_OF_LIST_GRID       =

**   I_ALV_FORM               =

*          .

*ENDFORM .

 

 

************************************************************************

*        FIRST DETAILED LIST                                                               *

************************************************************************

 

 

 

 

FORM sub1 USING r_ucomm LIKE sy-ucomm

                 rs_selfield TYPE slis_selfield .

 

 

*IF FNAME = 'KNA1-KUNNR' .

   SELECT vbeln

           erdat

           netwr  FROM vbak INTO TABLE t_vbak

                  WHERE kunnr = rs_selfield-value .

 

 

 

 

   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

   EXPORTING

*   I_INTERFACE_CHECK                 = ' '

*   I_BYPASSING_BUFFER                = ' '

*   I_BUFFER_ACTIVE                   = ' '

      i_callback_program                = v_prog

*   I_CALLBACK_PF_STATUS_SET          = ' '

*   I_CALLBACK_USER_COMMAND           = ' '

    i_callback_top_of_page            = 'TOP_OF_PAGE'

*   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '

*   I_CALLBACK_HTML_END_OF_LIST       = ' '

*   I_STRUCTURE_NAME                  =

*   I_BACKGROUND_ID                   = ' '

*   I_GRID_TITLE                      =

*   I_GRID_SETTINGS                   =

*   IS_LAYOUT                         =

      it_fieldcat                       = t_fcat1

*   IT_EXCLUDING                      =

*   IT_SPECIAL_GROUPS                 =

*   IT_SORT                           =

*   IT_FILTER                         =

*   IS_SEL_HIDE                       =

*   I_DEFAULT                         = 'X'

*   I_SAVE                            = ' '

*   IS_VARIANT                        =

      it_events                         = t_events1

*   IT_EVENT_EXIT                     =

*   IS_PRINT                          =

*   IS_REPREP_ID                      =

*   I_SCREEN_START_COLUMN             = 0

*   I_SCREEN_START_LINE               = 0

*   I_SCREEN_END_COLUMN               = 0

*   I_SCREEN_END_LINE                 = 0

*   I_HTML_HEIGHT_TOP                 = 0

*   I_HTML_HEIGHT_END                 = 0

*   IT_ALV_GRAPHICS                   =

*   IT_HYPERLINK                      =

*   IT_ADD_FIELDCAT                   =

*   IT_EXCEPT_QINFO                   =

*   IR_SALV_FULLSCREEN_ADAPTER        =

* IMPORTING

*   E_EXIT_CAUSED_BY_CALLER           =

*   ES_EXIT_CAUSED_BY_USER            =

     TABLES

       t_outtab                          = t_vbak

* EXCEPTIONS

*   PROGRAM_ERROR                     = 1

*   OTHERS                            = 2

             .

 

 

ENDFORM .                    "SUB1

 

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

*&      Form  SUB2

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

*       text

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

*      -->R_UCOMM      text

*      -->RS_SELFIELD  text

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

FORM sub2 USING r_ucomm LIKE sy-ucomm

                rs_selfield TYPE slis_selfield.

 

 

   SELECT posnr

          arktx

          werks FROM vbap INTO TABLE t_vbap

                WHERE vbeln rs_selfield-value .

 

 

   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

*     I_INTERFACE_CHECK                 = ' '

*     I_BYPASSING_BUFFER                = ' '

*     I_BUFFER_ACTIVE                   = ' '

*     I_CALLBACK_PROGRAM                = ' '

*     I_CALLBACK_PF_STATUS_SET          = ' '

*     I_CALLBACK_USER_COMMAND           = ' '

      i_callback_top_of_page            = 'TOP_OF_PAGE'

*     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '

*     I_CALLBACK_HTML_END_OF_LIST       = ' '

*     I_STRUCTURE_NAME                  =

*     I_BACKGROUND_ID                   = ' '

*     I_GRID_TITLE                      =

*     I_GRID_SETTINGS                   =

*     IS_LAYOUT                         =

      it_fieldcat                       = t_fcat2

*     IT_EXCLUDING                      =

*     IT_SPECIAL_GROUPS                 =

*     IT_SORT                           =

*     IT_FILTER                         =

*     IS_SEL_HIDE                       =

*     I_DEFAULT                         = 'X'

*     I_SAVE                            = ' '

*     IS_VARIANT                        =

      it_events                         = t_events1

*     IT_EVENT_EXIT                     =

*     IS_PRINT                          =

*     IS_REPREP_ID                      =

*     I_SCREEN_START_COLUMN             = 0

*     I_SCREEN_START_LINE               = 0

*     I_SCREEN_END_COLUMN               = 0

*     I_SCREEN_END_LINE                 = 0

*     I_HTML_HEIGHT_TOP                 = 0

*     I_HTML_HEIGHT_END                 = 0

*     IT_ALV_GRAPHICS                   =

*     IT_HYPERLINK                      =

*     IT_ADD_FIELDCAT                   =

*     IT_EXCEPT_QINFO                   =

*     IR_SALV_FULLSCREEN_ADAPTER        =

*   IMPORTING

*     E_EXIT_CAUSED_BY_CALLER           =

*     ES_EXIT_CAUSED_BY_USER            =

     TABLES

       t_outtab                          = t_vbap

*   EXCEPTIONS

*     PROGRAM_ERROR                     = 1

*     OTHERS                            = 2

             .

 

 

 

 

 

 

ENDFORM .                    "SUB2

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

*&      Form  top_of_page

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

*       text

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

FORM top_of_page.

 

   CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

     EXPORTING

       it_list_commentary = it_top_of_page

       i_logo             = ''.

 

ENDFORM.                    "top_of_page




Regards

Abhishe

Re: Appeon and instance datastore in a custom ddlb


Re: Sap b1 upgradation 9.1

$
0
0

Hi,

 

What do you mean secure? Follow admin guide for your upgrading process.

 

Thanks

Factsheet is not displayed in GUI

$
0
0

Dear Experts,

 

1) Fact sheet is not displaying in GUI

Note: I wanted in GUI not in WebUI


Please find the attached screenshots. Kindly suggest.

 

Regards,

Re: Unable to assign the diagnostics agents to a new system :-(

$
0
0

Hi Simon,

 

As you mentioned your SAP systems are installed using virtual hostname, while you have installed diagnostic agents without using hostname. (As you have deleted the hostname after launching sapinst).

 

So try using agent on the fly configurtaion.

 

Goto Managed system configuration -> Goto Tab Hosts (Configuration). Select the physical hostname of SAP JAVA system -> Configure System.

 

Check if agent is assigned or not here to physical host.

 

If assigned goto next step Enter system parameter and select agent on fly option. Save. After that start managed system configuration again.

 

If not assigned check you can find Agent in agent administration or not?

 

Thanks and Regards

Sachin Gupta

Re: Processing not yet finished, entry 70 still missing

$
0
0

Hi,

 

Raman - I have deleted old requests from PSA and repeated the step once again it fails at same package 10.

Phani - I have tried this option execute from SM58, it is resulting with same error.

Re: User exit save document

$
0
0

I require a standard program for invoice which I can connect to a customized function module.

Re: User exit save document

$
0
0

Having said that,  don't forget that implementing a user exit is not just changing the include in the function module.  You need to create a project and assign an enhancement,  then activate the relevant components.  See transaction SMOD for finding the relevant enhancements and CMOD for maintaining the exits.

 

Rich

Enrollment with TinyURL is failed

$
0
0

Hi,

My working TinyURL code suddenly not work. Enrollment failed message I get.

I create google shortener code. It works.

I use SP5 fx 13

Do you have any idea?


Re: User exit save document

$
0
0

Another place to look is within the Business Transaction Events,  maintained by transaction FIBF.   Have a look at the events provided in 'Settings->Process Modules->Of an SAP Application.

 

Regards

 

Rich

Re: can Swap memory changed after installation

$
0
0

Hi,

 

You can do it without any problem. Maybe you have to restart SAP application.

1. Right Click Computer -> Choose Properties
2. Click Advanced System Settings
3. Performance Tab -> Click Settings
4. Advanced Settings Tab -> Virtual Memory -> Click Change
5. Uncheck Automaticaly manage page file
6. Clicking on disk will allow you to set paging file where you want
Regards,
Prithviraj.

 

Re: Processing not yet finished, entry 70 still missing

$
0
0

Hi Harish,

 

please try to run multiple info packs with different selections which can covers whole data pulling.

during your info pack load, please check ECC/BW load balance at SM50/58.

 

Please run info packs in background.

 

Thanks

Re: Approve a ARM stage from a background process

$
0
0

The stage needs to have an agent id to be approved Could you check if agent id(of approver), can be a web service call, external to SAP.

Re: STO batch number issue

$
0
0

the movement type 103 does not support batches, you only get the batch with the 105 movement which is without reference.

You have to change your process from non-valuated GR blocked stock  into valuated GR blocked stock using 107 and 109 movement instead. Here you can have the batch directly with the 107 movement.

Viewing all 8798 articles
Browse latest View live




Latest Images