Personalization to replicate a field into another.
Hi Gurus
I'm new to R12 and its OAF interface....
I need personalize Suppliers screen to replicate Supplier Number field value into TaxPayer ID field when submitting page.
This must be done under certain conditions, like org_id and so on.
How can I do that?
I'm able to do simple personalizations, like changing a field prompt, but I can't find a tutorial or example for that I want to do.
Can someone give me an idea o any guidance?
Thanks in advance
Oscar
Hi Pradeep
I don't see yet the demo at link you point out, but I think that this case is not about hide/show a field, it's just copying a value from a field and putting into another under certain conditions when submitting page.
I'll see your link anyway
Regards
Oscar
Similar Messages
-
Reuse of Context node field into another
Hi All,
My Reuirement is to add "Product Configuration" field into Crdit Memo item List. Whereas this standard field already avaialble in standard order item list.
But "Credit Memo Item list" Context node is different fro "Standard order item list" Context Node. How to make use of that std field into "Credit Memo Item list" Context node.
Component : ICCMP_BT_SLO/Slo1cart
Std order Context Node : ADMINI
Componet : ICCMP_BTITEM/itemList
Credit Memo COntext Node : BTADMINI
Field Name : Config
Kindly Suggest how to proceed this.
Thank you,
ChaHi Cha,
In the view ICCMP_BT_SLO/Slo1cart in the context node they have added a manual attribute called "Config"
You can do the same to your view ICCMP_BTITEM/itemList. you can create a manual attribute - you can do this by do a right click on the attributes of the BTADMINI context node.
You can copy the same code from the other component or you can write your own code in the get method
Hope this helps.
Thanks,
Senthil. -
Populate Combo Box field into another field
I've got a form (form1) based off a table (table1). In the form I have a field from table1 called
bagtype that is a combobox type field with a row source from another table with two fields that show up in the drop down box when selected. When I select a field from the dropdown box only the first field populates the actual form field
(and underlying table) which is what I want. What I'd also like to happen is the second field of the combo box that doesn't populate the bagtype field is for it to populate another field (from table1) on the same form and store that
value in the underlying table as well. The other field in the form is called
AStd.
TAKHi,
you need 1 line of VBA code in the AfterUpdate event of the combo box:
Me!NameOfTheTargetFieldOrControl = Me!BagType.Column(1)
The column index is zero based i.e. 0 = first column of the combo box, 1 = second column etc.
cu
Karl
Access FAQ (de/it): donkarl.com
Access Lobby: AccessDevelopers.org -
Adding value of one field into another field and should display it
Hai Experts,
i have problem try help me plz,
my problem is:
i have some fields like A,B,C,D,E.in my ddic table and i designed a screen with same fields
so here i want have values on gallons
ex : think
E = order value
C = gallons
and when i enter each value in order value it should go sum with gallons and should display on screen ,it should not save in table,when i open screen next time it should not show any valuesHi ,
U Can try the UserEXIT PBAS0001 component EXIT_SAPFP50M_001 . The code in the Include Program ZXPADU01 looks something like this .
DATA: I0002 TYPE P0002.
CLASS CL_HR_PNNNN_TYPE_CAST DEFINITION LOAD.
CASE INNNN-INFTY.
WHEN '0002'.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
EXPORTING
PRELP = INNNN
IMPORTING
PNNNN = I0002.
MOVE I0002-VORNA TO I0002-RUFNM.
CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP
EXPORTING
PNNNN = I0002
IMPORTING
PRELP = INNNN.
ENDCASE.
U can also implement the same in the BADI HRPAD00INFTY method BEFORE_OUTPUT . The same code should work -
Can I copy and paste a drop down list into another field?
Can I copy and paste a drop down list into another field?
You don't have to create a PDF, but it would be helpful to know what, exactly, you want to do with the ppt.
You can export as a PDF which will keep vectors and text as PostScript (crisp) elements.
You can also Save As from ppt in a variety of formats such as PNG or TIFF.
These rasterize all the vectors and text, but are very useful if you're laying out a miniature gallery of the powerpoint presentation.
However, if you want to make the InDesign file a replica of the ppt slides for print, PDF is probably the best way to go. -
How do I get the results of 2 text fields and put the output into another ?
I have 2 text fields that multiply off of each other.
My question is, is there a way to get the result of this and put it into another text field? And from that result get another result? Or do I have to get the results from a textarea?I have 2 text fields that multiply off of each other.I assume this really means you want to have something else multiply the contents of the two text fields. When you are using an object-oriented language, it is helpful if you consider what objects are responsible for what actions. Loose descriptions lead to confusion.
My question is, is there a way to get the result of
this and put it into another text field? And from
that result get another result? Or do I have to get
the results from a textarea?Assuming that your "text field" is a Swing text component (and not, say, an HTML text field) then it has a getText() method that returns the contents as a String. If you plan to multiply this by something then you'll want to convert it to an int or a double or maybe a BigInteger or a BigDecimal object. Are we on the right track here? -
Retrieve Title field values from multiple lists and add into another list
Hi , Iam trying to retrieve Title field value from multiple lists. and add them into another list. using Javascript. Can any one help me in doing this. Below is the code.. function save() { clientContext = new SP.ClientContext.get_current(); oWebsite = clientContext.get_web(); oList = clientContext.get_web().get_lists().getByTitle('MainList'); clientContext.load(oList); clientContext.executeQueryAsync(OnSucceeded, onQueryFailed); } function GetListItemValue(listName, fieldName) { var list = oWebsite.get_lists().getByTitle(listName); var eventValue = document.getElementById(fieldName).value; eventValue = eventValue.replace(",", ""); var camlQuery = new SP.CamlQuery(); var filterdata = '<view><query><where><eq><fieldref name="Title/"><value type="Text">' + myreqValue.trim() + '</value></fieldref></eq></where></query></view>'; camlQuery.set_viewXml(filterdata); listItems = list.getItems(camlQuery); clientContext.load(list); clientContext.load(listItems, 'Include(Id)'); clientContext.executeQueryAsync(Succeeded,Failed); } function OnSucceeded() { itemCreateInfo = new SP.ListItemCreationInformation(); oListItem = oList.addItem(itemCreateInfo); oListItem.set_item('Title', 'My New Title'); var deptItemLookupField = new SP.FieldLookupValue(); //Problem in below line...I was unable to get ID var getId = GetListItemValue("Listname1", "txtboxname1"); alert("ID" + getId); if (getId != undefined) { deptItemLookupField.set_lookupId(getId); } var getId12 = GetListItemValue("Listname12", "txtboxname12"); alert("ID" + getId12); if (getId12 != undefined) { deptItemLookupField.set_lookupId(getId12); } oListItem.update(); clientContext.executeQueryAsync(itemadded, itemFailed); } function itemadded() { alert('Item added successfully'); } function itemFailed(sender, args) { alert('Item added itemFailed' + args.get_message() + '\n' + args.get_stackTrace()); }
RajHi,
For this requirement, you will need to retrieve all the lists objects you want firstly, then execute the requests one by one to get the value of the Title column using CAML or
LINQ.
How to: Retrieve Lists Using JavaScript
http://msdn.microsoft.com/en-us/library/office/hh185009(v=office.14).aspx
About
retrieve list items:
http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
You can use
Promise in your script to make your requests sequentially:
http://www.shillier.com/archive/2013/03/04/using-promises-with-the-javascript-client-object-model-in-sharepoint-2013.aspx
http://www.learningsharepoint.com/2013/08/13/using-deferred-and-promise-to-handle-async-calls-in-sharepoint-client-object-model/
Best regards
Patrick Liang
TechNet Community Support -
Copy selected values from a table control into another table control
hi there,
as seen in the subject i need to copy selected values from a table control into another table control in the same screen. as i dont know much about table controls i made 2 table controls with the wizard and started to change the code... right now im totally messed up. nothing works anymore and i don't know where to start over.
i looked up the forums and google, but there is nothing to help me with this problem (or i suck in searching the internet for solutions)
i have 2 buttons. one to push the selected data from the top table control into the bottom tc and the other button is to push selected data from the bottom tc into the top tc. does somebody has a sample code to do this?you're funny
i still don't get it... can't believe, there is no tutorial or sample code around how to copy multiple selected rows from a tc.
here's my code, maybe you can tell me exactly were i have to change it:
tc1 = upper table control
tc2 = lower table control
SCREEN 0100:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
MODULE get_nfo. --> gets data from the dictionary table
MODULE tc1_change_tc_attr.
LOOP AT it_roles_tc1
INTO wa_roles_tc1
WITH CONTROL tc1
CURSOR tc1-current_line.
ENDLOOP.
MODULE tc2_change_tc_attr.
LOOP AT it_roles_tc2
INTO wa_roles_tc2l
WITH CONTROL tc2
CURSOR tc2-current_line.
ENDLOOP.
PROCESS AFTER INPUT.
LOOP AT it_roles_tc1.
CHAIN.
FIELD wa_roles_tc1-agr_name.
FIELD wa_roles_tc1-text.
ENDCHAIN.
FIELD wa_roles_tc1-mark
MODULE tc1_mark ON REQUEST.
ENDLOOP.
LOOP AT it_roles_tc2.
CHAIN.
FIELD wa_roles_tc2-agr_name.
FIELD wa_roles_tc2-text.
ENDCHAIN.
FIELD wa_roles_tc2-mark
MODULE tc2_mark ON REQUEST.
ENDLOOP.
MODULE ok_code.
MODULE user_command_0100.
INCLUDE PAI:
MODULE tc1_mark INPUT.
IF tc1-line_sel_mode = 2
AND wa_roles_tc1-mark = 'X'.
LOOP AT it_roles_tc1 INTO g_tc1_wa2
WHERE mark = 'X'. -
> big problem here is, that no entry has an 'X' there
g_tc1_wa2-mark = ''.
MODIFY it_roles_tc1
FROM g_tc1_wa2
TRANSPORTING mark.
ENDLOOP.
ENDIF.
MODIFY it_roles_tc1
FROM wa_roles_tc1
INDEX tc1-current_line
TRANSPORTING mark.
ENDMODULE. "TC1_MARK INPUT
MODULE tc2_mark INPUT.
IF tc2-line_sel_mode = 2
AND wa_roles_tc2-mark = 'X'.
LOOP AT it_roles_tc2 INTO g_tc2_wa2
WHERE mark = 'X'. -
> same here, it doesn't gets any data
g_tc2_wa2-mark = ''.
MODIFY it_roles_tc2
FROM g_tc2_wa2
TRANSPORTING mark.
ENDLOOP.
ENDIF.
MODIFY it_roles_tc2
FROM wa_roles_tc2
INDEX tc2-current_line
TRANSPORTING mark.
ENDMODULE.
thx for anybody who can help with this! -
How to add one DC into Another
Hi
I have created one DC ,now I want to use this DC into another.
My application is like:
I have one i/p field and beside it one button which calls another DC.So how to do this?
Thanks
PrajaktaHi,
This link will solve your problem.
WebDynpro DC -create and use
Correct steps to use Java class in WD Java DC from another WD Java DC
For any queries feel free to ask.
Regards,
Praveen -
A little help please as it's been years since I've done any coding of any sort.
So I have a 4 page document with various field types. I have a document script that gets "TodaysDate" that works perfectly and a few other scripts as well.
So what I'm trying to do is find a work around for the following:
I have 3 fields - SURNAME, FIRSTNAME & dob.
And I want what is typed into these fields to populate into 1 field. And according to this tutorial (http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript) it's not exactly possible. At least I think that's what it says.
However I'm hoping that maybe I could have a Submit button at the end of that document that when clicked would copy the text from those 3 fields (that I would have on 1 layer) into 1 field on a 2nd layer. Is that even possible??
I'd also like to have the document Print, Save (using the text in the field on the 2nd layer as the file name), Email (using the text in the field on the 2nd layer as the subject line) and Export to a specific Excel spreadsheet.
I don't want much do I?
I'm using Acrobat 9 Pro on a Windows PC but also have access to Acrobat 8 Professional. And I'm going to want the form to run in Acrobat Reader X.
So far I have for the 3 fields into 1 on another layer:
function buttonClick(){
if(buttonClick==false)
event.value=this.getField("SURNAME"+"-"+"FIRSTNAME"+"-"+"dob").valueAsString;
But I have no idea how to call the event.value from 1 layer to another or if any of that code above would even work at all.
I have a script that I believe will work perfectly for the Save and Email function:
Using the “doc.submitForm()” function
// This is the form return e-mail. Its hardcoded
// so that the form is always returned to the same address
// Change address on your form
var cToAddr = "[email protected]";
// First, get the client CC e-mail address
var cCCAddr = this.getField("ClientEmail").value;
// Now get the beneficiary e-mail only if it is filled out
var cBenAddr = this.getField("BennyEmail").value;
if(cBenAddr != "") cCCAddr += ";" + cBenAddr;
// Set the subject and body text for the e-mail message
var cSubLine = "Form X-1 returned from client"; var cBody = "Thank you for submitting your form.\n" + "Save the mail attachment for your own records";
//** Send the form data as an XML attachment on an e-mail
// Build the e-mail URL
var cEmailURL = "mailto:[email protected]?cc=" + cCCAddr + "&subject=" + cSubLine + "&body=" + cBody;
this.submitForm({
cURL: cEmailURL,
cSubmitAs:"XML",
cCharSet:"utf-8"
I'll work out the Export to Excel thing later as I've seen many tutorials on that. But can I do the 3 fields to 1 thing at all?
Please Help!!!Sorry Gilad. I hope I'm not getting on your nerves (too much) but as I said it's been a while since I did any formal code. And I'm trying to do this code for a work document but I'm doing it in amongst so many other things I do for my job that it's difficult to get the time to concentrate for longer than 5 mins.
I didn't get a chance to try that code until just now. I guess I asked again as I thought (from what I'd read) that it wouldn't be that simple.
So I've added that code and I get no errors. But it doesn't appear to be doing anything either. I've added the code like this in the Custom calculation script of a separate field I've called FileName. And on the Button i'm using I've added: buttonClick()
function buttonClick(){
if(buttonClick==false)
event.value=this.getField("SURNAME").valueAsString + "-" + this.getField("FIRSTNAME").valueAsString + "-" + this.getField("dob").valueAsString;
So now I'm guessing that becasue i'm not getting an error or a result that I've screwed it up still. Have I put the code in the correct area? Have I assigned a the buttonClick() function correctly? -
How to copy exitsitng extracter into another new extracter?
Hello,
Please some one can tel me how to copy the existing extracter into another new extracter.
I have requirment as below
Currect me if i am wrong ,need to enhance the existing extracter and add some new fields,and need to include some masterdata filds also to it.
For master data i am going to do write routines at Transfermation so that no need to include in my exter for those filds to extracter.
Please some one guide me in this scenario.
ChrsHi,
you do not have to copy the extractor, you can enhance it with fields and fill them via enhancement coding --> rsa6.
If you want to copy it, you need to check what kind of extractor you have. Is it a function module or just a table extractor.
for fm: copy the function module via se37 and copy the extract structure via se11. Add your enhancements in the copied structures and coding. Create a new datasource with rso2.
for table extractor: create a view adding the additionally needed fields. create a new ds with rso2. Surely you need to add some coding in the relevant enhancement.
regards
Siggi -
How to convert the text field into currency field
Hi,
I have an requirement to converting the text field into currency.
If I convert directly it gives dump.
If I convert this to Numeric means it takes the decimals also as whole value.
Is there any FM to convert the text field into Currency field.
Please advice me.
Thanks in advance.Hi,
I am on an SRM sytem, which unfortunately does not have th FM: PSSV_TEXT_INTO_FIELD_CURRENCY.
But I also need to transfer a string value like '12,99' to a field with type curr.
Can i Do that manually, or is there another FM?
I have already checked code with write to or pack/unpack.
But without success yet.
Something like this:
DATA: g_str(11) type c.
DATA: g_p type p.
WRITE '12,99' TO g_str CURRENCY 'EUR'.
is no use for me. Finally I need to move g_str to my curr-field, which causes st22.
also: PACK g_str to <curr-field or g_p> dumps.
Help appreciated.
regards, matthias -
Get the mapping values from one message mapping into another message mappin
Hi All,
I created two graphical message mappings. In first message mapping i created one user defined function and set one global container parameter and I need to use this parameter in my second message mapping user defined function. But the global container parameters can be used in different user defined functions in same message mapping. So is there any way to use the values which are set in one message mapping into another message mapping. If yes, please help me how to get?Hi Koteswara rao,
As you said global container parameters from first message mapping are not accessible from second message mapping program.
i haven't faced situation like this.but, if you have some unmapped field in target message in first message mapping,you can put global variables data in that unmapped field.
anyway the output of first message mapping would be input for 2nd messages mapping,so you can access global data(unmapped field filled with global data in 1st MM) from 2nd mapping program..
Cheers,
Jag -
When I send an email the rely comes into another account in my apple email. How do I set it so that my email comes to the correct address?
Hi Sunny C,
Welcome to the Support Communities! The "From" field should be showing by default, but you can check or change your settings for Mail with the instructions below:
Mail (Yosemite): Set Mail preferences
http://support.apple.com/kb/PH19178
In the Composing pane, you can set the email account that you want to send new messages from.
Also, check the View command on the Menu bar. View > Message Attributes should have a checkmark beside the "From" field.
Cheers,
Judy -
How to import form results into another form
I'd like a simplified online membership form at acrobat.com to collect new member information, then have an employee in another office be able to import that record into another, more graphical PDF form that would be printed and go in the new member welcome pack that would be mailed out. The fields would be the same but the design would be different. Is there a way to do that?
We currently don't support a workflow like this. I can't think of a work around either. Sorry we couldn't help more...
Randy
Maybe you are looking for
-
I cannot use icloud in my iphone4s, what may i do
The Iphone4S i got, was used and now all the time i try to configure the icloud, it says that in this divece was used the maximum number allowed..
-
SAP Short Dumps and PCI Compliance
We've run into an issue with our PCI Compliance audit around being able to see unencrypted credit cards in short dump messages in SAP. Has anyone run into this issue? Only work around I've got at this point is to restrict all access to short dumps a
-
I am really confused by this. My iPod won't charge, and I've tried with a wall charger, the usb cable, and a car charger, all verified working just the day before. The iPod still works perfectly, but the battery is now very low. To make sure it wasn'
-
I cannot setting my guitar for the GB lessons
In GB I can hear my guitar amplified in the loudspeakers of my mac, but in the lessons I cannot hear my guitar. The lessons settings, are not same that GB setings. I use M-Audio FastTrack USB any solution?
-
MOVED: Overclocking 3770k and MSI z77 Mpower
This topic has been moved to Overclocking, Undervolting. https://forum-en.msi.com/index.php?topic=169601.0