Creating web transaction for sub screen modulr pool

Hi Experts,
I am working with SRM . I have crated a module pool program which contains one main screen (9000) and two subscreens (9001, 9002 ). Also one subscreen area ( SUBSCR ). I have created two buttons in the main screen , button1 and button2. When I click on button one 9001 subscreen will appear in the subscreen area and when I press button 2,  9002 subscreen will appear in the subscreen area SUBSCR.  this transaction is working fine in R/3 system. I have created a service in SICF. I need to write the coding in template. I have never written HTML coding for this type of problem.
Please give me the sample code for the above case.
thanks in advance
sankar

Hello Sankar,
If you already created this transaction and it works in the R/3 system then just follow the "Creating Internet Services" steps in the ITS help:
http://help.sap.com/saphelp_nw2004s/helpdata/en/53/302068f84311d4969300a0c94260a5/frameset.htm
Or you could do it manually:
1. create a new service in SICF
2. make sure the "GUI link" is yes
3. the parameters need to have:
    ~generatedynpro 1
    ~transaction   Z<transaction code>
4. Activate the service
That is probably the simplest way, let the ITS dynamically create the HTML for you.
Edgar

Similar Messages

  • How to create a transaction for table maintanence?

    Hi Experts,
      How can i create a transaction for insert/modify/delete entries for a table?

    Hi,
    First u nee dto create Table maintenace genaertor for that table.
    go to se11.--> table name --> change
    Mebu options: > Utilities> table maintenace gen (or Tcode SE55)
    Fill the following
    Authorisation group : &NC&( or group specified by Functiopnal owner)
    Function group:
    Maintrenace type: 1 step
    Maint screen: 6
    SAVE.
    Now after craeting Table maintenace genarator, u haveto attach tcode.
    Go to SE93
    Give ur tcode  for table.
    Check : Transaction with parameters.
    continue...
    Transaction :   SM30
    check SKIP INITIAL SCREEN
    Check all the check boxes of GUI support.
    under Name of screen field :
    TABLE VIEW             : table name
    UPDATE                    : X
    Rvert back if nay issues.
    Reward with oints if helpful.
    Regards,
    Naveen.

  • How to create web service for a Java class in SAP NetWeaver Studio

    hi all,
    i am using SAP Netweaver Developer Studio.have created a normal java project and i want to create web service for one of the classes in this project. i used the  Web Service Creation Wizard to create a web service for this class. but it says there's no methods available for VI. all my methods in this class are public, what should i do?

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • Issue in creating web service for a ABAP Function Module

    Hi,
    now i'm learning how to create web service for a ABAP Function Module. I used the following steps.
    1. select the Function Module, named "zws_test".
    2. in the context menu, select "create->proxy object". so we enter into wizard.
    3. in the wizard, press the radio button "Service Provider".
    4. in the next page, press the radio button "Existing ABAP Objects(Inside Out)".
    5. In the next page, Enter the "zws_test_prvider" as Service Definition and select "Function Module" as Endpoint Type.
    6. in the next page, enter "zws_test" as Function Module and mark the "Mapping der Namen" button
    7. in the next page,select "PRF_DT_IF_SEC_LOW" as Profile and mark "Deploy Service".
    8. Save in the local package.
    9. then it will pop up a window with title "WSDL Source". i selected "URL/HTTP Destination" and press "OK".
    10.in the next page, i enter the URL as "http://hostname:portnumber/", and press "OK".
    11. then it will pop up a window with title "Display logs". A record with error message "HTTP error(return code 404, message "Not found")" appears.
    12. i press "ok" and a service provider with name "zws_test_prvider" appears in my local package.
    13. i use "zws_test_prvider"'s URL to create a service consumer "ZCO_WS_TEST_CONSUMER" and logic portal "LP1".
    14. But when i test my service consumer "ZCO_WS_TEST_CONSUMER", it will throw an exception "cx_ai_system_fault" with errortext "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/".
    15. I use t-code SM59 to test connection  and get the following info.
          Status HTTP Response     200
          Status Text                      OK
          Duration Test Call             328 ms.
    who can give me the reasons about item 11 and 14, and explain me how to create service provider and service consumer for a Function Module.
    Thanks in advance
    Johnney

    have you seen this weblog
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices

  • XI for create web servicies for SAP R/3 4.6C

    Hi All,
    we are implementing PM (Plant Management) module of SAP R/3 4.6C and we have the necessity to create web services for some PM functionalities. Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI. Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly. So we think to use SAP EP.
    Which is your opinion about this architectural scenario? Is it possible to fulfil the requirement of our business users with a more simple architectural solution (for example with WEB DYNPRO)?
    Many thanks in advance for your collaboration.
    Regards,
    Bob

    Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI.
    TIBCO is another middleware. So once you expose your R/3 functionalities as web service, you may directly use TIBCO to integrate and XI won't be required at all.
    Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly.
    WebDynpro application would provide you an easy GUI and could act as Soap client as well to send data.
    Regards,
    Prateek

  • Creating an app for different screen resolutions/sizes

    Hi
    I'm currently in the process of learning application development for the iPhone and could do with some help on how to cater for retina and non-retina screens. I want to create image assets for each screen type.
    What the best way to go about detecting if the user has an iPhone 4 for example and selecting the appropriate images for that resolution? I understand that you attach '2x' to file names when coding natively but for a pure Actionscript project where the assets might be contained in a swc file what would be best to do?
    Thanks

    Hi Vic,
    The biggest advantage of building apps in Flash CS5.5 or Flex is the ability to target multiple devices and the 2 major platforms, iOS and Android oh and also Blackberry (anyone?).
    Best way to approach a build is to assume you do not know the screen size your app will be used on, since Android is so all over the place.
    I have been using stage.stageHeight and stage.stageWidth religiously for all my scaling although I have heard that method has its problems, it has worked well for me, I have put out 2 apps personally and 3-4 for work using this method both in Landscape and Portrait orientations and this method has worked well.
    The easiest way to build a multi screen app is to design it for an average ratio, 3:4 being the lowest = iPad so lets say you pick some decent size that wont be too big for smaller screens like the iPhone 3gs 480x320 and wont be too low for high res screens like the new Google Nexus or the Motorola Xoom 1280x800. I usually target the iPhone 4 screen 960x640 right now it seems to fall in the middle between older phones and tablets.
    The real quick and dirty way of doing it is to build all your assets inside a movie clip and then scale that movie clip proportionally to the stage, first checking to make sure none of it would be cut off due to different screen ratios, this is not the best way of doing it but it works well and its the easiest method.
    A better way is to scale and place your content in relation to the stage, again the stage.stageWidth and Height properties are your friends so if you have an element that always goes in the middle you would place it my_mc.x = stage.stageHeight / 2 and same with the y, you can also scale it to the stage my_mc.width = stage.stageWidth/4 this way the movie clip is always 1/4th of the stage width regardless of the screen, its a lot planning up front but this method allows you to cover the entire screen instead of just cramming your movie clip in there however it fits.
    Let me know if any of that helped I can go into further detail but I feel like I am rambling on.

  • Creating Web service for PL/SQL Procedure with Complex Data Types

    I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?

    Hello,
    When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
    So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
    You can find more information in the:
    - Developing Web Services that Expose Database Resources
    chapter of the Web Service Developer's guide.
    Regards
    Tugdual Grall

  • If it possible to create a Reportvariant for my Screen???

    Hi at all,
    i want to create a Reportvariant for my Screen '0200'.
    If i klick on the Button "SAVE", than it must opening a Reportvariant Window.
    (A report can have several different variants, with each variant retrieving different types of information.)
    There is one Problem, my Screen "0200" is created with Screen Painter, is it possible to add there a Reportvariant????
    I think there must be existing some Functions to open and save a Reportvariant.
    I hope anyone can help me.

    HI
    try this FM RS_VARIANT_SAVE_FROM_SELSCREEN...
    best regards
    Marco

  • Where can I find the the list of transactions for ESS screens?

    I want to test an ESS functionality in the SAP GUI. Where can I find the transactions for these screens? Is there such a table where these tcodes are stored?
    I believe you can test the ESS screens through inputting the tcode in SE93.
    Thanks! Any help will be appreciated.
    Points will  be awarded.
    Olekan Babatonde

    Bala? Do you even bother to read the original posts/questions?!?! That is soooooo far off and WRONG.
    @Clueless
       What version backend are you on? For the most part, you can look at it like this....
    For ITS based services....each ITS service will be tied to a transaction. You can find this by looking in the "service" file for the interent service (ie. double click on the top folder shown for the service and it will show you the service parameters in the rigth hand content area in t-code SE80). Most (but not all) can be found that way. Also, if you are on ECC5 or ECC6, you can look in t-code SICF at the individual services to find the parameters there as well  (a little more navigation required).
    For Java Webdynpro and ABAP Webdynpro ESS services, however, you will not really have a transaction so to speak. They communicte primarily through classes and BAPIs. Nothing there for you to find in SE93.
    Hope this helps.

  • Maintenance View - Can you sort/Filter? How to create z transaction for it?

    Hi,
    I will be creating a maintenance view that will be used several times at the end of every month, eventually storing more than 500 entries.
    Is there anyway for the user to be able to sort/filter the maintenance view by field? This would be helpful, since they would like to see what similar records are stored before adding others.
    What are my options?
    Also, how do you create a transaction code to go straight to the maintenance view instead of having to go through SM30?
    Please help.
    Thanks,
    John

    Hey John,
    Is there anyway for the user to be able to sort/filter the maintenance view by field? This would be helpful, since they would like to see what similar records are stored before adding others.
    What are my options?.
    Option1:
    We canu2019t give the sort button (as we give in the nomal reports). But if you know like - based on what field user want to see the sorted output(lets say field MATNR)? then we can create an Event for the table maintainance generator using SE11 and write the code. In this code we sort the output that will be displayed in SM30 as per the requirement.
    Also, how do you create a transaction code to go straight to the maintenance view instead of having to go through SM30?.
    Go-to SE93 and choose the option u201Ctransaction with parametersu201D and give the t.code as SM30 and Check Skip initial screen.
    regards
    Shyam.

  • Create web service for /POSDW/CREATE_TRANSACTIONS_EXT

    Hello Experts,
    In our POSDM implementation, we are trying to connect third party POS to POSDM via custom Middleware (.net application). I am trying to create a webservice for /POSDW/CREATE_TRANSACTIONS_EXT function module so that via middleware we can upload the T-log into POSDM.
    While creating a web service we are getting an error "
    SOAP application
    "urn:sap-com:soap:runtime:application:rfc:710"
    does not exist"
    I have also checked the function module is RFC enabled. If anybody can put some light on how to solve this problem would be really appreciated.
    Thanks
    Mayank

    Hi Mayank,
    Use transaction ST22 in R3 (where you have created the RFC) and see what error has occoured. This will help you to solve your problem.
    Since you got RFC_ERROR_SYSTEM_FAILURE exception, therefore have a look at the dev_jrfc.trc files. These files are written by JRFC and can be found in the directories j2ee/cluster/server* of the J2EE Application Server Installation.
    Thanks and Regards,
    Ramesh D

  • Creating web service for bapi and consume in portal.

    Hi ,
    I am new to Web Services. This is my requirement I need to publish the functionality of bapi as a web service and consume the web service from portal side.
    I have followed these steps to create web service.In transaction se80 i have created service definiton and a wsdl file is generated.
    When i am exporting that WSDL file and creating a model in a webdynpro project. I am getting the following error. I dont know how to proceed further.Error while loading WSDL.Check error log for more details.
    Whether the proxies need to be generated?What is the purpose of it? Where the proxies need to be generated?
    Is Process integration needed to use web services?
    Kindly guide me how to proceed.
    Best Wishes
    Idhaya R

    the proxy is the object that make possible to use the service; even if service and consumer are on the same host, you need a proxy to use it.
    try to check this blog
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap

  • Create Z transaction for ES51

    Hi there,
                 I need to make the Z transaction for ES51.Its program is SAPLES50 & package is EE01.I want to change the two fields of screen 200.Since there are no screen exits & BADI for this I am going for Z transaction of ES51.
    Also,I need to to do the validations for these two fields i.e I need to do modifications IN PAI of screen 200.
    Can you please tell me the procedure to do that?
    Thanks in advance.
    Regards,
    Abhay

    hi Abhay,
      If you just need to do the validation on 2 fields, I would suggest you to implement implicit enhancement or use field exist(Obsolete but still working).
      Create Zprogram can be as risky as modify SAP Standard itself.
      What you need to do is copy function group ES50 to ZES50 and change your code.
      Note - Check all the calling function modules in some cases you need to change all of them to Zfunction modules because some of function module might use global parameter of function group.
    Chaiphon

  • How to create a variant for a screen (not a selection screen)

    Hi
    I foud a function module RS_CREATE_VARIANT.
    Is this the correct fm for creating screen variant, if yes then pls provide me some help about how to pass values to this fm.
    if not then pls help me to find out new one.
    thnks
    satisfactory answer will be definitely rewarded.
    S@meer

    passing values to RS_CREATE_VARIANT.
    data : LS_VARIANTDESC TYPE VARID.
      DATA : LT_VARIANTTEXT TYPE TABLE OF VARIT ,
             WA_VARIANTTEXT TYPE VARIT.
      DATA : TT_REPORTPARAM TYPE TABLE OF  RSPARAMS,
             WA_REPORTPARAM TYPE RSPARAMS.
    CLEAR LS_VARIANTDESC.
              LS_VARIANTDESC-MANDT   = SY-MANDT.                " gr 46A
              LS_VARIANTDESC-REPORT  = 'ZXXXXX'.
              LS_VARIANTDESC-VARIANT = 'VARIANT'.
              LS_VARIANTDESC-EDAT    = SY-DATUM.
              LS_VARIANTDESC-ETIME   = SY-UZEIT.
              REFRESH LT_VARIANTTEXT.
              CLEAR WA_VARIANTTEXT.
              WA_VARIANTTEXT-MANDT    = SY-MANDT.               " gr 46A
              WA_VARIANTTEXT-LANGU    = SY-LANGU.
              WA_VARIANTTEXT-REPORT   = 'ZXXXXXX'.
              WA_VARIANTTEXT-VARIANT  = 'VARIANT'.
              APPEND WA_VARIANTTEXT TO LT_VARIANTTEXT.
           CALL FUNCTION 'RS_CREATE_VARIANT'
                  EXPORTING
                    CURR_REPORT               = 'ZXXXXX'
                    CURR_VARIANT              = 'VARIANT'
                    VARI_DESC                 = LS_VARIANTDESC
                  TABLES
                    VARI_CONTENTS             = TT_REPORTPARAM
                    VARI_TEXT                 = LT_VARIANTTEXT
                  EXCEPTIONS
                    ILLEGAL_REPORT_OR_VARIANT = 1
                    ILLEGAL_VARIANTNAME       = 2
                    NOT_AUTHORIZED            = 3
                    NOT_EXECUTED              = 4
                    REPORT_NOT_EXISTENT       = 5
                    REPORT_NOT_SUPPLIED       = 6
                    VARIANT_EXISTS            = 7
                    VARIANT_LOCKED            = 8
                    OTHERS                    = 9.
                IF SY-SUBRC EQ 7.
    If variant with same name already exists, change variant
                  CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT'
                    EXPORTING
                      CURR_REPORT               = 'ZXXXXX'
                      CURR_VARIANT              = 'VARIANT'
                      VARI_DESC                 = LS_VARIANTDESC
                    TABLES
                      VARI_CONTENTS             = TT_REPORTPARAM
                    EXCEPTIONS
                      ILLEGAL_REPORT_OR_VARIANT = 1
                      ILLEGAL_VARIANTNAME       = 2
                      NOT_AUTHORIZED            = 3
                      NOT_EXECUTED              = 4
                      REPORT_NOT_EXISTENT       = 5
                      REPORT_NOT_SUPPLIED       = 6
                      VARIANT_DOESNT_EXIST      = 7
                      VARIANT_LOCKED            = 8
                      SELECTIONS_NO_MATCH       = 9
                      OTHERS                    = 10.
                ELSEIF SY-SUBRC NE 0.
                MESSAGE WITH 'Cannot create/change variant for'
                SY-UNAME.
                ENDIF.

  • How to write HTML code in Web Template for selection screen

    Hello All,
    Is it possible to write a html code in the web template html tag so that the output of the html is displayed in the selection screen, i.e before the execution of query.
    I know that we can write html, which will be displayed once the query has been executed, but can it be done for selection screen.
    if so, how.
    My exact requirement is : to display a 2-3 lines of text in the selection criteria screen - sort of, various options available to user for entering values in the selection screen.  I was thinking of putting this text using HTML code in the selection screen.
    Regards,
    Nagendra.

    Hi Erick,
    No, unfortunately nobody replied to this thread. So i assumed it is not possible to modify the selection screen thru html code.
    Btw, as my requirement was to provide user with multiple answers on the selection screen. I did the validations on customer exit and popped an errror dialog when applicable.
    Regards,
    Nagendra.

Maybe you are looking for

  • Problem with LDAP in BEA Portal

    Problem with LDAP in BEA Portal I have a list of 50 user which should be cerated in portal staging(devlopment) machine and should be transfered to production machine using LDAP Steps which i followed to create Users 1.Create User Profile with 2 param

  • Multiple uploads - Setting up the fields.

    I would like to make a page where the members can upload up to 4 images for their clients design proofs. Searching through examples and posts, I came up with this code to upload and insert the information into the database: <cfif IsDefined ('Submit')

  • Is there a reset, or reinstallation disk I can buy for my macbook pro?

    I need to reset my macbook pro, the person I bought it from did not wipe it properly so I cannot update everything. Is there something I can buy to completely reset it?

  • Remove erropr message when stock available inmain stores

    hi all during conversion of planned order to process order ,if there is no stock on shop floor storage location then system give error message-'missing parts' even if stock is available in main stores in plant. please suggest config setting require t

  • AUDITINg IN SQL 2008

    Hi , is there a way to audit users are member in the Sysadmin role using SQL auditing ?