cancel
Showing results for 
Search instead for 
Did you mean: 

ITS Mobile - passing okcode

Former Member
0 Kudos

Hi All,

I am working on my first project in ITS Mobile(integrated ITS). I need your help in understanding the concept (Coding part) before going ahead.

As of now I have my first dummy application developed to understand the process. I have designed a module pool program assigned to an easy web transaction.

1>In the first screen (8000)I have an i/p field to accept PO number and a button 'GET'. In the code I have written a logic to validate the PO number and through a message to the second screen if PO does not exist.

case ok_code.

when 'GET'.

select ebeln ebelp from ekpo into table it_ekpo

where ebeln = i_po.

if sy-subrc ne 0.

call screen 8001 starting at 20 20 ending at 60 40.

endif.

2>In the second screen(8001) I have placed a text field with hardcoded msg to display the error.

3> ITS Service and SICF part also done. When I am doing the TEST SERV ICE in SICF, I can see the the first screen in the IE after SAP logon.

4> But after i/p the PO number and clicking the GET button, I am not getting the second screen.

By going through the prev postings, I can understand I need to pass the OKCODE to the URL and etc. Also I need to get the line item details of PO(not yet designed) and display on another screen in case of no error.

But I can not understand where I need to write the code? Is it inside the HTML template created for the screen? I have never/long back worked in HTML editor / Jscript.

Please help me understanding the concept? Also if any document over the internet or any book which I can refer for the ITS mobile application CODING PART ll be helpful.

Thanks,

SAM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Most of my doubts are clear now.

Former Member
0 Kudos

Hi,

I can see 3 standard buttons coming on my screen on the top while testing the service :

1> Send : On click its displying the subsequent screen based on the condition. But this is not happening on click of the 'GET' button.

2> ITS Mobile1 : No action on click.

3> Log Off : Logging off from the application.

What are these buttons? And the logo is not coming for these buttons.

Can I suppress the standard buttons except Logoff? And please let me know how and where shall I pass the function code of the custom button to make it work?

Thanks,

SAM