BAPI_DOCUMENT_CHANGE2: Document info record update object links – DOCUMENTDIRECTION

Hi all, we are using BAPI_DOCUMENT_CREATE2 and BAPI_DOCUMENT_CHANGE2 for the management of supplier invoice documents. We need to pass DOCUMENTDIRECTION to the OBJECTLINKS table to enable navigation from the object link to the document in MIRO. Interestingly, when we manually add the link via gui, the document direction is automatically set to A, visible via BAPI_DOCUMENT_GETDETAIL2.  …

BAPI_DOCUMENT_CHANGE2: Document info record update object links – DOCUMENTDIRECTION Read More »

start-of-selection and sy-ucomm

sy-ucomm AT SELECTION-SCREEN.  IF sy–ucomm = ‘BTN1’ AND lv_executed IS INITIAL.    “lv_executed = abap_true.     CALL FUNCTION ‘NUMBER_GET_NEXT’      EXPORTING        nr_range_nr             = ’01’        object                  = ‘ZNRO_TEST2’      IMPORTING        number                  = lv_number      EXCEPTIONS        interval_not_found      = 1        number_range_not_intern = 2        object_not_found        = 3        OTHERS                  = 4.     gs_log–id = lv_number.    gs_log–ad = gv_ad.    gs_log–soyad = gv_soyad.    gs_log–yas = gv_yas.     INSERT zbk_egt_00034 FROM gs_log.   ENDIF. In this statement, If statement triggers twice. Because of that program print 2 rows. What could be the reason ?

start-of-selection and sy-ucomm

sy-ucomm AT SELECTION-SCREEN.  IF sy–ucomm = ‘BTN1’ AND lv_executed IS INITIAL.    “lv_executed = abap_true.     CALL FUNCTION ‘NUMBER_GET_NEXT’      EXPORTING        nr_range_nr             = ’01’        object                  = ‘ZNRO_TEST2’      IMPORTING        number                  = lv_number      EXCEPTIONS        interval_not_found      = 1        number_range_not_intern = 2        object_not_found        = 3        OTHERS                  = 4.     gs_log–id = lv_number.    gs_log–ad = gv_ad.    gs_log–soyad = gv_soyad.    gs_log–yas = gv_yas.     INSERT zbk_egt_00034 FROM gs_log.   ENDIF. In this statement, If statement triggers twice. Because of that program print 2 rows. What could be the reason ?

com.sap.gateway.core.ip.component.odata.exception.OsciException: Invalid or missing namespace

I am trying to use OData V2 Adapter to fetch 2 fields (ProductID and ProductName) from Products table present in the Northwind.svc. When I use the default $metadata saved as an EDMX file, I get Schema error. After modifying the EDMX file as suggested in  blog post https://community.sap.com/t5/technology-q-a/invalid-or-missing-namespace-for-schema/qaq-p/13773336 I can select the data source and Products …

com.sap.gateway.core.ip.component.odata.exception.OsciException: Invalid or missing namespace Read More »

com.sap.gateway.core.ip.component.odata.exception.OsciException: Invalid or missing namespace

I am trying to use OData V2 Adapter to fetch 2 fields (ProductID and ProductName) from Products table present in the Northwind.svc. When I use the default $metadata saved as an EDMX file, I get Schema error. After modifying the EDMX file as suggested in  blog post https://community.sap.com/t5/technology-q-a/invalid-or-missing-namespace-for-schema/qaq-p/13773336 I can select the data source and Products …

com.sap.gateway.core.ip.component.odata.exception.OsciException: Invalid or missing namespace Read More »

Scroll to Top