Set new smartforms for Plant

Hi All,
I have new plant, When  I create new smartform, but a don know how to assigned new form to that plant ?
Please help me do it !

I have function in package on database which is param is String and return value is also String(VARCHAR2).
That function calculate some field on db and return a result.That is OK
I made VO in my AM.
"SELECT package_name.func_name("string") from dual" and that is OK also.
When I start that module I recive valid result from database based on string which I passed to function.
And that works fine.
Question :
How can I change value or how can I set new value for the package_name.func_name(variable) in VO
during runtime in my application ? ^^^^^^^^
JDeveloper 9.0.3.988 1. When using stored procedures it would be better to use it in following way:
Connection conn = //get it some how
CallableStatement cs = conn.prepareCall("{call myPackage.do_something(?)}");
cs.registerOutParameter(1, java.sql.Types.VARCHAR);
cs.execute();
2. You could parameterize it like this:
CallableStatement cs = conn.prepareCall("{call " + packageName "." + funcName + "(?)}");
cs.registerOutParameter(1, java.sql.Types.VARCHAR);
cs.setString(1,"someString");
cs.execute();
String result = cs.getString(1);
where packageName and funcName are defined elsewhere
--hery

Similar Messages

  • HT5622 hi. i bought iphone 5 witch was locked, i made factory reset and now phone asking apple ID and pasword witch i dont know. i was writing to seller but he is not answering me. how to set new account for my iphone 5 what i could use it?

    hi. i bought iphone 5 witch was locked, i made factory reset and now phone asking apple ID and pasword witch i dont know. i was writing to seller but he is not answering me. how to set new account for my iphone 5 what i could use it?

    The iPhone has a feature called "Activation Lock" described here:
    http://support.apple.com/kb/PH13695
    Without that Apple ID, you will not be able to use that iPhone.

  • Set new value for VO attribut

    I have function in package on database which is param is String and return value is also String(VARCHAR2).
    That function calculate some field on db and return a result.That is OK
    I made VO in my AM.
    "SELECT package_name.func_name("string") from dual" and that is OK also.
    When I start that module I recive valid result from database based on string which I passed to function.
    And that works fine.
    Question :
    How can I change value or how can I set new value for the package_name.func_name(variable) in VO
    during runtime in my application ? ^^^^^^^^
    JDeveloper 9.0.3.988

    I have function in package on database which is param is String and return value is also String(VARCHAR2).
    That function calculate some field on db and return a result.That is OK
    I made VO in my AM.
    "SELECT package_name.func_name("string") from dual" and that is OK also.
    When I start that module I recive valid result from database based on string which I passed to function.
    And that works fine.
    Question :
    How can I change value or how can I set new value for the package_name.func_name(variable) in VO
    during runtime in my application ? ^^^^^^^^
    JDeveloper 9.0.3.988 1. When using stored procedures it would be better to use it in following way:
    Connection conn = //get it some how
    CallableStatement cs = conn.prepareCall("{call myPackage.do_something(?)}");
    cs.registerOutParameter(1, java.sql.Types.VARCHAR);
    cs.execute();
    2. You could parameterize it like this:
    CallableStatement cs = conn.prepareCall("{call " + packageName "." + funcName + "(?)}");
    cs.registerOutParameter(1, java.sql.Types.VARCHAR);
    cs.setString(1,"someString");
    cs.execute();
    String result = cs.getString(1);
    where packageName and funcName are defined elsewhere
    --hery

  • New Smartform for Sales Order

    Dear Gurus,
    We need to Print Sales Order & we are creating new Smartform for the same.
    The standard Output type for Sales Order is BA00, but we have created new output & assigneed the same in Output determination.
    Now to the best of my knowledge, the Output type (e.g. BA00) calls a particular standard SAP Program (e.g. RVADOR01) & subsequently that Program transfer Sales Order number & othre data to the SAPScript which Prints the out in required format.
    Now that we are creating a new Smartform our ABAPers are facing a problem on how to import the Sales Order Number in Z-report.
    Can anyone please help...
    Thanks,
    Jignesh mehta

    RVADOR01 is for SAPscripts only, there is a different program for Smartforms. Unfortunately, we don't have it right now and I can't remember the name, but you can find it through the SAP Marketplace or on SDN.
    Even if you have created a custom Smartform, you can still use the standard processing program, as long as the interface is the same. But if you have to develop a custom output program, it probably makes sense to make an exact copy of the standard one and then only to change what's necessary. For example, take a look at the Smartform program for billing output RLB_INVOICE, it wouldn't be much different for the orders. In NAST table you'll get the document number and partner data and you can go from there.
    Hope this helps.

  • How to set new role for new custom entity only

    I created a new custom entity, I want to create new role for it only.  So I created new role and set custom entity User role. But When I login the user with created role, it show now right to access CRM.
    Awen

    Are you trying to grant access so that users can use this custom entity but no other data at all?
    You will still have to include access to all sorts of bits of CRM just to make the user interface work - especially the things on the Business Management and Customization tabs of your security role. You also need to check these 6 settings:
    Special privileges in CRM Security Roles
    If this is the only security role you plan to give to your users, I would suggest you start from a standard role and remove access to other entities, rather than start from blank and work upwards.
    Hope this helps.
    Adam Vero, Microsoft Certified Trainer | Microsoft Community Contributor 2011
    UK CRM Guru Blog

  • MIGO creating New Smartform for BARCODE label

    Hi ,
    Creating a new smartforms form MIGO Tcode --- i.e. BARCODE LABEL. - From scrach
    Input is P.O No. but while writing program from where I have to take input for this ....?
    After writing logic where to attach driver program in NACE. ?
    Tks:
    Maddy

    HI ,
    As suggested you  can use the standard smartform , by downloading  the package or else you can go for  your own smartform  and print program do it as follows :
    for Po  the standrd program uses the form entry_neu  . you call this form in your custom driver program . say in ZPOUCHASE ORDER
    form entry_neu using ent_retco type sy-subrc
                                   ent_screen type c.
    perform get_data.
    *****" here get the po number from  nast table  like this  " move nast-objky(10) to g_ebeln." ******
    perform get_formname.
    get it like this : select single sform
        from tnapr
        into tnapr-sform
       where kschl = nast-kschl " Output Type
         and nacha = nast-nacha " Message transmission
         and kappl = nast-kappl." Application
      if sy-subrc = 0.
        g_formname = tnapr-sform.
    endif.*********************************
    perform zcallform.
    use call function 'SSF_FUNCTION_MODULE_NAME' **************
    perform zupdatenakt.
    do it like this  **********
    nast-vstat = 1.
      nast-usnam = sy-uname.
      nast-datvr = sy-datum.
      nast-uhrvr = sy-uzeit.
      call function 'RV_MESSAGE_UPDATE_SINGLE'
        exporting
          msg_nast = nast.
    endform.
    assign this driver program in NACE transaction  along with the smartform  name
    *****Please use the proper    condition type. NEU in this case "
    and since you are getting the value of PO number  from nast  you  can pass this as importing parameter to your custom smart form
    and once the po number is known the other values can be easily extracted

  • Set New Code for Network ???

    I seem to have forgot my Wireless file sharing password and was hoping someone knows how to reset it or what happens when you reach ten attempts because I know I can eventually remember it but not sure with four more chances, tries, etc. 
    The help pages on the Playbook only provide details on how to use it or about it but not recovery.

    A security wipe of the BlackBerry PlayBook tablet will erase all data and any downloaded applications and media (Including pictures/video taken on the BlackBerry PlayBook tablet or transferred via a PC)
    Afterwards, you will basically have a 'like new' PlayBook.
    If you have a backup of your PlayBook, you can restore previous personal data, pictures etc.
    Otherwise, you will again set the Playbook up as new, enter your same BlackBerryID and password, etc., and proceed.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Using SmartForm for Plant Maintenance service order processing

    Greetings everyone,
    I am working in R/3 4.6C and I have a SmartForm that I would like to configure as a shop paper in plant maintenance and print along with various types of work orders.  However, the config in this area only allows configuration of SAPscript forms with print programs and form routines. 
    Does anyone know if there is a way to configure or convert a SmartForm so that I can print it as a PM shop paper?
    I will definitely reward helpful answers/solutions.
    Thanks,
    Geoff

    Thanks for the quick response, Anji.
    So just to be sure, there is no way I can configure this form to work with the shop paper config, correct?  If I want something to automatically print with different work order types, I guess I have no choice but to use a SAPscript form with a print program?  I am just not clear on what you mean when you talk about the Z t-code, since I never want to execute this form directly, but always automatically in work order printing from IW32 or similar transactions.
    Thanks..
    Geoff

  • Set-off value for plant wise

    Hi,
    i am using the condition for VAT setoff%-JVAD.our client have 9 plants currently.
    During the set-off check, our Finance people have found that currently plant wise set-off is not working. All the values are getting posted to only to one plant. Please advise, how this can be handled. Referring to our initial CIN set-up, we had only 5 plants set-up in our system. Later based on client request remaining plants( i.e 4 plants) were set-up. Please advise.
    regards,
    Obulesu

    Hi,
    I have the same question as you have here regarding charging tax on 60% of the base value, and a different rate on the remaining 40%. Did you ever fix this? If so what is the solution?
    Thanks
    Daniel.

  • Set new margins for preformatted spreadsheet

    How do I set margins on a spreadsheet that came from a PC Excel to Numbers> It is preformatted for a statistics class.  I also need to set up 2 sided printing.  I also usually get a screen to do 2 sided from my printer, however that for some reason is not an option.
    When I see it to work on it the page is perfect however when I look at preview document one column goes off the page.  I try to make the columns smaller, but that makes the formulas not work properly.  Help!

    Hi robin,
    You really haven't supplied a lot more information about what is not working. I have no idea what you mean by "I lose some calculation forms."
    Going from memory, spiral binding requires a margin of about 1/2 inch; coil binding requires about 3/8 inch.
    Jerry has already answered the question regarding duplex (two sided) printing.
    Regarding shrinking the table to fit a page: Numbers has a nifty feature in Print View—at the bottom of the window (in Print View only) there's a slider to use to Scale Contents. It makes no change to the content of the table except to increase or reduce the size of everything on the page. Set your margins, then go to the View menu and Show Print View. Move the slider to the left until the whole table appears on a ingle page.
    Regards,
    Barry

  • Set new status for reas for rejection

    Dear gurus
    I need to set a new status D Order on hold when the rejection is set to a sale order
    how to do that
    Regards
    Saad.

    Resolved
    by doing enhancement

  • Reset - Set New Default For Length Of Stills/Photos -Same Parameter For All

    Hi Gang
    Just need a jump start to resetting the length of time for Video in the Browser. I'd like this new parameter, (5 Seconds), to be used for all Stills/Photos inserted on the timeline.
    It's for a simple slide show
    Thanx
    Mike

    Hi Gang
    Sorry I posted this - I had a brain freeze
    Mike

  • How to set new value for the existing jar file

    Help:
    I am wondering if there is a simple to update value for Manifest-Version in a existing jar file?
    Thanks!

    The jar command's -u option is about as easy as I know.
    See the jar command documentation for the details.

  • Creating only one or several invoice smartforms for a global company

    Hi,
    I'd like to hear your thoughts how smartform development should be arranged for a global company. Let's take an invoice as an example.
    A global company has several divisions, company codes, plants and sales organizations. Invoices are printed in different languages in several countries.
    Of course it would be better to build exactly one smartform for everything, but on the other hand, the smartform would be extreme complex and difficult to maintain in future, since each company has slightly different requirements for the invoice. On the other hand, it doesn't make any sense to just keep on creating a new smartform for each country, since at the end you will have tens of almost identical smartforms which doesn't sound good either.
    What is your experience--should one try to build exactly one smartform for all the company codes, or would it be better to create a new smartform for each company code? In general, I would say that the latter one is perhaps a better approach.
    Thanks in advance for your thoughts,
    Jarmo Tuominen
    Edited by: Jarmo Tuominen on Mar 1, 2008 12:17 PM

    My first thought was that it is better to maintain only one form for everything.
    However, I am aware that there are also opposite opinions. They explain that creating one form for everything is not the best approach. Because of this, I would like to understand the reasons for that. Do others have any other point of views?

  • Smartform for purchase order.

    Hello friends,
        I am creating the smartform for purchase order printing whih is attached to output type ZNEU and that output type is used in ME23N.
        But at the time of creating versions in PO in ME22N it is giving error messages of diffrant types like form routine not present.
      Now  I want your opinion in deciding whether to go for new smartform for PO printing or I shoud procede with script MEDRUCK. If anyone have developed smartform for PO which supports versions, please suggest the wayout.
    Rgds,
    Madan

    Hello,
    You have to write form routines in the Driver program to trigger the form.
    Please Reward if helpful.
    Srujan.

Maybe you are looking for