How to create a decision tree in ABAP (in SAP or not, and how????)

Hello,
I have to create a decision tree which has to be called within a BAPI.
This tree finally has to return 1 single value.
Can you tell me what's the best solution for this ?
Should I do this with abap, or should I call a webapplication which provides this tree for me ?
It would be great if you could provide some example-code for me.
Kind regards,
Gert-Jan

I am not sure I understood what you meant by decision tree. If you are simply talking about arriving at an answer based on one or more inputs, then it is a simple IF ELSEIF ELSE statements or CASE statements.
Can you please elaborate/give example of what you mean by decision tree?

Similar Messages

  • How to create  calendar in web dynpro abap

    Hi ,
    how to create  calendra in web dynpro abap.
    Thanks in advance.
    Regards, Chetan

    hi,
    For calender control, there is Date Navigator under "complex tab". You can just click and drag it and provide calender control.
    One more easy way is to create a input field. In the context, create a node and attribute of type "D"(which means DATE). And bind the context to your input field under "values" in property window. While running the program, you will see an calender attached to lt on the input field.
    Regards,
    Jithin

  • How to create custom calendar in webdynpro ABAP.....(WDA)

    Hi,
    How to create custom calendar in Webdynpro Abap ?.
    Regards,
    Narasimha

    The best way I see here is to develop your custom calender in any of the UI technologies supported like Flash (flex) or HTML5 (or maybe even SilverLight? not sure) and embed it in your WD view. You can also handle interactions between the embedded component and the WD controller.
    Regards,
    Raghavendra

  • How to create a Service Contract ? (ABAP related devlopment)

    Dear All,
    How to create a Service Contract ? (ABAP related devlopment)
    The Info I have is that
    Service contract will contain:
    u2022     Validity Start
    u2022     Validity End
    u2022     Duration u2013 minimum period for contracts
    Additional Info:
    1. Creation of service contract will take place automatically via u201Cfunction moduleu201D. This step will take place if all serial numbers are known in the sales order.
    2. When ever a Sales Order is created in Seibel containing a line item of servie contract I need to create a service contract
    I searched a BAPI -- BAPI_CONTRACT_CREATE
    I searched a Tran  --  VA41- create Contarct ( type - WV - Service and maint)
    I am i in right direction ---> , If you have any good solution kindly answer
    Please help.

    Hi Iqbal,
    You can use
    BAPI_CONTRACT_CREATE
    BAPI_CONTRACTS_CREATEFROMDATA .
    Once you create the contract, update the technical objects for the contracts
    using two function modules called one after another.
    IWOL_WV_ADD_OBJECTS
    IWOL_WV_POST_OBJECT_LIST
    Check this link:
    http://abap.wikiprog.com/wiki/BAPI_CONTRACT_CREATE
    Regards,
    Chandra Sekhar

  • How to create a new field for Q3 - QM notification in Header and item level

    Dear All,
    l
               Sub: How to create a new field for Q3 - QM notification in Header and item level
    Ref. the link --> Quality Notification
    We want to create a new field in header level and item level.
    As per the thread the solution is given below.
    In the IMG Config: Quality Management -> Quality Notification -> Notification Types -> Define screen areas for notification types Then Choose 'Define screen areas' Then Click on 'New entries' button Now, select the relevant Notification Type and click in 'Enter'. Select the 'Iten Cases' register and remember to setup the Tabstrip Header, Icon, etc. Set the 'Tabstrip active' flag. Then Save.
    Quality Notification -> Notification Types -> Define screen areas for notification types
    WE ARE UNABLE TO FIND IN CUSTOMIZATION PATH --> DEFINE SCREEN AREAS FOR NOTIFICATION TYPES.
    Please help.
    Question No. 2 :
    THE REQUIREMENT IS GIVEN BELOW.
    We want to hide the field in Q3 - QM Notification
    In header --> Reference tab --> Item (sub heading) --> "DEFECT LOCATION" FIELD TO BE ELIMINATED (HIDE)
    Ref the link --> Quality notification
    The solutiion is given below.
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    Hi Sami,
    We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
    Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
    Hope this will suffice your requirement.
    Kindly ask me if you need any other details.
    Thanks & Regards,
    Srinivas.D
    By double clicking the "DEFECTIVE QUANTITY (EXTERNAL), WE COULD NOT GET --> field TXTCDOT .
    Plese do the needful.
    We are using ECC6.0 Ehp3 and Ehp4.
    With Best Regards,
    Raghu Sharma

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

  • How to creat deadlock for the purchase order in SAP Workflow

    How to creat deadlock for the purchase order in SAP Workflow

    Hi Ben,
    Are you using FM "CONVERT_DATE_TO_EXTERNAL" before passing delivery date?  If not, use FM like this, before passing the date to BAPI_PO_CREATE1 and it might work
      DATA: vf_doc_date(10),
                 internal_date TYPE d.
         vf_doc_date = sy-datum.              "Document date.
         internal_date = vf_doc_date.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
        EXPORTING
          date_internal            = internal_date
        IMPORTING
          date_external            = vf_doc_date
        EXCEPTIONS
          date_internal_is_invalid = 1
          OTHERS                   = 2.
    Regards,
    Vivek

  • Hi, I need to take my daughter off from our Apple account and set up her own. So, delete her from one account and create her own. Realize I sound imbecilic for not knowing how to do this. Any ideas? Thank you so much. Jules

    Hi, I need to take my daughter off from our Apple account and set up her own. So, delete her from one account and create her own. Realize I sound imbecilic for not knowing how to do this. Any ideas? Thank you so much. Jules

    You don't have to take her off your account exactly: she needs to sign out from your account on her computers and devices. Then she can obtain an Apple ID at http://appleid.apple.com and use it to sign into System Preferences or Settings>iCloud.
    However, there are some issue about this. If she has been syncing her calendars and contacts to your account then the data will disappear from her devices, but remain on your account. Individual calendars can be exported  as .ics files and reimported into her account, but if she has her contacts mixed up with yours she will have to enter them individually in the new account (or export yours, import them into hers, and delete the ones she doesn't want.
    More intractable is the email issue. She cannot move an address from your account to hers, so if she has been using a alias on your account to have her own address she cannot transfer it. She will have to create a new email address.

  • How do I take 300 dpi photos with my iPhone 4s? And how do I export them to my MacBook Pro at 300 dpi to use as I want to print photos.

    How do I take 300 dpi photos with my iPhone 4s?
    And how do I export them to my MacBook Pro at 300 dpi to use as I want to print photos.
    I have been using the standard camera on the iPhone and require 300 dpi to create photo books as the photos are resized according the layout.
    Your time and assistance in appreciated.
    Thanks

    Thanks Tonefox!
    After looking at a few of the links I found a mathematical equation that assisted me.
    Inches = Pixels/DPI
    eg: 3 inches = 300 pixels/100 DPI
    Using this equation and the fact that iPhone 4s takes photos that are 3264 x 2448 I was able to work out the largest print I could make with 300 DPI.
    Width 3264 pix/ 300 DPI = 10.88 inches
    Height 2448 pix/ 300 DPI = 8.16 inches
    Therefore, the largest print (with 300DPI) I can make of these photos is 10.88 inches x 8.16 inches.
    Which is great!
    So is it critical for me to change the dpi in say photoshop or does it not matter as long as I don't go above the 10.88 inches x 8.16 inches?
    From what I can gather the smaller I resize the photo the higher the DPI and the bigger I stretch the photo the lower the DPI?
    Further clarification will be much appreciated. Thanks

  • I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software

  • I dont know why the battery life of my iphone 4 is so low ! i really want to know how many hours i'll have if it's on standby. And how many hours if i use it normally for music and facebook (sometimes a little bit games)

    i dont know why the battery life of my iphone 4 is so low ! i really want to know how many hours i'll have if it's on standby. And how many hours if i use it normally for music and facebook (sometimes a little bit games) !!!

    to enhance your battery life, keep screen display to minimum, set screen lock automatically after 1 min, select internet notifications to off.

  • How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?

    How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?
    Chandy Boy

    chandlar_27 wrote:
    How to check if my Porsche Design P'9982 is brand new and how long I have warranty ?
    Hi @chandlar_27! Welcome to the BlackBerry Support Community Forums!
    Warranty? You have to conntact the place where you got it.
    To know if it's not been used yet, Go to the Phone App> Swipe down from the top screen> Settings> Call Summary.
    if the number there doesn't match your personal use since purchase, you will know it has been used before.
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • How to apply OSS note and how to use it?--thanks

    Hi, morning all,
    I want to know how to apply OSS notes and how to use it, pls help me.
    Thanks.

    Applying OSS note is a critical activity in the system. Usually this task is carried out by the basis, as they maintain the system and the notes, support packs, etc.
    A OSS note has potential to impact the system in several ways. So it is better to work with the basis if  you need to apply a OSS note to be applied.
    Transaction code is Snotes. But pl dont attempt to apply by yourself.
    Reg your other question as how to use the OSS note, there is nothing like using aOSS note. Just apply and depending on what the notes do, it may change the config, or download a program or something.
    Ravi Thothadri

  • HT201317 When I connected my phone and my iPad not all the photos in my photo stream moved over. Why not and how can I fix it?

    When I connected my iPhone and iPad via iCloud not all photos in my photo stream copied over. Why not and how do I fix it?

    Welcome to the Apple community.
    Only the last 30 days of photos are kept in photo stream in the cloud for syncing. Devices that have been syncing with photo stream for some time may retain older photographs that newer devices do not receive from photo stream.

  • Hi all. I am new to iPad and am trying to buy certain apps thru iTunes. I keep getting messages saying "this app is not yet available in the South African store"! which means i am unable to buy it. Why not and how can i get around this. Thanks

    Hi all. I am new to iPad and am trying to buy / download certain apps thru iTunes and or App Store. I have found the apps i want yet I keep getting messages saying "this app is not yet available in the South African store"! which means i am unable to buy it. Why not and how can i get around this? Thanks

    If you see a dialog telling you the app is not avaiable, then it's not available.
    And keep in mind, your credit or debit card credentials must be associated with the same country where you reside.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article

  • How  can I see the previews of my D610 in bridge cs5 and how can I open them in my CC photoshop?

    How  can I see the previews of my D610 in bridge cs5 and how can I open them in my CC photoshop?

    Nah. Raw support is version specific and that extends to Bridge as well. Older versions simply won't handle new cameras. If this is important to you, you will have to use Bridge CC.
    Mylenium

Maybe you are looking for

  • Blue Screen of Death when syncing with iTunes. Please HELP!

    I have noticed a few others experiencing this problem as well. http://www.everythingiphone.com/forum/windows-pc-and-iphone/blue-screen-error-wh en-i-plug-the-phone-into-my-xp-laptop-3038.html Aside from the (don't use windows XP comments), does anyon

  • Mac-formatted iPod with music and PC mind-jam

    I bought an 80 GB iPod Classic and had it shipped directly to a musician friend in NYC who loaded his entire CD library onto it using his iMac. I now have 4100+ classic jazz songs on this iPod and would like to add my own CD collection to it. The obv

  • Layout issue with form

    I'm working on a site and putting in a google search box, which is actually a form. My problem is that I've put the form in a table row that I would like to stay nice and short. However, once the form is in the row, it acts as if there's a <br> after

  • Suggestions for controller for logic pro

    Hi; I'm composer. And i want to buy staff for makind music on computer. I found many but they arent special for Logic pro. I'll write want i want, please write your suggestion about what i need and have to buy.. Requirement about the staff that i wan

  • Re-Update 10.4.8 combo?

    In response to my search on a problem with Preview 3.0.8 not opening because the nib file will not load (noted int he console), the solution was to use Pascifist and reload Preview from the disk (I've tried all of the trashing stuff). Having no disk