Posts

FP_JOB_CLOSE throws an exception. (sy-subrc 2: system error)

Hi, We have a report which generates PDF documents. During the process the FM FP_JOB_CLOSE throws an exception. (sy-subrc 2: system error). Interesting part is that, it works fine in development and integration system. But throws this exception only in Q. Here is the error message i can see in debug mode: Reference :  https://community.sap.com/t5/application-development-and-automation-discussions/the-fm-fp-job-close-throws-error/td-p/12719075 Refer:   Usage and System Error in SAP Adobe Refer:  ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101) CX_FP_RUNTIME_SYSTEM ADS_NO_RESULT F23D9BD05B30754F85AE6E206713113B SPOOL_NO_XDC 74D76E3FEABD6C61E10000000A1550A8 ADS_ERROR 594E4D42A52F4778E10000000A1551FF RFC_ERROR C621084226C43C11E10000000A1551FF SOAP_ERROR B84D4D42A52F4778E10000000A1551FF CX_ROOT TEXTID B84D4D42A52F4778E10000000A1551FF PREVIOUS {O:INITIAL} KERNEL_ERRID IS_RESUMABLE CX_ROOT 16AA9A3937A9BB56E10000000A11447B INTERNAL_SOURCE_PO...

SAP CAPM

 -> npm install --save @sap/xsenv -> install node 18 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash source ~/.bashrc command -v nvm nvm install 18.1.0 nvm use 18.1.0 -> npm install --legacy-peer-deps -> manually change in package.json , @sap/cds and @sap/cds/-dk version to 7.9.0 and 7.9.2 Adjust the mta.yaml file While most parts of the file are generated by the cds tooling, some parts have to adjusted. This includes the following: Add an oauth2-redirect URI to the xsuaa resource configuration. Read more in SAP Note 2864831. Add the role-collection definitions to the xsuaa resource configuration. Extend the config section of the risk-management-auth resource in your mta.yaml file, by adding the following snippet to the config: ============================================================  forwardAuthToken: true # <-- required to forward the JWT token from app router to srv module cf login -a <endpoint> -u <user...

IDocs

IDoc IDoc Structure Control record EDIDC Data Record EDIDD Status Record EDIDS ====== configuration SALE SM59 WE21 BD51 WE42 ====== MASTER_IDOC_DISTRIBUTE Push IDoc Fetch Send changes only Change pointer tables BDCP & BDCPS. new table BDCP2 Change log tables CHHDR & CDPOS CHANGE_POINTER_READ BD61 - Activate change pointer globally BD50- Change pointer for message type BD64 - Distribution model WE20- maintain partner profile ====== IDoc reprocessing BD87 WE19 ======= Status codes 51 53 64 ====== NACE ====== Program for change pointer RBDBMIDOC (BD21)

Displaying internal table

1. DATA: gr_table TYPE REF TO cl_salv_table. TRY. CALL METHOD cl_salv_table=>factory( IMPORTING r_salv_table = gr_table CHANGING t_table = lt_mara ) . CATCH cx_salv_msg. ENDTRY. gr_table->display( ). ============================================ 2. CALL METHOD cl_demo_output=>display EXPORTING data = gt_vendor.

ALSM_EXCEL_TO_INTERNAL_TABLE

 *  CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE' *    EXPORTING *      filename                = p_file *      i_begin_col             = '1' *      i_begin_row             = '3' *      i_end_col               = '22' *      i_end_row               = '99999' *    TABLES *      intern                  = it_excel *    EXCEPTIONS *      inconsistent_parameters = 1 *      upload_ole              = 2 *      OTHERS                  = 3. * *  IF sy-subrc <> 0. *    MESSAGE ID sy-msgid TYPE sy-m...

Processing Internal and External Data

  All working data within the  internal session   is referred to as internal data. Assignments Numeric Calculations Character String and Byte String Processing Date and Time Processing Structures Enumerated Objects Internal Tables Meshes Attributes of Data Objects Streaming External data generally covers all data saved outside of the  internal session . The following sections describe the processing of external data. ABAP Database Access Data Clusters ABAP File Interface Refer  ABAP - Reference - ABAP Keyword Documentation