Modifying an existing form in SAP B1
Hi everyone,
Is there any way to modify an existing form in SAP B1? If so can any one describe the complete procedure of doing that?Will highly appreciate it.
Hi,
Its more advisable to do it in the Menu Event rather than the Form_Load event and its got to be done in the Before_Action = False.
In Menu Event,
paste this...
If pVal.BeforeAction = False Then
Dim objNewItem As SAPbouiCOM.Item
objItem = objForm.Items.Item("51")
objNewItem = objForm.Items.Add("cbSQ", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
objNewItem.Left = objItem.Left + objItem.Width + 10
objNewItem.Top = objItem.Top
objNewItem.Width = objItem.Width
objNewItem.Height = objItem.Height
objNewItem.FromPane = "5"
objNewItem.ToPane = "6"
objCheckBox = objForm.Items.Item("cbSQ").Specific
objCheckBox.Caption = "Sales Quotation"
objNewItem.Visible = False
objCheckBox = objForm.Items.Item("cbSQ").Specific
objCheckBox.DataBind.SetBound(True, "", "01")
Endif
The above is a small snippet for the addition of a checkbox.
Hope this helps.
Satish.
Similar Messages
-
To modify the existing form of custom invoice into Proforma Invoice form
We need to modify thye existing custom invoice form in to proforma invoice form by inputting the below details
1) Suppling plant details
2) LST/CST of receiving plant
3) LST/CST of delivering plant
Appreciated if any one can kindly let me know the logic and tables for the above scenariosWe need to modify thye existing custom invoice form in to proforma invoice form by inputting the below details
1) Suppling plant details
This details u will get from T001W and adress from ADRC.
2) LST/CST of receiving plant
This details u will get from J1ID plant excise details J_1IMOCOMP or if u have created the plant as customer then u will get the same in customer excise details.J_1IMOCUST
3) LST/CST of delivering plant
This details u will get from J1ID plant excise details J_1IMOCOMP or if u have created the plant as customer then u will get the same in customer excise details.J_1IMOCUST
Appreciated if any one can kindly let me know the logic and tables for the above scenarios -
I wonder if it is possible to scan in an existing form and modify it for fill in usage.
IF so what would I need to do to make this happen?
Tks
[email protected]
GilYes, you can edit the form at anytime. The new field will just be added as a new column in the response table. Nothing will be lost.
Randy -
Hi,
Is it possible to modify an existing form of SAP Business One? For example if one needs to put an extra button on the form of outgoing payments.
Can anyone guide for the process.
Many thanks in advance.Hello Afzal,
It is definitely possible. Refer to SDK Help, samples are provided in it.
Also, post your questions, related to programming, on SDK programming forum.
Rahul -
Modification of an existing form
Hi, as mentioned by Vishnu, after using the entire code that was given by him the 'update' button did not reflect in the form,and i am not clear about what exactly should be done in this case.Will be very helpful if some one can assist in this situation.
Regards,
SamratHi All,
I posted the same query last day.I want to know how to modify an existing form in SAP, as for example suppose in sales oppurtunity form i would like to add an 'update' button along with those add and cancel button already present out there.I will be obliged if some can provide the complete procedure to do that.
Vishnu Kumar Re...
Posts: 114
Questions: 2
Registered: 4/28/07
Forum points: 138
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
Re: Modification of an existing form
Posted: Dec 6, 2007 8:28 AM in response to: Gangotri Infotech Reply E-mail this post
Hi
In ITem Event You write the following code
iIf pVal.FormTypeEx = "320" Then
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD Then
Dim oNewItem As SAPbouiCOM.Button
Dim oItem As SAPbouiCOM.Button
oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
oNewItem = oOrderForm.Items.Add("btnUpd", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem = oOrderForm.Items.Item("2")
oNewItem.Top = oItem.Top
oNewItem.Height = oItem.Height
oNewItem.Width = oItem.Width
oNewItem.Left = oItem.Right + 5
oNewItem.Specific.Caption = "UPDATE"
End If
End If
it place update button Right to Cancel button
Hope it helps you
Regards
Vishnu
We followed this procedure but we are receiving the desired result.We need some assistance. -
How to apply modified UI Defaults to existing forms and reports?
Hi all--
I've been struggling with UI defaults and after searching through posts in this forum, it doesn't look like I'm alone.
Is there a way to apply changes made to UI defaults to existing forms and reports? New forms and reports pick up the changes, but can they by applied retoactively?
Thanks in advance,
Dan KrautheimThanks for the update,
We have a develpment 10g AS environment setup made,
1) But we are really confused how to present the forms and reports.
We have around 250 forms and reports running on client/server architecture. All these forms/reports have been copied to a fileshare and access control is restricted by folder security.
2) How to deploy forms - entries within formsweb.cfg with Named Configuration sections.
3) How to deploy reports, as to were to copy the .rep files.
getting the following error
REP-110: Unable to open file 'Car_Readings.rep'.
while trying
http://kddsvr6.kddc.com:7778/reports/rwservlet?report=Car_Readings.rep&userid=username/passwd@db&desformat=htmlcss
Thanks in advance,
AJi -
How to move offline form from SAP dev to QA and Production environments?
I developed and Adobe Form that can be used offline - steps in development are as below:
1. Webservice generated out of a BAPI in SAP.
2. WSDL generated from SOAMANAGER transaction code and kept on a newtowrk folder
3. Used this WSDL to prepare the form in SAP WebDynpro view
4. generated the URL of the webservice per Dev / QA / Prod when the form is being generated out of the WebDynrpo app - function module ICM_SERVER_INFO (used here)
4. Placed a regular type button on the form and passed the URL on the click of the button
5. This worked fine in Dev system.
6. Now the transports are moved to QA. But click of the button was still pointing to the Dev system.
7. Realized that it is reading the Dev WSDL from the network drive - it still tries to submit to the dev url of the webservice
8. So generated the WSDL from SOAMANAGER fo QA and over wrote with the Dev WSDL files.
9. When I opent he Adobe Form in WebDypro in QA, it reads the new WSDLs and updates the correct URLs - I checked this in the XML of the source of the Adobe Form
10. here comes the problem - even though step 9 is done correctly, I can not save the form and activate it to reflect the new URLs - since QA is not open. Same procedure may need to be followed in case of Production also.
So the question is:
How to circumvent this issue of updating the WSDL and URL after the development transport is moved to QA and Prodcution?
Or - QA and Prod have to opened, WSDL and URl updated in change mode of form and a transport also created?
(seems to be a limitation)
(I looked a bit but did not get any pointers when I googled - may be my search is not correct).
Please advise.
Thanks,hi Chandra,
I store the url in one of hidden field in form, then copy javascript below to click event, button control type: Regular.
just replace all the "<>" in the code below.
var message;
var response;
// The name of the data connection will be pulled from the WSDLConnection name in the ConnectionSet packet
var sWSDLName = <DataConnection name>;
// clone, modify and execute the connection.
var vConnection = xfa.connectionSet[sWSDLName].clone(true);
vConnection.soapAddress.value = <url>;
// Execute the connection, without remerge data after the result.
var ws_rc = vConnection.execute(true);
for multiple data connection, you have to repeat these code with replace different data connection name and it's url address.
you may use script object (something like subroutine).
Regards,
Kathy Lau -
Migration of Smartforms / SAPScript forms from SAP R/3 4.7 to SAP ECC 6.0
Dear Members,
We are in process of re-implementing SAP with SAP ECC 6.0 from SAP R/3 version 4.7
We have created many layouts using SAPScripts & SAP Smartforms in SAP R/3.
My question is, are there any migration tools available in SAP ECC 6.0 in the form of function modules, BAPI etc to convert existing forms of Smartforms / SAPScripts created in SAP R/3 4.7 to SAP ECC 6.0 ?
Or do we have to design all existing forms created in R/3 once agin in SAP ECC 6.0 ?
We request our dear members to share their views on the above mentioned problems faced by us in the re-implementation project
Thanking you,
With best regards,
K. Rangarajan
ABAP Programmer
Strides Arcolab Limited
Bangalore, INDIADear Friend,
As per our consultant's view, we are not upgrading from SAP R/3 4.7 to SAP ECC. We are re-implementing; that is, we are going to implement SAP ECC as if we are doing it for the first time ever in our company. This is due to drastic organizational changes happend in our company. So, upgrading from R/3 is not feasible solution, according to our consultants.
So, we have to re-configure all settings in SPRO manually in ECC based on our new business scenario. There will be new company codes, plants, business area etc., which will be totally different from existing R/3 system.
But the template definitions of the existing forms maintained in SAPScript / Smartforms will remain same.
There are 50+ forms (boith SAPScript / Smartforms put together) and manual re-designing of all those forms will be tedious within the scheduled date of GO Live.
In that case, to avoid re-designing, what is the best method that can prevent manual re-design of Smartforms?
For SAPscripts, I got some good news from our some of our dear forum members.
Thanking you,
With best regards,
K. Rangarajan -
How to register add-on of edited system form in sap b1 9.0?.
Hi all,
I have a problem in SAP b1 9.0.
Actually I added one field of BPCode to Employee master data, so I want to register an add-on of that system form in SAP b1 9.0.
When I create file of .ard as we watch it in video of
Bryan Gomez
Creating and Registering SAP Add-on - YouTube it will be created correctly, But the problem is when I register that the file of .ard it gives error (Cannot create a file when that file already exists). Again when I create a file of .ard of any other User form it gives the same error (Cannot create a file when that file already exists).
But when I create and register the add-on of Hello World in Sample folder of SDK it will be registered correctly.
How can I solve that problem.
Anyone can help me please.Hi pallavi p,
That's good but as I said above when I add the reference of UI API Version 9.0 in the project which has the system form or user form of sap b1 it exactly gives errors in menu.vb of the project.
So let me give you the way you can try.
1. Open new project/ visual basic/ sap business one/ sap business one add-on project. and save it any where
2. Right click on your project
3. Add new item
4. Sap Business One
5. System form (Employee master data) or user form
6. Add
And then if your form is opened
7. Go to add the reference of UI API Version 9.0
8. Check errors found in menu.vb (or in OutPut)
So if it's possible try to solve that problem.
Please anyone can help me. -
SAPSCRIPT: Creating new Language for existing form
Hi Guys,
I need add an additional language for an existing form. Italian is not available for the this existing form. How can I add this language? do I need to copy the form with language EN? how can I include that form in the existing form? or there are other way to do this? Thanks in advance!
Regards,
Michael NacionalesThere is a change in the standard code.The reason for the above problem was because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
IS-ADEC-MPD - Enhancement to copy MPD data
ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
+*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
+**ENHANCEMENT 1 ZSF_AD_MPD_SAPLCV110. "active version**+
+*** copy MPD relevant data from templ. doc to current doc**+
+**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
+**EXPORTING**+
+**is_draw = ls_draw**+
+**TABLES**+
+**ct_drad = lt_drad.**+
+*ENDENHANCEMENT.**$*$-End: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
Regards,
Prasad.B -
Importing XDP form in SAP Adobe Form Builder
Hello,
In SAP transaction SFP to create Adobe form, there is an option to import an existing form from Designer 5.0 .xft files or .pdf files.
Is there any way I can import Designer 6.0 (.xdp files) onwards forms into SAP ?
Thanks,
AnjaliHello,
Just wanted to check is there a way to import xdp form desginer files into SAP forms using transaction SFP.
Thanks,
Anjali -
How to find List of Z forms in sap script?
Hi Could any one help me to trace out how could we find the List of z FORMS(sap script forms) in sap system..
For instance if i put z* in smartforms and press f4 i will find list of customized forms where as
when i did the same thing in sapscripts (se71) it will display a tree structure ...where its hard to trace out...waiting for your inputs!!
Regards
SasGoto SE38
& execute program RSTXFCAT.
Enter Z* in FORM field.
Best regards,
Prashant
Hi Viswa when i gone through above format i can see 6 output forms
but when i see the same in TADIR with object name as FORM i can see 10 forms
which 4 are extra but unable to get them in the sap script . when i am entering the names in form and using diaply button system is prompting as the form(those 4 FORMS ) are not existing?
WHY SO any idea...im table even i didnt find any difference as such
Regards
Sas -
We've created a form on FormsCentral, and it's working very well. We'd now like to add a reset button to the form. I know we can do this in Adobe Acrobat to the base form we created before bringing it into FormsCentral, but I don't want to lose the form information we already have for the existing form that FormsCentral is tracking.
Can we update the form we have without losing all the response information? I suppose I could re-import the information into FormsCentral from an excel sheet or other if the existing information isn't carried forward, but I'd like some feedback on this before I start making changes to the form and the information collected.Hi;
It sounds like you are distributing your FormsCentral form in PDF and want to edit that PDF before continuing distributing adding a "Reset Form" button which you would do in Acrobat - is that correct? Assuming it is, you could do this by doing a "Save a Copy" in Acrobat which will remove the Ubiqutization (enabling rights in Reader), you could then edit the form adding the "Reset Form" button, re-do the Reader Enabling and then send the form out. We don't explicitly support editing the PDF but as long as you don't modify form in a way that breaks the submit you should be OK.
Regarding Importing your PDF back into FormsCentral and having to re-import your data into that new form, you would also lose the ability to edit your form further in FormsCentral and you would lose the URL to fill the form out in a web browser. The Import PDF Form feature is best for existing forms you do not want to re-create using our design tools, but they don't have a URL to fill out the form, and are not editable. You are going to get better results by editing the PDF in Acrobat and then re-ubiquitizing it.
Let me know if I understood correctly, hope this helps.
Thanks,
Johs -
How can i update an existing item in sap using CSV file?
Hi,
i am trying to update an existing Item in SAP using a CSV file.
in the message log i get an error message that the item already exists.
what should i do in order to update the existing record?
Thanks, UdiHi..........
I would sugest you to use Tab delimited file and choose proper option in order to update the itsm master in DTW......
Regards,
Rahul -
I'm trying to add an existing field to an existing form in SharePoint Designer 2010. It's a URL to the employee's photo. But each time I try to "Insert as picture" the url to the photo has a trailing comma. Why and more importantly, how do I get
rid of it?
Thanks!Hello,
See this similar thread:
http://sharepoint.stackexchange.com/questions/10149/comma-in-url-field
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help
Maybe you are looking for
-
How can I get my Apple TV 3 to see me iTunes library again?
I have the following setup: my main computer (Windows 8) is connected via LAN to the router (it has no wireless adapter), and all other devices are wireless (that's three iPhones, an iPad, an Apple TV 3 and a Macbook Pro (Latest Mountain Lion)). Ever
-
So, I've got several thousand photos, and a decent amount of videos of my daughter, along with a lot of stuff for work stored on my Time Capsule, and now I can't access any of it. I did a fresh install of Mavericks on my MacBook Pro last week sometim
-
I have an old BT CD1500 unit which has inch high numbers and letters and includes a 70 number directory of names which displays instead of the number, a brilliant bit of kit, mine has been working for many years on an ordinary line, then later with B
-
i have defined a function, and the compiler is giving me "')' expected " error... here is my code package ab; import java.io.*; import java.util.*; import com.db4o.Db4o; import com.db4o.ObjectContainer; import com.db4o.ObjectSet; public class Test3 e
-
L7555 all in one printer says rear access panel is open, its not
Hp officejet pro L7555 all in one printer. I had a paper jam which i cleared however the Door open rear access panel is open keeps coming up. I cleaned the contacts with a lint free towel and an eraser. I have powered down the printer nothing work