How to attach programatically the object form itself?

I want to attach the object form to the form with javascript. Is this possible?
Thanx in advance

Hi,
Call a PERFORM in ur form with 2 Using paramters (&RESBD-MENGE(C)&, &RESBD-GPREIS&) and use another changing parameter to get the value after multiplying above two. Define this PERFORM in driver program.
Eg:
In Script:
DEFINE : &tot_value&
PERFORM z_total_value IN PROGRAM z_cal_total USING &RESBD-MENGE& &RESBD-GPREIS&
                                    changing &tot_value&
In Program z_cal_total:
FORM z_total_value using in_tab structure itcsy
                           changing out_tab structure itcsy.
data : lv_menge TYPE resbd-menge,
          lv_gpreis TYPE resbd-gpreis,
          lv_total TYPE resbd-menge.
READ table in_tab with KEY name = 'RESBD-MENGE'.
IF sy-subrc EQ 0
  lv_menge = in_tab-value.
ENDIF.
READ table in_tab with KEY name = 'RESBD-GPREIS'.
IF sy-subrc EQ 0
  lv_gpreis = in_tab-value.
ENDIF.
READ table out_tab with KEY name = 'TOT_VLAUE'.
IF sy-subrc EQ 0.
  lv_total = lv_menge * lv_gperis.
   out_tab-value = lv_total.
MODIFY out_tab transporting fields value.
ENDIF.
ENDFORM.
Hope it helps!!
Rgds,
Pavan

Similar Messages

  • How to attach a WebDynpro Adobe form to backend Business Object?

    Hello,
    I would like to know if anyone has created an Interactive Adobe Form, and then after the user has filled it out (online, via WebDynpro view), attach the pdf form to an SAP Document, for example, Order, Purchase Order or Contract?
    I know how to create the WebDynpro Interactive Form, and I then have the pdf object in context attribute of WebDynpro.  But am not sure how to do the next step of taking that pdf and attaching it to the SAP Document.
    Any suggestions or code samples would be greatly appreciated.
    Thanks,
    Colleen

    The interactiveForm UI element has one action called onSubmit.  This action is triggered when any server event occurs within the Adobe Form itself.  So if you place a submitButton from the Web Dynpro Native (assuming you are using ZCI forms) within the form, it will automatically trigger the onSubmit action and WD event handler.
    Here is a video that shows the process -  although it is a little bit older and uses ACFx forms.  You would want to use the new ZCI form approach. The general process for linking the events is the same however.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

  • How can i find the adobe form translations

    Hi Friends,
    how can i find the adobe form translations?
    i mean i want to know in how many languages my adobe form has been translated?
    is their any report or is their any technique to find the translations........................
    Thanks,
    Harish.K

    Hello Harish,
    To find the translation of Adobe form is nothing but to find the labels or texts used in this adobe form in various languages. This will give you an idea on how many languages your adobe form has been translated.
    So to find the translations in different languages, you have to go to Context node of the Adobe form. Then go through the text nodes which are used as labels. These will be normally stored as Standard texts in SO10.
    For example. Take the text name of any one text node.
    1) Go to SE38.
    2) Type program RSTXTRAN.
    3) Let the Text key - object be TEXT.
    4) Then enter this text name in the field Text key - name. I have put the sample standard text ZTEST_ADOBE as shown below.
    5) Let the Text key - ID be ST.
    6) In Text key - language, Enter *  (i.e enter the Asterisk) because you want to find out all the languages.
    The screen parameters will be as shown below.
    7) Now Execute this report.
    8) It will show all the various languages in which this particular standard text is used which is nothing but the Adobe form is being used in these many languages. For example, the standard text ZTEST_ADOBE is used in 3 languages, English, German and Spanish as shown below. It will look as shown below.
    Note: This will give you the more or less the overall idea of the form that has been used in these many languages. But also make sure the standard text with particular language is also linked with the Transport Request. Because there are chances that the text was created in a particular language but was never used.

  • About the object form in OIM

    At first, I have added a object form of RO1,The permissions for the object form has been set.
    Then,when I login to the Administrative Console as UserA and click Request New Resources to request RO1, the step2(Provide Resource Data) is skipped, it is jump to the step3 from step1 directly, that is the object form does not display. Why? Please give me some advice. I do not konw what's wrong.
    Thanks!

    Hi
    You cant achieve the above ootb. You can either have the prepops that will work great for both the request and direct provisioning (but the data from the object form will not flow to the process form even though the dataflow mappings have been done(for a request) if prepops are attached to the process form.
    I would suggest that if you do want to achieve the requirement that you've specified, you should do the following:
    1) Have the data flow mappings done and no prepops on the process form.
    1) Make all fields in your process form optional (oim will not allow you to save a process form with blank values for mandatory fields, hence you need to do this)
    2) Have a first process task (reqd for completion) in your prov process that checks if certain attributes like userid, password, etc which are required in order to create an account etc are blank or not
    3) If they are blank it indicates that provisioning was triggered off through direct provisioning and then in such a circumstance you will get the values for the fields on the process form from the User def for that user using findUsers() and populate the process form using api's and on the success of this task then trigger off the CreateUser (conditional task)
    This will work for both request based and direct prov without pre pops.

  • How to find out the  particular   form available language?

    hi ,
    how to find out the  particular   form available language?
    pls could u clirify the dought.
    regards
    eswar

    I guess you wrongly closed the thread without any answer.
    utilities --> version, it will give all the list of languages of SAPScript.
    Or goto SE71,
    Press F4, in place of form name and goto unclassified forms, you will see all form names with available languages.
    Regards,
    Sairam

  • !0.5.8 How do I copy the 'system' form one internal Hard drive to an other (BY CD Packed up) Thank you

    !0.5.8 How do I copy the 'system' form one internal Hard drive to an other (BY CD Packed up)  I have tried but it will no show 'live' system folder - do and how can I bless it ? Thank you

    Carbon Copy Cloner will allow you to de-select directory trees, so you could use it to copy over everything EXCEPT the /Users directory tree.
    Mac OS X is NOT just the System Folder.  If you do not copy over the rest of Mac OS X, it will not boot.  So better to exclude Users and take everything else, then it is to try and pick and choose.
    The other approach is to install a New Mac OS X, and then copy over the stuff you want from the home folder(s) and reinstall any apps you want.

  • How can i find the installed forms version in 6i...?

    Dear all,
    How can i find the installed forms version in 6i, the situation is we have given a solution which will work in only forms6i latest version, before implementing the same we need to check whether the forms latest version has been installed or not
    Is there any way to find out without opening the forms builder..?
    Even if we un install the forms from a machine, the forms60_path variable will remain in regedit, so we cannot go based on that and aslo i dont know whether regedit will have the version details and all.
    It would be greatly appreciated if any one can give a solution.
    Thanks in Advance.
    Thangaraj.

    you query the registry, the registry has the version number saved, but I cannot remember exactly where and I don't have 6i Installed on my machine.
    You just open the Forms Builder and click on Help/About.
    But Jan's method is the best.

  • How to password protect the adobe form ?

    Hello,
    I am very new to this livecycle designer.
    Can anyone please tell me how to password protect the adobe form(it can be print or interactive form) ?
    can it be done through scripting ?
    Regards,
    Menaka.H.B

    How to create Password to lock of Acrobat Pro and Adobe Livecycle Designer
    Hi everyone!!!
    I am using Adobe Livecycle Designer ES software, and i created the password on this Form of this software, but it can not lock Acrobat Pro. How to create Password to lock both of Acrobat Pro and Adobe Livecycle Designer? I would like another people just open Acrobat Reader, not other 2 softwares.

  • How can I make the ipod stop itself after playing one song?

    How can I make the ipod stop itself after playing one song?

    When playing a song, are the controls at the top of the screen there? (Genius, Shuffle, Loop?)
    If not, tap the center of the page once to expose them
    now keep tapping the circle on the left part of the exposed controls untill a one (1) appears...

  • How to check was the object bound or not without exception handling?

    context.lookup("someName");throws NameNotFoundException in case object was not bound to someName.
    How to check was the object bound or not without exception handling?

    context.lookup("someName");throws NameNotFoundException in case object was not bound to someName.
    How to check was the object bound or not without exception handling?

  • How we can intiallize the object  state

    how we can intialize the object state without using constructor or getter setter method?
    is their is any way to intialize the state of object using encapsulation??

    GouravBansal wrote:
    how we can intialize the object stateUsing the constructor.
    without using constructor You could also use an instance initializer. That's probably what the interviewer was getting at.
    or getter setter method?Once you call a getter/setter method, you're past initialization and are actively modifying the state post-initialization.
    is their is any way to intialize the state of object using encapsulation??As noted, this makes no sense. Encapsulation is the practice of maintaining the state purely through methods, constructors, and initializers of a class, in as limited and traceable a way as possible.

  • How an i compare the two forms ( script) that are in two systems ?

    Hi,
    How can I compare the two forms(sap script)  which are in different versions  or systems? One form is in D22 and other form is P22 .
    My requirement is to change the form when they are different.
    Thanks,
    Suresh.

    Hi,
    You can download the form info for each script and compare these two files.
    In the SAPscript choose Utilities -> Form info and save this as a file.  As they are structured in the same format you can then look for differences in these files rather than having to look through the form window by window.
    Regards,
    Nick

  • How can I Serialize the Object of org.apache.xalan.transformer.TransformerI

    Teachers:
    How can I Serialize the Object of org.apache.xalan.transformer.TransformerImpl.

    org.apache.xalan.transformer.TransformerImpl doesn't appear to be serializable... what do you try to achieve?

  • How can we restrict the objects..?

    Hi it was a question asked in an interview.
    How can we restrict the object..?
    is it with RSSM and PFCG settings..?
    Correct me if I am wrong..!
    Cheers,
    Vasu

    hi Vasu,
    if the question is restriction in reporting by authorization, then you are right. take a look some bw authorization docs
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/adeac294-0501-0010-5a97-9ac5d562b1be
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1b439590-0201-0010-ea8e-cba686f21f06
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/39f29890-0201-0010-1197-f0ed3a0d279f
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a6329790-0201-0010-b4a1-fdd384045fdb
    hope this helps.

Maybe you are looking for