Example scenarios for usage of scripting

Hi,
sapian
     Can any of you give me some typical examples for usage of scripting in sap BODS except the sql statements.Like i need examples for error handling and for some other scenarios where i can use scripting.
Please suggest me some scenarios with examples for the same.
Thanks in advance
Regards,
Kishor Kumar s

Check this -
How to capture error log in a table in BODS

Similar Messages

  • Bar Code Sample Example for Usage in Smarform

    Dear Experts,
    We are trying to print the barcode on the Manufacturing Sheet and should contain the PART code, Serial Number and the Mfg. Date embeded in the bar code.
    Can somebody share the sample  Bar Code Example for Usage in Smarforms.
    I never got a chance to work on such development. We are getting different answers from our development partner and sould like to excersize this on my own.
    Appreciate your help
    Regards,
    Ravati

    Hi Ravati,  It's simple!!
    Follow the example below for printing barcode in smartform .
    There are some SAP standard barcodes(for ex.ARTNR,AUFNR ..etc) and also we can create our own barcode for it by using transaction code SE73.
    1. Steps for using existing barcode in Smartform
    For Printing Barcode in Smartform, you need to have the style with barcode active in it. So define new style where the standard settings should define the barcode that you want to use in the smartform.
    For example, For product information display I use the Style as ZMFG_BARCODE.
    Create paragraph & character format as "P1 - Product Description". In standard setting of character format P1, select the standard or custom defined barcode. This will ensure the printing of Product Information in Barcode format.
    Now Create Smartform with output options specifying style name which you have created with Barcode active.
    Complete your smartform coding, and when you want to display the information in barcode, concatinate all the required information and enclose that text in character format like,
    for Product Code assuming the technical field name as mara-matnr, it should be printed as below:
    <P1>&mara-matnr&</>
    2. Steps to create new barcode using SE73 - SAPScript Font Maintenance.
    In SE73, Select radio button "System barcode" to create new barcode.  While creation of this barcode, you have to describe the new barcode, select technology new, barcode symbology and barcode alignment.
    You may also chage the barcode parameter if required.
    Now follow the same steps to implement this new barcode.
    Hope this will help you.
    Regards,
    Pravin

  • Business scenarios for daily, weekly and nightly loads!!

    Can any body tell some Business scenarios for daily, weekly and nightly loads where we monitor the loads in Production support.
    Regards
    srikanth.ch

    Hi,
    It all depends on your business needs. In general on daily basis you will load the SD and MM which will cover all the stock and sales done for day. Generally most of the clients use Lo Cockpit extraction for both the modules. FI chains will run on month end for example the AP(Accounts Payable),AR(Accounts Receivable) chains will be run on the month end.
    Some SD datasources : 2lis_13_vdhdr, 2lis_13_vditm, 2lis_13_vdkon - all these to pull billing related data
    Some MM Datasource : 2lis_03_bx and 2lis_03_bf.
    Regards,
    Harish Raju

  • Typical business case scenarios for SharePoint 2013 Apps

    What are the typical real time business case scenario for 1. SharePoint Hosted apps 2. Auto Hosted apps 3. provider hosted Apps? Why people choose any of this model apps model in comparison to typical On-Premise solution? 
    Another question comes is when should one go for On-Premise solution rather than Apps? What are real time scenarios?

    Let's discuss first whether to develop apps or full trust solution.
    Talking about technical aspect, On-Premise solution is popular choice for organizations who have SharePoint hosted on premise (not SharePoint Online). However, if you are using SharePoint Online, there's no choice except Apps (and possibly sandbox but deprecated).
    So for SharePoint Online only viable solution is developing apps. However for on-premise you can develop full trust or apps. However since apps requires a bit more configuration and not yet full feature set as you can do with full trust, most people are still
    developing full trust solution on premise.
    Talking about business requirement at hand, you can develop apps (even in on-premise), if your requirement is really looks like an app. For example, you would like to develop a SharePoint solution, that will show data from SAP inside SharePoint. The solution
    mostly nothing to do with SharePoint but calling SAP services to perform stuffs. So you can develop an apps and deploy inside SharePoint. Another example is import CSV files in SharePoint list, you can write an apps. But mostly I think you need to decide whether
    to develop apps depends on the Apps API ability. The API is still very limited in features/functionalities. So even if your requirement looks like apps you can't develop apps if the current SharePoint Apps API doesn't support the functionality. 
    Now let's talk about which apps model you would like to use SharePoint Hosted apps means everything hosted inside SharePoint and no other external infrastructure is required. One example is the CSV file upload apps. However, with SharePoint hosted apps,
    you can't use C# rather you just have javascript to develop the apps. There's rumours that auto hosted apps will be deprecated not sure but there's not more conceptual difference apart from where the apps is hosted (both hosted outside SharePoint). Provider/auto-hosted
    apps will be running outside SharePoint (i.e., in IIS web site), and communicate to SharePoint through REST or client object model. One provider hosted apps in the office app market is adlib pdf conversion. The apps allows you to select multiple files and
    covert them to pdf file. Basically the conversion site is hosted somewhere outside (in the provider's infrastructure). When you select all the files and click 'convert' from ribbon user is redirected to the provider site (different url) and the files are merged
    and converted to pdf. Since it's outside of sharepoint, you can use any development language (C#, java, php etc.). The provider hosted app talks to sharepoint through REST or client object model.
    So in summary, sharepoint hosted app has less complexity as it doesn't require another infrastructure and runs inside sharepoint. However you are limited to use only javascript to develop your apps. On the other hand with provider hosted apps, you can use
    any development language but you need to consider extra level of security/complexity to integrate the app with sharepoint.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com
    Thanks for this nice reply. Plz clarify if only Auto hosted apps will be deprecated or provider hosted apps also may be deprecated by MS?

  • Complicated Free goods scenario for Beverage

    Hi
    These are scenario for F&B business - mostly they have complicated promotion on free gifts which I think SAP standard cannot cover it. If any of you has the similar cases, please share how you handle it, thanks.
    1. Buy soda water size 10 oz regardless of soda taste for 1 pack (1 pack consist of 24 bottles) then get 1 bottle free.
    2. Buy soda water size 10 oz regardless of soda taste for 1 pack, then get 1 bottle free - maximum at 2 sets.
    3. Buy soda water either size 10 oz or 15 oz for 1 pack, get 1 bottle of 10 oz free
    4. Buy soda water regardless of soda taste as set i.e. for every 36 packs of combine size 10 oz, 15 oz and 1 lt - get free items of 10 oz/15 oz for 2 bottles per pack and free item of 1lt for 1 bottle per pack
    5. Similar to 4 with additional condition that 1 soda taste must be more than 50%  - for example, it must be coke at least 50%
    6. Sales quota - Buy 1 pack, get 1 bottle free - maximum 100 bottles for each customer
    Please kindly share your experience or ideas. Thank you
    Chanchana

    HI Chanchana,
    I had a similar problem while configuring Free goods in Ceramic Industry(Sanitaryware division).
    For Eg: In the case of wash-basins, basins of different colors are defined as different materials, an the requirement was to
    2 Black & 2 red = 1 tap free
    or
    1 red, 1 white & 1 black = 2 taps free.
    We did a lot of R&D considering std SAP free goods scenario, out of which I can conclude the following:
    1) Std SAP allows only 1 + 1(Same material, inclusive) or 1 + 1(different material, exclusive) to be configured as free goods.
    In your case if the main material and the free goods are defined as two different materials and there is no 3rd material coming into picture only then free goods config will work.
    For Eg: For 10qty Material A, 1 qty of material A free - possible
                For 10qty of material A, 1qty of material B free - possible
                For 10qty of Material A, 5 qty of Material B, 1qty of Material C free- not possible in std SAP.
    You can convince this to your client, but if they still insist on having the same, you will have to develop a custom 'Z' application which will control the same. However, the same might turn out to be very complex, since pricing, COGS of the free material has to be taken care of along with a lot of other factors. Also the delivery and billing has to go through std SAP, mapping of which will be complex again.
    All the best.
    Regards,
    Amit
    Edited by: Amit Iyer on Sep 20, 2010 10:17 AM

  • ALE & IDOC Example Scenarios

    Hi all,
    I'm trying to learn ALE & IDOC. I'm looking for example program for practicing.
    I gone through arvind nagpal book and other documentations. I know the theoretical part, but i'm desperately looking for some example programs.
    I've searched in google and SDN, but didnt find any example programs.
    or else.
    Can someone explain me briefly, what is the role of technical consultant in ALE&IDOC scenario?. Whether it may
    creating the logical systems.
    creating partner profiles
    creating RFC destinations
    etc etc....
    Thanks in advance.
    Edited by: Mr A on Feb 2, 2010 9:41 PM

    Hi,
    Based on the business requirements, you may need to do the following actions:
    1) Extending standard Idocs.
    2) Complete custom idoc scenario
    3) Enhancing standard Idoc population programs using exits.
    4) Creating custom segments
    5) Creating partner profiles
    etc

  • Direct material procurement in PDP scenario for classic mode

    Dear Gurus,
    We have configured classic scenario in our SRM 7.01 with backend system ECC 6.0 Enhpk 5.  We have PDP scenario for direct material as one of the requirement. The requirement generated in MRP in the ECC backend system will be sent to SRM SOCO for sourcing. Once the right source of supply is found, the follow-on purchase order needs to be created in the ECC backend system in direct material mode.
    However, the SAP SRM standard supports only indirect material procurement in PDP scneario for classic mode. How to enable the direct material procurement? Could you suggest any BAdi to be used here?
    Thanks and regards,
    Ranjan
    Ranjan Sutradhar

    Hello,
    You need to activate the Bsdi 'ME_REQ_SOURCING_CUST' for transferring the purchase requisitions from ERP to SAP SRM.
    Some details about the method involved for the same are mentioned below :
    Mehtod : IF_EX_ME_REQ_SOURCE_CUST~ACTIVE
    ->when parameter CV_AUT_SOURCING is set to true, external sourcing (e.g. SRM system) is active in ERP system
    ->when parameter CV_EXT_RFX_IND is set to true, RFx can be created out of PR directly from ERP system using application CPPR
    ->when parameter CV_EXT_SC_IND is set to true, PR in ERP system will be transferred to SRM using application CPPR
    Method b. IF_EX_ME_REQ_SOURCE_CUST~CHECK_EXTERNAL_SOURCE
    Here you need to maintain the logic / condition for which PR has to be transfered to SOCO.
    Example
    IF ( is_req_item-ekgrp = 'SRM' AND is_req_item-matkl = '100' )
    cv_ext_sourcing = cl_mmpur_constants=>yes.
    ENDIF.
    When this BADI is active whenever you save a PR with say the purchasing group as SRM and material group is 100 (as per sample code above), system automatically triggers the PR transfer from ERP to SRM by xml's.
    Best Regards,
    Rahul

  • Scenarios for ale/idoc/edi

    can any body pls give the real time scenarios for the ale/ido/edi. pls very urgent. ur answer will very helpful 2 me.

    Hi,
    Please check these examples of real time scenarios are:
    1. Outputting Purchase Orders as IDOCs on saving the PO.
    2. Outputting Inbound Delivery on receipt of ASNs.
    3. Processing Goods Receipt from a third party system.
    Regards,
    Ferry Lianto

  • Could you provide example code for interactive form

    Dear all.
    I have got document at link below
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d
    In that document it has some part of abap code.
    Could you have full example code for interactive form online and offline?
    Thank you very much.

    Hi,
    Go to the following link to know more about adobe interactive form.
    http://wwwimages.adobe.com/www.adobe.com/enterprise/partners/pdfs/bwp_interactive_forms_adobe.pdf
    The following link contains a offline application in ABAP. You can try it.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d
    For further questions, check the follow
    https://www.sdn.sap.com/irj/sdn/adobe
    Improving the Performance of Adobe® LiveCycleu2122 Designer Forms(scripting)
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_perf_guidelines.pdf
    Interactive Forms Based on Adobe Software: Overview
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e635e290-0201-0010-a9be-9e8e4ce04770
    Adobe Interactive Forms
    http://www.saplounge.be/Files/media/pdf/Huberland-Interactive-Forms-2007.10.10.pdf
    Taking interactive forms to next level
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c103c36-0301-0010-cda8-f6b381bedb6e
    Introduction to Adobe PDF Library SDK(PDFL SDK)(Simply scroll the document)
    http://partners.adobe.com/public/developer/en/webseminars/PDFL_WebSeminar.pdf
    Creating Interactive forms in webdynpro for java
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
    PDF-Based Print Forms/SAP Interactive Forms by Adobe
    http://help.sap.com/saphelp_nw04s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm
    Date Objects in Adobe Designer
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
    Checking and Testing a PDF-Based Print Form
    http://help.sap.com/saphelp_nw04s/helpdata/en/c2/1fe9aa4d7b413e8515f90b73729e97/frameset.htm
    Architecture
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
    http://www.nl4b.com/Adobe/Invitation_SAPBrussels_Q407.pdf
    Hope this helps!!
    Regards,
    Arafat

  • HCM Processes and Forms : Using single Form Scenario for Multiple Countries

    Hi ,
    I have a requirement to design a HCM P&F form ( Single Process, Single Form Scenario ) to support multiple countries.  Form fields should be visible/invisible based on the country ( derived from the login Manager).  please help me with the following questions.
    1. Is it right way to enable/disable the fields in the same form scenario for multiple countries ( Approx. 20-25 countries)
    2. Is there any limitation to no. of fields on the form? does the form performs well with multiple dynamic conditions?
    3. If yes, what is the best way to do this? through Java Script / Back end Generic Service?
    Thanks in Advance,
    VR.

    Hi VR,
    1. Is it right way to enable/disable the fields in the same form scenario for multiple countries ( Approx. 20-25 countries)
    -You can use same form scenario or process for multiple countries if you are using fields based on international structure HCMT_BSP_PA_XX_R*. If you intend to use country specific fields then you may like to use different form scenario for different countries.
    2. Is there any limitation to no. of fields on the form? does the form performs well with multiple dynamic conditions?
    - As such there is no limiation for the fields.Yes, form performs well with multiple rule configurations.
    3. If yes, what is the best way to do this? through Java Script / Back end Generic Service?
    I interpret you would like to derive & show fields based on same backend logic, in that case you should generic service.
    If you want to show fields based on manager's logon then you should also use authorization BAdi.
    Regards
    Pooja

  • IDES-Scenarios for SAP SCM APO?

    Hello!
    Lately I have been working with SAP ECC on an IDES system and help.sap.com provides nice example scenarios on how to use it (things like: how to specifiy production plans and orders for building a motor bike in the IDES-Company).
    But now working with SAP SCM, and i cannot find any scenarios describing how to use the system with the included training data.
    Anybody knows where the examples are or if they exist?
    Thanks a lot!
    Michael

    Hi Michael,
    Have you ever seen [Customer Case Studies|http://www.sap.com/solutions/business-suite/scm/customersuccess/casestudies.epx] for SCM?
    I suggest you also to look at [SAP Knowldege Shop|http://service.sap.com/knowledgecat] you should look for information about [Best Practices|http://help.sap.com/content/bestpractices/industry/bestp_industry_automotive.htm].
    If you want to know how you could get the information on DVD, please [look here|http://help.sap.com/content/bestpractices/scenarioscope/industry/How_to_order_ext_EN.ppt].
    You can get [more information about SAP Best Practices on SAP portal too|http://www.sap.com/services/bysubject/servsuptech/servicedetail.epx?context=0DFA5A0C701B93893897C14DC7FFA7D62DC24E6E9A4B8FFC77CA0603A1ECCF58A86F0DCC6CCC177ED84EA76F625FC1E9C6DCDA90C9389A397DAB524E480931FB6B96F168ACE1F8BA2AFC61C9F8A28B651682A04F7CEAA0C4%7c0E320720D451E81CDACA9CEB479AA7E5E2B8164BEC98FE2B092F54AF5F9035AABA8D9DDCD87520DB9DA337A831009FFCF6D9C0658A98A195866EC702B63C1173C6972CA72A1F8CB611798A53C885CA23A3C0521D54A19FD1B3FD9FF5BB48CFCC26B9150F09FF3EAD843053088C59B01E24EA8E8F76BF32B1DB712E8E2A007E7F93D85AF466885BBD78A8187490370C3CB3F23FCBC9A1A0D7].
    I think the provided links will help you to get what you want.
    Best regards,
    Carlos

  • Scenario for a single forest model

    Kind greetings.
    Could anybody please help me to know the best suited scenarios for a single forest model?
    I would be much appreciated. Thank you.

    Hi Tino,
    Thanks for your reply.
    The deployment below is a simple environment with a single domain in a single forest, you can take it as an example:
    Server1: Domain Controller and DNS server (only one NIC with a static IP address and DNS server points to itself)
    Server2: Domain member (in the same subnet with Server1, DNS server points to Server1)
    Install AD DS in server manager on server1, choose Create a new forest on Choose a Deployment Configuration page. On the Domain Controller Options page, select DNS server option and create the first domain controller with DNS role in a new forest.
    Then promote server1 to a Domain Controller. After that, add Server2 to the domain.
    More information: 
    Installing a New Forest by Using the Graphical User Interface (GUI)
    http://technet.microsoft.com/en-us/library/cc755059(v=ws.10).aspx
    How to Join Your Computer to a Domain
    http://technet.microsoft.com/en-us/library/bb456990.aspx
    Best regards,
    Susie

  • Want Scenarios for BPM

    Hi All,
    Can anybody pl. provide some BPM Scenarios, BPM Docs, or any related Docs for BPM.
    i want some  Scenarios for BPM.
    Thanks in advance,
    Shweta

    Hi Shwetha,
    BPM is used for Stateful communications,suppose u have to delay message processing,or wait for other messages to arrive and then semd them all together,in that case use BPM.
    We will use BPM when ever we want to do the following:
    1.Controling or Monitoring of messages in XI
    2. Collect or Merge the messages in XI
    3. Split the messages in XI
    4. Multicast a Message
    5. Need to send an Alert
    6. Transformation
    With its BPM capability, SAP NetWeaver:
    • Exploits business-process efficiency by giving your business
    users the ability to directly model, manage, monitor, and
    analyze business processes
    • Enables continuous process improvement and the dynamic
    modification of business processes
    • Extends the value of your company’s core business investment
    and maximizes the return on its strategic assets by providing
    the ability to change process rules without additional IT
    investment
    • Provides greater visibility into critical business operations for
    better decision making by delivering the right information at
    the right time
    • Allows the integration of people, applications, and internal
    and external resources
    Process step types:
    Message relevant:
    Receive: We use it to receive a message. By receiving a message we are sending the data into process. We can use it to start a process. We can use it for activating or using correlations.
    Send: We use it to send either an asynchronous or synchronous message or an acknowledgement.
    Receiver Determination: We use it to get a list of receivers for sub sequent send step. It calls the receiver determination that we configured in the integration directory and returns receivers list.
    Transformation: We use it to change a message inside the process. E.g. bundling multiple messages into 1 or splits a message into multiple.
    Using this we can create N:1 or 1:N or 1:1 transformations. In general scenario 1:N transformation is possible.
    Process flow control Relevant:
    Container: We use it to set a value for target container element at runtime. Target container element and assigned value must have same value.
    Control: We use it to terminate the current process and to trigger an exception and to trigger an alert.
    While Loop: To repeat the execution of steps within the loop.
    Fork: We use it when you want to continue a process in branches that are independent of each other. E.g. to communicate with two systems that are independent to each other
    Block: We use it to combine steps that you want to execute one after the other and which are to access the local data.
    Empty: It has no influence on the process flow. We use it as a place holder for a step that has not yet been defined, and as a step with no functions for test purposes.
    Wait: We use it to incorporate a delay in the process.
    Switch: We use it to define different processing branches for a process
    T.Codes for B.P.M:
    SXMB_MONI_BPE
    SXWF_XI_SW11
    For Example a Small Explanation reg BPM for this Req we used BPM
    A background program should be scheduled to run every 10 minutes to analyse any material records that have been created or changed or deleted that have occurred to the material master records in the last minute.
    There are two Message Mappings involved in the whole scenario. First mapping is N:1 Mapping which will be used in BPM and second Mapping is 1:1 Mapping:
    1. First Message Mapping  N: 1 u2013 Mapping between IDoc (occurrence u2013 0...unbounded in u201CMessagesu201D tab) to IDoc with changed occurrence of its top node (IDOC) as 0...unbounded. This message mapping will be used in BPM u2013 transformation step.
    Description: This BPM collects all Idocs for 10 minutes which are of Message Type (ZMATMAS05) according to Receiver Partner Number (Field u2013 RCVPRN) and calls N: 1 mapping to bundle the collected Idocs in a One External Definition for that IDOC.
    Use
    You use a wait step ( ) to incorporate a delay in a process. Usually, you use a delay to define when the next step in the process is to start. You can define a delay as either a point in time or a period of time.
    At runtime, the step waits until the specified point in time is reached or the specified period of time has passed. The system then continues the process by proceeding with the next step.
    Expalined clearly how to do a file to file scenario with BPM :
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    it is File>RFC>File using BPM then refer this blog.
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    BPM-1 /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    BPM-2 /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
    BPM-3 /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    BPM-4 /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    Integratio Scenario
    /people/venkat.donela/blog/2006/02/17/companion-guide-to-integration-scenario
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi
    Schedule BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm
    Use of Synch - Asynch bridge in ccBPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    without BPM
    /people/henrique.pinto/blog/2007/08/02/syncasync-scenarios-without-bpm
    without BPM1
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    IDOC BPM
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    To deal with Multiple sender and receivers based on the conditions we could use BPM. Its one of the feature of BPM, but its not mandatory to go for BPM for each n every case. Its depends upon scnenario.
    /people/marilyn.pratt/blog/2007/10/12/clubhouse-las-vegas-a-bpm-roadmap
    BPM Process Patterns:Repeatable Design for BPM Process Models
    http://www.bptrends.com/publicationfiles/05%2D06%2DWP%2DBPMProcessPatterns%2DAtwood1%2Epdf
    BPM Steps link : http://help.sap.com/search/highlightContent.jsp
    Regards,
    Vinod.

  • Java GUI for a shell script

    I have a file with passwd format.I made a script for this file that is working as I wanted it to work.I have a list of options and each time I give an option,the script is doing something(for example,if I press "b" it makes something and if I press "a" it makes something else).All the results are an output from the file.
    My question is how can I create a GUI in java for this script.For example if I want the script to do what it would do if I pressed the "a" button on my keyboard,but not by pressing "a",but by choosing from a drop down list or some other graphical feature(by ticking a check box,clicking a button etc).Can I do this with java?
    Lazaros

    Hi,
    I understand you can create a Java Swing gui for a bash shell script which takes both complex input and writes output to the stdout & files, to be specific. Is that correct?
    If yes, could you give a simple example. Say for the following shell script.
    #!/bin/sh
    printf "Enter input\n"
    i=0
    while [ $i -ne 1 ]; do
    read $inputVar
    if [  "$inputVar" == "y" ]; then
    printf "You typed yes\n"
    i=1
    elif [  "$inputVar" == "y"  ]; then
    printf "you typed no\n"
    i=1
    else
    printf "Enter a valid character\n"
    i=0
    fi
    done
    Could you also point to some URL's which might help? Googling for "Java Gui for shell script" returns this as the first page, others dont really help. Googling "GUI for shell script" returns all other gui toolkits for xes but thats not what I want. I want a cross platform (nixes, Win*, MacOS* ) gui for a shell script ( which I plan to run using cygwin etc).
    TIA
    Vinod

  • How to use pre-defined scenarios for RosettaNet with XI 3.0

    Hi all.
       I am working in Comgroup Shanghai co. ltd. which is partner of SAP China.
       We have a potential customer who use RosettaNet as their Supply Chain EDI system.
       I would like to make a demo for demostrate the pre-defined scenarios for RosettaNet RNIF 2.0 packages.
       Where can I find such guideline ? I have checked the article: implementing RosettaNet with XI 3.0, but it cannot help me.
       Another question is how I can develop my own scenarios for the RNIF standards which are not included in XI RosettaNet business package ?

    Hi Andy,
    See the instructions below after you installed the RosettaNet STK.
    Below given is the sample config for PIP3B2 Scenario. Part I is using STK and Part II is using 2 XI systems.
    <b>Part I. Test Using STK</b>
    In your XI ID:
    1) Define both the parties 1) Shipper(Your Partner) 2) Receiver(Your company) with identifiers like DUNS Number.
    2) In ID goto>Tools>Transfer Integration Scenarios from IR-->select the scenario "PIP3B2_Receiver" from the drop down list.
    3) Follow the 4 steps in the config wizard.
    4) While creating your CC, create it from the channel template delivered with the RosettaNet BP.
       4.1) Specify the URL for STK which should be in the following format
    http://<STK Server>:<port>/rosettanet/servlet/listenerServlet?userId=<Party Name>
       4.2)In the location fields, enter your location and your partner location.
    In your STK
    1) Start the RosettaNet STK.
    2) enter the UserID<Partner Name in XI>
    3) Select the Test Scenario, 3B2V01.01-AdvanceShipmentNotification-0001-Scenario-Shipper
    4) Enter Global Business ID(DUNS Number) and Location ID for both the partners. These fields should be same as in your R/3 Party configuration.
    5) Enter the URL as follows:
    http://<XI Server:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    If everything is configured correctly as mentioned, you should be able to test your single-action scenario.
    <b>Part II Test using another XI System</b>
    For these follow the steps above for XI Config.
    Configure one XI System as PIP3B2 Shipper using the Scenario "PIP3B2_Shipper" and config wizard as mentioned above.
    Configure the other XI as PIP3B2 Receiver using the scenario "PIP3B2_Receiver" and config wizard.
    In the Url field, specify the URL as follows:
    http://<XI host>:<J2EE_Port>/MessagingSystem/receive/RNIFAdapter/RNIF
    Hope this helps.
    Regards,
    Sam Raju

Maybe you are looking for