Related to forms

hello Experts,
What are the advantages of SAP SCRIPTS over SMARTFORMS and what are thae advantages of SMARTFORMS  over SAP SCRIPTS?

Hi,
PROTECT: Protect from page break
You can determine that a paragraph must not be separated by a page break in the style or layout set. If the attribute page protection is set, then all the lines of this paragraph are always output together on one page. This attribute is linked to the respective paragraph.
It certainly does not make sense, to provide all the paragraphs with a page protection attribute to neutralize an unwanted page break. This event is much too dynamic for this and only results from the current text. Furthermore, it can also happen that you only want to protect parts of a paragraph from a page break. In principle, you could solve this problem using the command NEW-PAGE, by explicitly starting a new page before the affected parts of the text. However, this procedure is not very easy to make changes to. Assume that you have formatted your text using the NEW-PAGE command so that you have no unwanted
page breaks. If you now insert new lines or delete existing ones, you would have to check all the NEW-PAGE commands inserted after this point in the text, as changes can result in the movement of page breaks. With the command pair PROTECT. ENDPROTECT, SAPscript offers you the option of individually defining protection from a page break. If you parenthesize the text in question using these commands, SAPscript automatically guarantees that all the lines it contains are printed together on one page. If the lines fit on the current output page, they are output there, in exactly the same way as if the PROTECT
command was not used. If, however, the space is not sufficient, the PROTECT command then works as a NEW-PAGE and generates a form feed .For this reason, you can view PROTECT/ENDPROTECT as a conditional NEW-PAGE command, whose condition consists of whether the included lines fit into the current window MAIN or not.
Syntax:
/: PROTECT
/: ENDPROTECT
The lines to be protected lie between the two commands.
•An ENDPROTECT command without a preceding PROTECT command
is ineffective.
•If the last ENDPROTECT is missing, it is implicitly assumed at the end
of the text.
•PROTECT .. ENDPROTECT commands cannot be nested. If a second
PROTECT command is recognized while another is active, the second is
ignored.
•If the text between PROTECT and ENDPROTECT is so extensive that it
would not completely fit on an empty page, then only one form feed is
generated and the text is then output normally. Thus, in this case, the
section to be protected can be separated by a page break.
Ex:
/: PROTECT
P &VAR&
P THIS IS for test
P This is test
/:ENDPROTECT
/: PROTECT
/: ENDPROTECT
The lines to be protected lie between the two commands.
Regards,
Priyanka.

Similar Messages

  • 11i common erros related to Form

    Can u pls tell me some common errors related to Form in Oracle 11i Appluication , and where to look to fix them (like strategy).[when the application is running in production, like internal server error, etc....]
    And how to create Alerts for 11i application.
    I am new in this application.
    Thanks a lot.
    [email protected], [email protected]
    Zahid

    I'm really not an expert on locking issues my friend..
    I cant see the reason y it would lock ALL rows of the tables that fks are reffering to, but just because I cant see it, it doesnt mean that it dont exist.. The normal should be to lock only the row fk is reffering to.. I think.
    I dont even distinguish bettween "row share" and "row exclusive" locks u mention.
    I still think that you should consider "delayed" locking mode, in order to avoid all these locks because you cant control time the user will have the records not saved and u cannot let other users depend on a single user, espesially when u have so much tables and fks to other tables. And then you can handle errors at the time that the user initiates commit (if a fk changed show an error message or somehting).
    One thing is sure. There are people in here that can help you much more than I can.
    I hope they will ;)
    regards,
    teo

  • How to find the CRM related Tables form a Particular DataSource

    Hi friends
               <b>How to find the CRM related Tables form a Particular DataSource
      of BusinessContent.</b>
      ex: i had taken CRM - DataSource ........ 0CRM_LEAD_H (Lead Header Data)
           for this DS i assign IS and extract data. But i want to Know from which
           CRM tables it was comming.
           ie ..I want to know the what tables linked to Datasource(0CRM_LEAD_H)
           How it has to check?

    Just for your info, you can find as useful (for a methodology to solve this kind of issue) this weblog:
    SAP BW and Business Content Datasources: in pursuit of the origins
    Hope it helps!
    Bye,
    Roberto

  • Multiple Master Detail Relation In Forms 6i

    I have tables as below
    1.Bill_Head
    Bill_No
    Bill_Date
    Fin_Year_Cd
    Remarks
    2.Bill_Tail
    Bill_No
    Product_Cd
    Amount
    Ded_Amount
    Net_Amount
    3.Bill_Tail_Det
    Bill_No
    Product_Cd
    Quantity
    Rate
    Interest_Percent
    Service_Charge
    Vat_Tax_Percent
    The Relation is like
    Between BILL_HEAD and BILL_TAIL is Master Details Relation
    Between BILL_TAIL and BILL_TAIL_DET is one to one relation
    In single form i am not able to insert record.
    If i build Master details between BILL_HEAD and BILL_TAIL, BILL_TAIL and BILL_TAIL_DET, when i run the for to insert data.
    I will put the data for BILL_HEAD data
    For this parent record there will be child record in BILL_TAIL block.
    For this BILL_TAIL parent record there may be a child record in BILL_TAIL_DET or may not. Suppose i put a child in BILL_TAIL_DET.
    Then i wanted put one more child record in BILL_TAIL block, if i say next record, it is asking me to "save the record first".
    Please help me in this regards
    my mail id : [email protected]
    Regards
    Mahaveer
    Message was edited by:
    user603318

    Thanks Kris, for your reply.
    Is there any way out to enter all the data at once and then commit, b'cse for every record asking to commit is tedius.
    Regards
    Mahaveer

  • Creating a Relation in Forms

    I'm trying to create a relation on an existing block (block1) to a new block that I've created (block2) which has a foreign key to block1. Now if I were to open up a blank new form and do this, it works fine, but since this is an existing form with several other child blocks with their own relations, I can't seem to do it. The error I get is below:
    FRM-15004: Error while parsing join condition
    The join condition is correct, but I'm still clueless as to what it could be.
    Any clues?

    Giovanni,
    the way you do this is as follows
    1. In Forms, navigate to the "master" block and select the Relations node
    2. Create new relation by clicking the green cross in the leftside iconbar
    3. Select the detail block
    4. Define join as <block>.<item>=<block2>.<item>
    This should do it
    Frank

  • Non database related search form. How to achieve it?

    Hi,
    I am using JDev 11.1.1.2.0 with ADF 11g.
    I have a requirement. I have to how multiple search forms with various fileds. Each search form will pertain to set of business needs. And these business data is present in 15- 20+ tables.
    Each search form should have fields that can be a LOV field, Date field, drop downs and radio. I can also have cascading LOVs in a search form.
    The LOVs and drop downs will be definitely fetched from one single table with named queries.
    On click of search I will show a pdf report.
    Can anyone address this issue on
    1. How can I achieve such a search form? (Since the fields I want to show can be from any of the 15-20 tables)
    2. How can I decide on runtime what should be my where clause (Note: empty field does not mean NULL in search criteria)
    Thanks in advance.

    Can someone pls address this?

  • CLOB problem (disregard my former message relating to Forms 6i)

    Hallo,
    I have a problem using CLOB's with JDeveloper 3.1. We have an Oracle DB (8.1.5 on a Unix server) where one of the tables has a CLOB column. We also created a view where we join several fields from three tables. One of the fields is the CLOB field. Now using JDeveloper 3.1 with BC4J we designed a simple user interface that accesses this view. So far everything works fine but if we edit the CLOB field of the record and and want to save the modification we either get Error Message JBO-25014: Another user has changed the row with primary key oracle.jbo.Key (although it is sure that no other user changed this record). The other Error Message that we get is JBO-25009: Unable to create object ... with value (and then it just prints the whole content of the CLOB field).
    Any ideas what is wrong? We have a bit a problem with the CLOB's because we also cannot produce a working GUI with Forms 6i, alltough Forms has another kind of problem with CLOB's. I slowly start to wonder if the CLOB's have been introduced with the intent that nobody should use them .... :)
    Cheers, Berny

    I've got the same problem, and if you press the save button two or three times it will work. (the first time it always gives error)
    IF this is your problem (it was what happened with my programs, but I use 8iR2) you could done something like (*arrg*) this:
    while (true) {
    row.setAttribute("MyClobAtribute",MyClobVal);
    It's suprising that is working for me.
    Good Luck
    null

  • Delete user and all his related data form the relation table

    HI All,
    I have user and for the user i have 3 more tables with additional fields that relate to the user
    the the user is a key on the 3 tables and relate with foreign key .
    in case i want to delete the user and i want that all the user data from all the related table will be deleted how can i do that ?
    Regards
    Joy

    HI,
    The user is in Z DB tables so i cant delete it with this bapi,
    The problem is when i have 4 table and i want to delete the user from them like that :
      DELETE FROM: (sv_user_table_name) WHERE userid = iv_user_id,
                   (sv_add_fld_table_name) WHERE userid = iv_user_id,
                   (sv_att_table_name) WHERE userid = iv_user_id,
                   (sv_app_attributes_table_name) WHERE userid = iv_user_id.
    IF sy-subrc <> 0.
        RAISE EXCEPTION TYPE .....
    if the user are exist in the first and the second table and not in the third and four
    i get the sy-subrc = 4 despite the user has deleted from the first and seconed tables
    there is nice way to overcome this issue ?
    Regards
    Joy
    Edited by: Joy Stpr on Aug 3, 2009 8:57 AM

  • Query related to form printing.

    Hello sir's,
    In program i am giving delivery number as input ,if there is 10 items in that delivery number, then i want each item to be printed on the separate page in smartform on a single print click.
    There is no limit on number of items in particular delivery number.
    So plz give the answer as early as possible,
    Thanks in advance,
    Vikram.

    Hi,
           have you written driver program to call the smartform.
    then pass the number of items as export parameter.
    then create a command node in the main window(note you must be using the main window to print the items)and check the new page check box in that and n condition enter sy-page< (no of items) which you have passed as parameter.

  • To Find API related to a form

    Hi Guys
    Is there any way to find out whether there is any API related to FORM
    Thanks in advance

    Hi,
    You can simply enable trace from the application before you query the data and then disable trace, generate the TKPROF file and you will see all the code used in this form (See this document for details -- Run a trace).
    Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=259722.1
    Regards,
    Hussein

  • Need to know what form is attached to a responsibility

    Hi,
    There is a need to know what responsibility in Oracle has access to a given form. All seeded Oracle Reports that I am aware of (Function Security Function Report, Function Security Menu Report, Function Security Navigator Report) require a responsibility be inputted into a parameter in order to run. This is not a feasible option as we have hundreds of responsibilities and we would need to manually review each output for a specific function or form. Does a report or other SQL exist where I do not have to specify a responsibility?
    I have attempted different ways for a custom sql but the difficulty always lies in the exclusions because you need to look in every single menu that has been excluded whether or not a function is attached (need to look at all the submenus). This is difficult because you need to go down the entire menu tree of each excluded menu and I haven't been able to do this.
    Below is the closest I have got for an sql however I am getting 207 results which I know is not correct. I'm wondering if the query when looking at the menu exclusions is not looping at all the menus that are excluded for a given responsbility? Any ideas or suggestions would be greatly appreciated.
    Thanks,
    PJ
    SELECT b.responsibility_name FROM fnd_responsibility_vl b
    /*Get all menus assigned to a responsbility that has a
    specfic function_id based on a form and takes into account function exclusions*/
    WHERE EXISTS (SELECT 1 FROM
    apps.fnd_menu_entries_vl c WHERE c.function_id IN (SELECT DISTINCT FUNCTION_id FROM
    FND_FORM_FUNCTIONS_VL WHERE
    form_id = 10397)
    AND c.function_id NOT IN (SELECT action_id from
    fnd_resp_functions frf where frf.application_id = b.application_id
    AND frf.action_id IN (SELECT DISTINCT
    FUNCTION_id FROM FND_FORM_FUNCTIONS_VL WHERE form_id = 10397)
    and frf.rule_type='F' AND
    frf.responsibility_id = b.responsibility_id)
    START WITH c.menu_id = b.menu_id CONNECT BY PRIOR c.sub_menu_id = c.menu_id)
    /*Do not show any responsibiliy that has a menu in the
    excluded list against the responsbility that has the specified form/function*/
    AND b.end_date IS NULL
    AND NOT EXISTS ( SELECT 1 FROM
    apps.fnd_menu_entries_vl c,
    fnd_resp_functions frf
    WHERE frf.responsibility_id = b.responsibility_id
    and frf.application_id = b.application_id
    and c.menu_id = frf.action_id
    AND frf.rule_type ='M'
    AND c.function_id IN (SELECT DISTINCT FUNCTION_id FROM FND_FORM_FUNCTIONS_VL
    WHERE form_id = 10397)
    START WITH c.menu_id = frf.action_id
    CONNECT BY PRIOR c.sub_menu_id = c.menu_id)

    Hi Hussein,
    Thank you for the reply.
    For note "How to get information related to forms functions, menus and responsibilities for both 11i and R12 (Doc ID 953934.1)":
    The script for "How to retrieve list of responsibilities and associated menus" (SELECT RESPONSIBILITY_NAME, MENU_ID FROM FND_RESPONSIBILITY_VL;) isn't really giving that as it's just the one menu that is associated with that responsibility (and doesn't look at the menu exclusions).
    For note, "How To get List Of Functions Which Are Setup For A Responsibility? (Doc ID 549100.1)":
    I can already get a list of functions on a particular responsbility and even more so I know what menus use a particular function using the following sql:
    SELECT * FROM apps.fnd_menu_entries_vl c WHERE c.function_id IN (SELECT DISTINCT FUNCTION_id FROM FND_FORM_FUNCTIONS_VL WHERE form_id = <form_id>)
    This note does not help because you would need to do it by responsibility and I have hundreds of responsbilities I would need to search which is why the seeded reports I reference above do not work (you need to specify a responsibility at a time).
    I believe these are two links I need to look at to find what menus are associated and unassociated with a responsbility. In fnd_responsibility_vl, there is the main menu_id that says where this repsonsbility gets all of it's menus. This is where I look first in the first part of my query (b.menu_id is this link to the fnd_responsibility_vl table) :
    --Get all menus assigned to a responsbility that has a specfic function_id based on a form and takes into account function exclusions
    WHERE EXISTS (
    SELECT 1 FROM apps.fnd_menu_entries_vl c WHERE c.function_id IN (SELECT DISTINCT FUNCTION_id FROM
    FND_FORM_FUNCTIONS_VL WHERE form_id = 10397)
    AND c.function_id NOT IN (SELECT action_id from fnd_resp_functions frf where frf.application_id = b.application_id
    AND frf.action_id IN (SELECT DISTINCT FUNCTION_id FROM FND_FORM_FUNCTIONS_VL WHERE form_id = 10397)
    and frf.rule_type='F' AND frf.responsibility_id = b.responsibility_id)
    START WITH c.menu_id = b.menu_id
    CONNECT BY PRIOR c.sub_menu_id = c.menu_id)
    The next link is the "unassociated" link which is the menu exclusions. I'm looking at these exclusions similar to the part above however I don't think it's looking at all of the menus defined in the menu exlusions as my list of responsbilities is more then it should be:
    --Do not show any responsibiliy that has a menu in the excluded list against the responsbility that has the specified form/function
    AND NOT EXISTS (SELECT 1
    FROM apps.fnd_menu_entries_vl c,
    fnd_resp_functions frf
    WHERE frf.responsibility_id = b.responsibility_id
    and frf.application_id = b.application_id
    and c.menu_id = frf.action_id
    AND frf.rule_type = 'M'
    AND c.function_id IN (SELECT DISTINCT FUNCTION_id
    FROM FND_FORM_FUNCTIONS_VL
    WHERE form_id = 10397)
    START WITH c.menu_id = frf.action_id
    CONNECT BY PRIOR c.sub_menu_id = c.menu_id)
    It needs to be able to look at the menu trees of all of the defined menus that are excluded and find any menu that has that function as defined in the first sql of this post (if it is found in the exclusions then do not show it). However I do not think it is looping through all of the menus defined in the exclusions. Any guidance is greatly appreciated.
    Thanks,
    PJ

  • Error "Token in strings could not be evaluated" in form personalization

    Getting Error "Token in strings could not be evaluated" in form personalization.
    The syntax used is -
    ='BEGIN
    CREATE_URL_COLL('''||${item.IEXPYPRS_CC.CC_TYPE_DSP.value}||''');
    end'
    Please suggest where I am going wrong.
    Thanks and Regards,
    Dibyanshu

    Andreas.
    ='BEGIN
    CREATE_URL_COLL('''||${item.IEXPYPRS_CC.CC_TYPE_DSP.value}||''');
    end'what about the above code is it related with form?
    because i tried to use that something like this
    BEGIN
    CREATE_URL_COLL('''||${item.IEXPYPRS_CC.CC_TYPE_DSP.value}||''');
    end;and it gave me error, compilation error.
    sarah

  • VGS-1501 Error while opening the canvas in the form module

    Hi All,
    I am getting “VGS-1501: <message not found>” message while opening the canvas. Actually in my machine Oracle Apps R12 is installed. To work on forms I have opened form builder and created a data block manually and created a canvas in the form module manually. To add items on the canvas, when I am clicking on canvas then first I am getting “VGS-1501: <message not found>” error message and then after canvas is getting opened. But here in the canvas there were no items available in the side tool bar.
    Then I decided to build form through wizard. Once the form was created, then when I opened the canvas then again I got the same error message. Here when I tried to run the form, then the form got closed automatically. This problem is related to forms only because I am able to work on Oracle Apps (functionally) and also I am able to develop a report using report builder. Can somebody please help me to fix this issue
    Thanks
    Thahessen

    I got something sililar behaviour when I use different version forms in different version of developer environment. Sometimes your Forms_PATH and REPORTS_PATH may be point ot wrong version.
    This is only a assumption...

  • Link an Adobe form (existing on ECC) to a button to display this form

    Hi all !
    I work on a Portal and I need to link a form to a button on this portal.
    In fact, on this Portal, I have a page that displays all returns (which were created on ECC with VA01 tcode).
    Each line corresponds to one return. And for each line, there is a button.
    I want that this button allows to display the related return form in PDF format.
    But this PDF form already exists on ECC: in VA03, I retrieve my return number, I click on "Header output preview" button, I choose my message type (Z...) and click on "Print preview" button. Then my return form is displayed in PDF format.
    I want that my button on the Portal allows to display my return form in PDF format in the same way as in VA03 (without the message type choice because this message type will be defined as default).
    Could someone help me about the way to link my existing return form to my button in Portal ?
    Thanks in adance.
    Have a nice day.
    C.

    hi dear
    yes the enabled property is checked but still form doesn't allow to enter value and submit button is also disabled.
    Is there any setting or some program code is required.
    It would be great if some body can help us in this ....
    many thanks in advance.
    thanks

  • Font smoothing in Forms 10g

    Hello,
    Compared to the application running under 6i, the same application running under 10g shows fonts with jagged edges. From what I have found on the forum, this seems to be because of the JAVA fonts mapping in the applet.
    Is there any way to introduce some smoothing or something similar to ANTIALIASING in JAVA.
    I have tried clientDPI in basejini.htm but this does not help.
    Thanks.

    Hello,
    Thanks but I already checked the papers related to Forms 10g (new functionalities etc...). I am just trying to see whether there are any parameters to use in formsweb.cfg, registry.dat that might help with the font smoothing.
    Thanks

Maybe you are looking for

  • SQL Server Reporting Services- Coloring a Cell Background Based on two different column group values

    Hello All, I have a matrix report with time scale on the x axis  and Resources on Y axis Showing the tasks assigned to each resource for a period of time. Here I have to color a matrix cell showing task details on tool tip with background color of th

  • Ipod touch 4 not connecting to wifi

    My son's IPod Touch (4th generation) won't connect to our home wifi. He can connect using wifi on other networks when he's not at home, however. I don't think it's the wifi inside the house, since all our other Apple products can use the wifi fine. A

  • Problem using the Write to SGL VI and Read from SGL VI

    Hello Sir, I have a problem using the Write to SGL VI. When I am trying to write the captured data using DAQ board to a SGL file, I am unable to store the data as desired. There might be some problem with the VI which I am using to write the data to

  • Wireless Mighty Mouse vs. Wired Mighty Mouse

    Hello, I am looking to buy a mouse and saw someone selling a wireless one on ebay mentioning they are selling theirs because of the lag the bluetooth has. Is this true? Is there a lag between moving the mouse and the pointer moving because of the blu

  • Register new report in GL module

    Hi all Is there some some doc where i can find the steps to register a new report in oracle apps? I have to build a report from scratch, an i want to register it, in oracle apps in the GL module. Thanks in advance Soni