September 2024

ALV Cursor position

Hi, I have a requirement about alv cursor position but I faced a problem. I was able to Highlighted to cell using this code:     DATA: ls_row    TYPE i,          ls_value  TYPE c,          ls_col    TYPE i,          ls_row_id TYPE lvc_s_row,          ls_col_id TYPE  lvc_s_col,          es_row_no TYPE lvc_s_roid.     CALL METHOD lo_alv->get_current_cell      IMPORTING        e_row     = ls_row        e_value   = ls_value        e_col     = ls_col        es_row_id = ls_row_id        es_col_id = ls_col_id        es_row_no = es_row_no.    IF ls_col = 1.“next line      ls_col_id = ‘LGORT’.  “cursor will go this field.      CALL METHOD lo_alv->refresh_table_display.      CALL METHOD lo_alv->set_current_cell_via_id        EXPORTING          is_column_id = ls_col_id          is_row_no    = es_row_no.      CALL METHOD lo_alv->refresh_table_display        EXPORTING*          is_stable      =          i_soft_refresh = abap_true*        EXCEPTIONS*          finished       = 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.    ELSE.      ls_col_id = ‘WERKS’.  “cursor will go this field.      es_row_no–row_id = conv i( es_row_no–row_id ) + 1 .      CALL METHOD lo_alv->refresh_table_display.      CALL METHOD lo_alv->set_current_cell_via_id        EXPORTING          is_column_id = ls_col_id          is_row_no    = es_row_no.    ENDIF. but cursor itself located top of screen where we enter tcode here is cursor position where its located: How can I solve this problem.

ALV Cursor position

Hi, I have a requirement about alv cursor position but I faced a problem. I was able to Highlighted to cell using this code:     DATA: ls_row    TYPE i,          ls_value  TYPE c,          ls_col    TYPE i,          ls_row_id TYPE lvc_s_row,          ls_col_id TYPE  lvc_s_col,          es_row_no TYPE lvc_s_roid.     CALL METHOD lo_alv->get_current_cell      IMPORTING        e_row     = ls_row        e_value   = ls_value        e_col     = ls_col        es_row_id = ls_row_id        es_col_id = ls_col_id        es_row_no = es_row_no.    IF ls_col = 1.“next line      ls_col_id = ‘LGORT’.  “cursor will go this field.      CALL METHOD lo_alv->refresh_table_display.      CALL METHOD lo_alv->set_current_cell_via_id        EXPORTING          is_column_id = ls_col_id          is_row_no    = es_row_no.      CALL METHOD lo_alv->refresh_table_display        EXPORTING*          is_stable      =          i_soft_refresh = abap_true*        EXCEPTIONS*          finished       = 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.    ELSE.      ls_col_id = ‘WERKS’.  “cursor will go this field.      es_row_no–row_id = conv i( es_row_no–row_id ) + 1 .      CALL METHOD lo_alv->refresh_table_display.      CALL METHOD lo_alv->set_current_cell_via_id        EXPORTING          is_column_id = ls_col_id          is_row_no    = es_row_no.    ENDIF. but cursor itself located top of screen where we enter tcode here is cursor position where its located: How can I solve this problem.

Hello All,

I’m Nhu, I’m from Ho Chi Minh City, Viet Nam. I’m excited to be here among like minds and can’t wait to begin learning! I hope I can learn a lot of experiences for myself from you guys. Thank you so much!!!

Can’t create destination service for a UI5 app for Build Work Zone

Full disclosure: Very experienced developer, but totally new to this product. I am following the steps for Develop an App for SAP Build Work Zone, standard edition with Your Own Dev Tools. I am on this page. When I perform the steps to deploy the application, I am getting the following error when it goes to …

Can’t create destination service for a UI5 app for Build Work Zone Read More »

Is it Possible to Deserialize this JSON from API in ABAP

I’m calling an API that is returning JSON to ABAP that I’m having difficulty deserializing.  This is the format of the JSON that is returned by the API: {“outputs”: {},“tables”: [{  “columns”: [      “Column_1”,      “Column_2”,     “Column_3”,     “Column_4”,  ],  “rowLimitExceeded”: false,  “rows”: [      [        “Value_1a”,  …

Is it Possible to Deserialize this JSON from API in ABAP Read More »

Is it Possible to Deserialize this JSON from API in ABAP

I’m calling an API that is returning JSON to ABAP that I’m having difficulty deserializing.  This is the format of the JSON that is returned by the API: {“outputs”: {},“tables”: [{  “columns”: [      “Column_1”,      “Column_2”,     “Column_3”,     “Column_4”,  ],  “rowLimitExceeded”: false,  “rows”: [      [        “Value_1a”,  …

Is it Possible to Deserialize this JSON from API in ABAP Read More »

Access Denied In “Terminal”. Also cannot preview on my device it says error when I enter the pin

When i try to click “Terminal” it says that i have no access. I dont even know what terminal is used for. I cannot upload photos to the server i can only use url photos. I cannot preview my app on my device only laptop preview. Everytime i enter the pin for preview it says …

Access Denied In “Terminal”. Also cannot preview on my device it says error when I enter the pin Read More »

Scroll to Top