SAP Knowledge Base Article - Preview

2773183 - Dump ITAB_LINE_NOT_FOUND in CL_GOAL_ODATA occurs when using API_SALES_ORDER_SRV/A_SalesOrderItem

Symptom

  • When trying to add an item to an existing order in T-Code /IWFND/GW_CLIENT using API_SALES_ORDER_SRV/A_SalesOrderItem, ~status_code returns 500 and "RFC Error: Runtime error occurred in backend system" is displayed.
  • From ST22, following dump is generated:
    Category ABAP programming error
    Runtime Errors ITAB_LINE_NOT_FOUND
    Except. CX_SY_ITAB_LINE_NOT_FOUND
    ABAP Program CL_GOAL_ODATA=================CP
    Application Component        SD-SLS-GF

    The source codes are:
       15       if iv_create_bo = abap_false.
       16         data(lt_source_key) = io_tech_request_context->get_source_keys( ).
       17
       18         mac_get_draft_id lt_source_key lv_draft_id.
    >>>>>         mac_get_bo_key   lt_source_key lv_bo_key.
       20
       21         open_access(


Read more...

Environment

  • Sales and Distrubution (SD)
  • SAP S4SCORE 103

Product

SAP S/4HANA 1809

Keywords

"ITAB_LINE_NOT_FOUND", CX_SY_ITAB_LINE_NOT_FOUND, "CL_GOAL_ODATA=================CP", CL_GOAL_ODATA=================CM002, "IF_GOAL_ODATA~CREATE_ENTITY", CL_SD_S4H_SDOC_GODATA, CL_SD_API_SALES_ORDER_DPC_EXT,  CL_SD_API_SALES_ORDER_DPC , KBA , SD-SLS-GF , Basic Functions , SD-SLS-API , API , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.