Skip to Content
avatar image
Former Member

Web Service error or table not found

Hello. While i was trying to consume an WebService created by me where i need to send an internal table created by me for my work , I got this error in Visual Studio

aceasi-erroare.png

With st22 i got this info about my program and i dont know how to handle

Category ABAP Programming Error Runtime Errors RAISE_EXCEPTION ABAP Program SAPLSFUNCTION_BUILDER Application Component BC-DWB-TOO-FUB Date and Time 07.06.2017 15:25:44 ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Short text | | Exception condition "STACK_IS_EMPTY" raised. | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |What happened? | | The current ABAP/4 program encountered an unexpected | | situation. | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------|Error analysis | | A RAISE statement in the program "CL_WB_MANAGER=================CP" raised the | | exception | | condition "STACK_IS_EMPTY".

| | Since the exception was not intercepted by a superior | | program, processing was terminated. | | | | Short description of exception condition: | | | | | | For detailed documentation of the exception condition, use | | Transaction SE37 (Function Library). You can take the called | | function module from the display of active calls. | | - | -----|Information on where terminated | | Termination occurred in the ABAP program "CL_WB_MANAGER=================CP" - | | in "IF_WB_MANAGER~PROCESS_BACK". | | The main program was "RSFUNCTIONBUILDER ". | | | | In the source code you have the termination point in line 15 | | of the (Include) program "CL_WB_MANAGER=================CM00N". | ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- |Source Code Extract | ---------------------------------------------------------------------------------------------------- |Line |SourceCde | ---------------------------------------------------------------------------------------------------- | 1| | | 2|METHOD if_wb_manager~process_back . | | 3|* ... | | 4| | | 5| CALL METHOD me->process_back | | 6| EXPORTING | | 7| p_window_id = p_window_id | | 8| IMPORTING | | 9| p_wb_todo_request = p_wb_todo_request | | 10| p_wb_todo_state = p_wb_todo_state | | 11| EXCEPTIONS | | 12| stack_is_empty = 1 | | 13| action_cancelled = 2. | | 14| CASE sy-subrc. | |>>>>>| WHEN 1. RAISE stack_is_empty. | | 16| WHEN 2. RAISE action_cancelled. | | 17| ENDCASE. | | 18| | | 19|ENDMETHOD. |

With SRT_UTIL i got for my running this error

<?xml version="1.0" encoding="UTF-8"?> -<ERROR_CONTEXT> -<ERROR_INFO> -<EXCEPTION_INFO> <TYPE>CX_ST_GROUP_MISSING_CASE</TYPE> <ERROR_TEXT>Element 'ZwwGrenteaarticole' fehlt</ERROR_TEXT> -<CX_ST_GROUP_MISSING_CASE> <MISSING_TYPE>E</MISSING_TYPE> <MISSING_NAME>ZwwGrenteaarticole</MISSING_NAME> <MISSING_NAMESPACE/> </CX_ST_GROUP_MISSING_CASE> </EXCEPTION_INFO> -<ADDITIONAL_EXCEPTION_DATA> <TRANSFORMATION_NAME>/1BCDWB/WSS58ABAF930BC05EA355F</TRANSFORMATION_NAME> <OFFSET>291</OFFSET> <XPATH>soap:Envelope(1)soap:Body(1)ZGreenteab2b(1)</XPATH> </ADDITIONAL_EXCEPTION_DATA> </ERROR_INFO> -<PROVIDER_INFO> <INTERFACE_NAME>zGetArticole</INTERFACE_NAME> <INTERFACE_NAMESPACE>urn:sap-com:document:sap:soap:functions:mc-style</INTERFACE_NAMESPACE> <PROVIDER_INTERFACE>ZGETARTICOLE</PROVIDER_INTERFACE> <OPERATION_NAME>ZGreenteab2b</OPERATION_NAME> <OPERATION_NAMESPACE>urn:sap-com:document:sap:soap:functions:mc-style</OPERATION_NAMESPACE> <PROCESSING_UNIT>Sector 4: Provider</PROCESSING_UNIT> <PROCESSING_MODE>Synchronous</PROCESSING_MODE> <PROCESSING_TYPE>Remote</PROCESSING_TYPE> <WORK_PROCESS_NUMBER>3</WORK_PROCESS_NUMBER> <WORK_PROCESS_PID>31496</WORK_PROCESS_PID> </PROVIDER_INFO> -<REQUEST_INFO> <PROTOCOL>HTTP/1.1</PROTOCOL> <REQUEST_URI>/sap/bc/srt/rfc/sap/zgetarticole/100/getarticole/demobinding</REQUEST_URI> <REMOTE_ADDRESS>192.168.2.71</REMOTE_ADDRESS> </REQUEST_INFO> </ERROR_CONTEXT>

With ST21 i got this system log

System Log: Local Analysis of DEZV-ECC 1 --------------------------------------------------- |From date/time............. 08.06.2017 / 10:00:00| |To date/time............... | | | |User....................... | |Transaction code........... | |Terminal................... | |Task / Number.............. | |Problem class.............. | |Further restrictions....... | | | |Transaction ID............. | |EPP Overall Context ID..... | |EPP Connection ID.......... | | | |Sorted ? ................ SOFI | |Pages with single entries 00000150 | |With statistics............ | | | --------------------------------------------------- System Log: Local Analysis of DEZV-ECC 2 Date : 08.06.2017 ----------------------------------------------------------------------------------------------------------------- |Time |Tip|Nr |Clt|User |CodTr|Priority|Grp|N|Text | ----------------------------------------------------------------------------------------------------------------- |10:21:58|RD | | |DDIC | | |Q0 |I|Operating system call connect failed (error no. 10060) | |10:21:58|BTC|013|000|BASIS | | |R4 |9|Communication error, CPIC return code 017, SAP return code 236| |10:21:58|BTC|013|000|BASIS | | |R6 |4|> CPI-C function: CMINIT(SAP) | |10:21:58|BTC|013|000|BASIS | | |LD |0|Could not send SLD data | |11:00:34|BTC|014|200|BASIS | | |D0 |1|Transaction Canceled DB 612 ( #0000000000000 RSDBAJOB ) | |11:07:57|DIA|009|100|K_ABAP|ST22 | |R4 |9|Communication error, CPIC return code 017, SAP return code 236| |11:07:57|DIA|009|100|K_ABAP|ST22 | |R6 |4|> CPI-C function: CMINIT(SAP) | |11:08:37|DIA|009|100|K_ABAP|ST22 | |R4 |9|Communication error, CPIC return code 017, SAP return code 236| |11:08:37|DIA|009|100|K_ABAP|ST22 | |R6 |4|> CPI-C function: CMINIT(SAP) | ----------------------------------------------------------------------------------------------------------------- Reading: Number of records read......... 0000001562 Number of records selected..... 0000000010 Old records skipped............ 0000001552 Further selection: Number of records read......... 0000000010 Number of records selected..... 0000000009 Parameter records suppressed... 0000000001 Number of records printed...... 0000000009 End of system log System Log: Local Analysis of DEZV-ECC 3 C o n t e n t s ------------------------------------------------------------------- |Content |Paginã| Start | End | ------------------------------------------------------------------- |Selection criteria| 1 | | | | | 2 |08.06.2017 10:21:58|08.06.2017 11:08:37| |Contents | 3 | | | ------------------------------------------------------------------- End of program

My program made with se37 is

SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { font-style: italic; color: #808080; } .L0S32 { color: #3399FF; } .L0S33 { color: #4DA619; } .L0S52 { color: #0000FF; } .L0S55 { color: #800080; } .L0S70 { color: #808080; }

FUNCTION Z_GREENTEAB2B.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(INPARAMETER) TYPE INTEGER DEFAULT 1
*" TABLES
*" ZWW_GRENTEAARTICOLE TYPE ZWW_GRENTEAARTICOLE
*"----------------------------------------------------------------------

"data:var(10) type c .

*SELECT MARA~MATNR AS IDARTICOL MEINS AS UNITATEMASURA MATKL AS CODARTICOL EAN11 AS CODBARE MAKT~MAKTX AS DENUMIRE PRDHA AS SORTIMENT PRDHA AS GAMA MTART AS ISSTOCABIL FROM ( MARA INNER JOIN MAKT ON MAKT~MATNR = MARA~MATNR )
*INTO CORRESPONDING FIELDS OF table TEMP_GRENTEAARTICOLEE .


"loop at TEMP_GRENTEAARTICOLEE .
"*TEMP_GRENTEAARTICOLEE-SORTIMENT = TEMP_GRENTEAARTICOLEE-SORTIMENT+0(4) .
"*TEMP_GRENTEAARTICOLEE-COTATVA = '19'.
"TEMP_GRENTEAARTICOLEE-ISSTOCABIL = TEMP_GRENTEAARTICOLEE-ISSTOCABIL+0(1).

* IF TEMP_GRENTEAARTICOLEE-ISSTOCABIL = '3' .
"TEMP_GRENTEAARTICOLEE-ISSTOCABIL = 1 .
"*ELSE .
"*TEMP_GRENTEAARTICOLEE-ISSTOCABIL = 0.
"*ENDIF.
* MODIFY TEMP_GRENTEAARTICOLEE.
" endloop.


SELECT MARA~MATNR AS IDARTICOL MEINS AS UNITATEMASURA MATKL AS CODARTICOL EAN11 AS CODBARE MAKT~MAKTX AS DENUMIRE PRDHA AS SORTIMENT PRDHA AS GAMA MTART AS ISSTOCABIL FROM ( MARA INNER JOIN MAKT ON MAKT~MATNR = MARA~MATNR )
INTO CORRESPONDING FIELDS OF table ZWW_GRENTEAARTICOLE .


loop at ZWW_GRENTEAARTICOLE .
ZWW_GRENTEAARTICOLE-SORTIMENT = ZWW_GRENTEAARTICOLE-SORTIMENT+0(4) .
ZWW_GRENTEAARTICOLE-COTATVA = '19'.
ZWW_GRENTEAARTICOLE-ISSTOCABIL = ZWW_GRENTEAARTICOLE-ISSTOCABIL+0(1).

IF ZWW_GRENTEAARTICOLE-ISSTOCABIL = '3' .
ZWW_GRENTEAARTICOLE-ISSTOCABIL = 1 .
ELSE .
ZWW_GRENTEAARTICOLE-ISSTOCABIL = 0.
ENDIF.
MODIFY ZWW_GRENTEAARTICOLE.
endloop.

*SELECT MARA~MATNR AS IDARTICOL MEINS AS UNITATEMASURA MATKL AS CODARTICOL EAN11 AS CODBARE MAKT~MAKTX AS DENUMIRE PRDHA AS SORTIMENT PRDHA AS GAMA MTART AS ISSTOCABIL FROM ( MARA INNER JOIN MAKT ON MAKT~MATNR = MARA~MATNR )
*INTO CORRESPONDING FIELDS OF table TEMP_GRENTEAARTICOLE .

ENDFUNCTION.

Using it with SAP Works , when i cosume the Web Service in Sap works but when i try to use it in Visual Studio it shows the error from the photo

aceasi-erroare.png (82.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers