General text field in invoice register
Hi,
Can anybody plz tell me how to fetch general text field from
vf03 transaction in SD. i am not able to find out its field name and table name.
vf03 --> goto --> header ---> header text.
regards
Fozia
Hi,
Check this sample code:
REPORT ZEXAMPLE.
TABLES: TTXID, ITCPO.
DATA: LANGUAGE LIKE T002-SPRAS VALUE 'E',
ACTION LIKE TTXCT-FUNCTION,
TEXTTITLE LIKE TTXIT-TDTEXT.
DATA BEGIN OF TEXTHEADER.
INCLUDE STRUCTURE THEAD.
DATA END OF TEXTHEADER.
DATA BEGIN OF TEXTLINES OCCURS 0.
INCLUDE STRUCTURE TLINE.
DATA END OF TEXTLINES.
CREATE A ONE-LINE TEXT ELEMENT
PARAMETERS: P_OBJ LIKE TTXID-TDOBJECT DEFAULT 'DOKU' OBLIGATORY,
P_ID LIKE TTXID-TDID DEFAULT 'TB' OBLIGATORY,
P_NAME LIKE STXH-TDNAME DEFAULT 'MARA' OBLIGATORY.
PARAMETERS: P_LINE LIKE TLINE-TDLINE,
P_PRNFMT LIKE THEAD-TDTEXTTYPE,
P_DEL AS CHECKBOX.
CLEAR: TEXTLINES, TEXTLINES[].
TEXTLINES-TDLINE = P_LINE.
APPEND TEXTLINES.
SELECT SINGLE * FROM TTXID WHERE TDOBJECT EQ P_OBJ
AND TDID EQ P_ID.
IF SY-SUBRC EQ 0.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = P_ID
LANGUAGE = LANGUAGE
NAME = P_NAME
OBJECT = P_OBJ
IMPORTING
HEADER = TEXTHEADER
TABLES
LINES = TEXTLINES
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC = 0.
MOVE 'LOCL' TO ITCPO-TDDEST.
MOVE 1 TO ITCPO-TDCOPIES.
IF P_PRNFMT = 'ITF'.
CALL FUNCTION 'PRINT_TEXT_ITF'
EXPORTING
HEADER = TEXTHEADER
OPTIONS = ITCPO
TABLES
LINES = TEXTLINES.
ELSE.
CALL FUNCTION 'PRINT_TEXT'
EXPORTING
HEADER = TEXTHEADER
OPTIONS = ITCPO
TABLES
LINES = TEXTLINES
EXCEPTIONS
OTHERS = 1.
ENDIF.
IF SY-SUBRC EQ 0.
CALL FUNCTION 'INIT_TEXT'
EXPORTING
ID = P_ID
LANGUAGE = LANGUAGE
NAME = P_NAME
OBJECT = P_OBJ
IMPORTING
HEADER = TEXTHEADER
TABLES
LINES = TEXTLINES.
CALL FUNCTION 'EDIT_TEXT'
EXPORTING
EDITOR_TITLE = TEXTTITLE
HEADER = TEXTHEADER
SAVE = SPACE
IMPORTING
FUNCTION = ACTION
NEWHEADER = TEXTHEADER
TABLES
LINES = TEXTLINES.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = P_ID
FLANGUAGE = LANGUAGE
FNAME = P_NAME
FOBJECT = P_OBJ
TABLES
FLINES = TEXTLINES
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3.
IF SY-SUBRC EQ 0.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
HEADER = TEXTHEADER
IMPORTING
NEWHEADER = TEXTHEADER
TABLES
LINES = TEXTLINES.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = P_OBJ
NAME = P_NAME
ID = P_ID
LANGUAGE = LANGUAGE.
ELSE.
IF P_DEL EQ 'X'.
CALL FUNCTION 'DELETE_TEXT'
EXPORTING
OBJECT = P_OBJ
ID = P_ID
NAME = P_NAME
LANGUAGE = LANGUAGE.
WRITE:/ P_OBJ, 'DELETED'.
ELSE.
WRITE:/ P_OBJ, 'EXISTS'.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
Values for ID , NAME ,OBJECT can be founf by displaying the document in change mode then goto the header texts..select the text and then double click the editor it will goto sapscript editor from there Goto->Header..in the popup screen u will get all the info.
Regards,
Joy.
Similar Messages
-
What is the Table name & Field Name for Clearing text field in F-53 Transac
Hi,
I need prepare a functional specification for Clearing text field in Check Register.I am not able to find the Table name and Field Name for Clearing text field in F 53 transaction code.Kindly provide me the Table and filed name.so that i can proceed.Kindly help me.
I will assign points.
Thanks
SunithaHi
From the payment document you have to link to the clearing document (Number BSEG-AUGBL, same Fiscal year and Company Code) in the clearing document the text entered in the transaction can be found on item text (BSEG-TEXT).
RF05A is a Structure name
Ranga
Edited by: Ranga Swamy on Dec 4, 2008 7:55 PM -
Is there a way to print the check register with the Text field
Hi,
Is there a way to print the check register with the Text field and also each item's Text field?"
When we enter a invoice we enter a generic text on the Basic Data tab then enter a "+" on each individual line item which in turns defaults to the generic text. Just wanted to know if the check register could draw in the individual line item detail where we can enter text that relates to just that line item. Sort of like the MIR7 draws in the detail for each item.
Kindly help me in full fill the above requirement.
Thanks
SunithaHi,
Can any one help me on this issue?
Thanks
Sunitha -
Copy text field from material document (MIGO) to invoice document (MIRO
Logistic users first create a purchase order. During goods receipt with MIGO they fill in a note in the text field. After MIGO they want to have this text field in MIGO (screen field GOITEM-SGTXT) to be copied to the screen field DRSEG-SGTXT during the creation of an invoice with MIRO. Is this possible via customizing? If so, how?
Hi Everard,
What exactly is the requirement in business process?
Are you making any decision during invoice verification on the basis of this item text which are entering during goods receipt?
In case if these details are required only for the purpose of information to Invoice Posting person, this can be made on the basis of ABAP Query using table ralated to text in Material Document.
Hope above information will be helpful to you.
Regards,
Satish -
Expanding text fields for printing
I have created my first form and saved it as a pdf. in general it looks good but even though the text fields are expandable and grow I can't see all of the text once the form is printed. What can I do? Is there a setting somewhere I am not aware of?
Help!!Hi;
In the PDF you download from the "Distribute" tab that users fill out the text areas don't "expand" but they scroll to accomodate the text. In PDF in general printing will not print the entire multi-line text fields, however, we made an enhancement in the "Response PDF" that you can downoad. If you go to the "View Responses" tab and "Download response as PDF" you will get a PDF of the form with the users responses, in this PDF the multi-line text boxes are all expanded to fit the text so that when you go to print this PDF it will print the entire response text.
Thanks,
Josh -
Expanding text field to allow for multiple pages
Hi all,
Disclaimer: Not a JAVA/programmer type. I typically Google things to death and try to learn from there. Created a form and followed some other's suggestions but I'm in a bind with expanding a field (text field) to allow for users to enter info and for it to print the full entry once submitted.
I changed the form to be sent using the email button to select recipients and as a pdf doc. I'd like to keep it this way. I created the form and didn't use a template. I just signed up and am looking for the button to attach the doc, created in Livecycle Designer ES with the hopes that someone could take a look at it. Can't find the attach button. If someone can provide their email address to take a look, that would be great.
Niall, I've been reading your posts and actually tried copying/pasting in one of your fields (re: subform as Flow, etc) but so far, no luck.
I selected all the usual variables for the subform/text box:
Allow Multiple Lines, Allow Breaks, Expand to Fit (Height).
Please advise if someone would be available to take a look and I'll send it to you. Thanks in advance for any recommendations/availability.Hi Jeff,
Yes you can force the highlight colour on using the following script in the docReady event of the root node (normally form1):
app.runtimeHighlight = true;
You can also change the highlight colour, but this is a personal choice. Generally I would leave it at the default. This ways users are getting the same experience.
For the email submit, there are a couple of choices. If you use a regular button (instead of the Email Submit Button) you can script for custom recipients, subject line and message. There are examples here. You are probably better sticking with the example for versions of Acrobat/Reader v9 and below. You are looking for the last button. The script can be reduced to match your requirements.
http://www.assuredynamics.com/index.php/code-solutions/email-solutions/
If you want to share a form, you will need to upload it to a file sharing site, like Acrobat.com and then post the published link here.
You can use a regular button for the URL, so that on the click event the user is directed to Adobe's site:
app.launchURL("http://get.adobe.com/reader/", true);
Lastly you must Reader Enable the form before you send it out.
Good luck,
Niall
Assure Dynamics -
Populate drop-down list from multiple text fields.
Just to begin, I am brand new to this application and brand new to coding in general. Anyways, this is what I am trying to accomplish. I need to populate a drop-down list from multiple text fields. I am able to populate one item using this in the calculate event:
TextField1.rawValue
After I type text in TextField1 and hit enter, it displays the text in the drop-down list. I need to do this but with more than just one text field to populate more options for the drop-down list. I will also need to do something similar with populating a drop-down list from selections made in multiple other drop-down lists.
Thanks for any help you can give me.Thank you for your suggestion Geo Kaiser. With that, I was able to populate my drop-down lists, but now when I select an option from the drop-down list, the selection dissapears. The selection will appear briefly in the box but then dissapears although my drop-down list options remain there. Here is the code I am using for my text field to drop-down list:
DropDownList1.clearItems()
DropDownList1.addItem(TextField1)
DropDownList1.addItem(TextField2)
And here is my code for my drop-down list to populate another drop-down list:
DropDownList3.clearItems()
DropDownList3.addItem(DropDownList1)
DropDownList3.additem(DropDownList2)
Thanks again for your help. By the way, I am using Adobe Designer 7.0. -
Text field to be reflected in GR/IR Account
hi,
I am having problem with the text field in Transaction : MIRO and GR/IR a/c.
The text field which we enter in MIRO Transaction is to be reflected in GR/IR a/c.
Should we enter text manually in GR/IR a/c or it has to be popup from MIRO Transaction.
Could any one help me how to get the text in GR/IR Transaction from MIRO text.
u should be appreciated mate
SubramanyamHI
First verify the field status group of GR/IR account ...generally g045 is assigned for that....
Go to obc4, then click on g045 ...then click on general data... make text as required entry
if any other field status group (material group) is assigned ...for that also you can do the same as above...
Radha -
How to use the separate symbol in the text field in the adobe form.
Hi,experts,
I dont know how to use the separate symbol to make a paragraph separate into several lines correctly in the text field in the adobe form.
Action:
1. config the ADS successfully.
2. create the adobe form with a mult-line textfield(binding the 'remark' context in the interface of the form) using sfp.
3. create a WDA for invoke the form and transfer the 'remark' context data.
I use the following codes to display the paragraph in the PDF document:
CONCATENATE
'1、aaaaaaaaaaa;'
'2、bbbbbbbbb '
'3、ccccccccccc'
'4、ddddddddd'
INTO remark .
lo_nd_z_hr_php_payslip->set_attribute(
EXPORTING
name = `REMARK`
value = remark ).
But I found all the content aren't paragraph separate correctly in the text field in the adobe form when I run the WDA.
Could you please give me some hints to make the paragraph separate correctly in PDF document? Thanks a lot in advance!
My email is : [email protected]
Best regards,
Tao
Edited by: wang tao on Apr 8, 2008 1:58 AMHi,
If it is just a one word value then you could use this in the exist event;
this.rawValue
= util.printx(">?<*",this.rawValue);
This changes the first character (represented by the ?) to uppercase (represented by the >) and all trailing characters (represented by the *) to lowercase (represented by the <).
If you wanted something more general ... if they could also enter a middle name then you could call a function like;
function toTitleCase(textValue)
return textValue.toLowerCase().replace(/\b[a-z]/g, function replacer(match) { return match.toUpperCase(); });
This uses a regex to change all lowercase letters following a word boundary to uppercase.
Bruce -
How to show a text field based on what is entered in a date field
Hi there LiveCycle experts!
I have a form with a text field that I want to show only if the value of the previous date field once entered is less than 1 month from today?
Any help appreciated, been researching in vain for hours!!!
SarahWow Steve - thanks so much this is so exciting I just love learning these new scripts.
I assume I need to make the text field 'Hidden' - ?
I seem to be struggling a little to get it working - are you able to have a quick squizz at my document - it is in the very early stages!
Regards,
Sarah Milne
FACEBOOK : Join our 'BritBound Social Events' Group on Facebook to receive details of forthcoming social events...click here to join.
For a sociable & stress free arrival experience!
BritBound London Office: Britain & London Visitor Centre, 1 Regent Street, London, SW1Y 4XT.
Tel UK: | 0845 450 3536 | From OS + 44 (0) 20 7808 3815
Tel OZ: | Sydney: (02) 8003 7651 | Melbourne: (03) 9005 8304 | Brisbane: (07) 3102 9766
Tel NZ: | Auckland: (09) 889 3175 | Wellington: (04) 889 2015 | Christchurch: (03) 669 2032
Website: www.britbound.co.uk
E-mail: [email protected]
Click Here to find out more about: | UK VISAS | MOBILE PHONE CONTRACTS FOR NEW ARRIVALS TO THE UK | UK ACCOMMODATION | AIRPORT TRANSFERS | UMBRELLA COMPANIES | DISCOUNTED INTERNATIONAL BANK TRANSFERS | SOCIAL EVENTS | TAX REFUNDS | NATIONAL INSURANCE (NI) NUMBERS
Disclaimer: The information contained in or attached to this message is intended only for the people it is addressed to. If you are not the intended recipient, any use, disclosure or copying of this information is unauthorised and prohibited. This information may be confidential or subject to legal privilege. BritBound cannot accept liability for any virus damage caused by this message. This documentation is for your general information, and is not to be construed as advice. Clients should not act on the information contained herein alone, and should seek independent advice if necessary. -
I am designing a simple form to be used as template for OTHER people to type up room signs. We would like the signs to be in a specific font that is not generally loaded on the average computer, and we do not want to have to distribute fonts to a gazillion people. My thought was to create a LiveCycle from, whereby the room user could type their name and title in the text fields on the form, and in theory, it would appear in the font I chose for the text field. I have tried various things, but it always gets substituted by the user's computer.
Tried: Choosing "rich text" for field format in Object palette; choosing "Embed fonts" in "Save Options"; tried static form, tried dynamic form. It could be that my test user has such an old version of Reader that it just CANNOT work.
Thanks!The restrictions are listed as "normal." And it does appear as embedded when I go to the document properties, though it didn't until I used it for the text on the form (as apposed to just using in the text fields.) And when another user opens the form, the text appears in the specified font, but once they type in the text field, it defaults to different font.
BTW, it is an Open Type Font, if that makes any difference. -
Using InfoPath 2013 browser enabled form.
I am getting the above error on ALL Infopath Designed Rich Text fields, where the "Cannot be blank" attribute is set.
To reproduce it, I create a custom list and custom list form with InfoPath 2013. I add 2 Rich Text fields and enable "cannot be blank". To raise the error, I put some data in the RT field. Skip to another field (so focus is changed and a postback
occurs), then back to original field to delete the contents (to raise the validation).
I originally thought it was associated with the HTMLCHKR.DLL not being registered (and I have re-registered it just in case), but the exception I get from the ULS logs reads (it is from a list AFTER I have re-registered the DLL):
There was a form postback error. (User: 0#.w|myDomain\jc, Form Name: Template, IP: , Request: h t t p ://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/Item/newifs.aspx?List=2212ff41-77b4-445b-931b-d7e538c9da91&Source=h t t p://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/AllItems.aspx&RootFolder=&Web=3db49106-bdca-47bb-b4cd-a549d2d86aa7,
Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2015-01-16T21:51:48:853Z, Type: InvalidOperationException, Exception Message: No content generated as the result of the operation.) 8cc5e09c-3665-903b-575a-faaac506c40a
I noticed that errors associated with the HTMLCHKR.DLL not being registered would have some sort of COM exception (example: TYPE_E_LIBNOTREGISTERED or REGDB_E_CLASSNOTREG)
I also should mention that this problem started happening about 3 weeks ago. We have extended the web application to handle HTTPS on the intranet zone (we had a reverse proxy project that did not eventuate) - would that cause something? How can I do further
checking?Hi,
I have done a test in my SharePoint, and I met the same issue with you.
I created a custom list and custom list form with InfoPath 2013. I added 2 Rich Text fields and enabled "cannot be blank". I put some content in the RT field, then delete the contents, I got the error message:"there has been an
error while processing the form."
Here is a similar post said that executing the command: regsvr32 "C:\Program Files\Common Files\Microsoft Shared\
OFFICE14\htmlchkr.dll" will solve the issue.
https://social.msdn.microsoft.com/Forums/en-US/eb2e0f6e-c8e4-4e92-ac5e-a09d72759eda/rich-text-field-error-in-webform?forum=sharepointcustomizationprevious
But I just disabled "cannot be blank", and it solved the issue.
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
Mavericks slow response for text fields
Has anyone noticed that any text field is really really slow in response after upgrading to Mavericks? I have a mid 2011 mac mini with 8 GB ram, 2.5 TB external disk drives.
It is really driving me crazy having to wait to enter text in. Most noticeble in Safari and iWorks.
thanks
PaulHello Paul,
Thank you for the details of the issue you are experiencing with text fields on your Mac after upgrading to Mavericks. I recommend reviewing the steps in the following article for the issue you described (the title refers to the Mac in general, but the steps apply to the issue you described as wel):
OS X Mavericks: If your Mac runs slowly
http://support.apple.com/kb/PH13895
Thank you for using Apple Support Communities.
Best,
Sheila M. -
How to allow input text field to accept more than one "specific" answer.
Hi,
I am working for something and trying to create a type-box-based quiz for one of my classes, where an input text field can change it's border color if 2 or more words from an accepted word list is inputed.
For example, Say a list has possible answers: R,G, B, Y for the question "Name 2 colors".
I want to create an input text box where the border of the box will change color if any 2 letters (in the above list) are entered into it.
I've tried setting up a variable NumberSuccesses and setting it so that the number increases by 1 for each letter entered e.g.
if (Ex.text == "R");
NumSuc = NumSuc +1; // the var NumSuc has already been defined earlier in the code
If (Ex.text ''G")
NumSuc = NumSuc + 1
if (NumSuc == 2)
Ex.borderColor = 0x0000FF
but that didn't work.. and I tried doing it with another function which I use for multiple input boxes like if there were boxes A, B, C. I could set up a general function where if the correct answers were entered into A, B, an C respectively, only then will say, a checkmark show up using a
EnableCheckmark (); type function. Not sure how to do it if it's the same text input box though. Also just tried adding it into the same function re.
If (Ex.text == "R" + "G")
Ex.borderColor = 0x0000FF
.. Does anyone know what else I can do?The solution of Nishu with Evaluation Logic:
//These Are the Possible Answers
var solutions:Array = new Array("A","B","C","D");
function testInput(_inputText:String):Boolean
//the delimiter could also be a comma, here it is a space
var inputStringArray:Array = _inputText.split(" ");
var counter:Number = 0;
for (var i:int=0; i<inputStringArray.length; i++)
for (var j:int=0; j<solutions.length; j++)
if (inputStringArray[i]== solutions[j])
counter++;
if (counter >=2)
trace("true");
return true;
else
trace("false");
return false;
//Textfield with name input_txt on stage
input_txt.addEventListener(TextEvent.TEXT_INPUT, answerTxtInp);
// The function that will be called by the event listener
function answerTxtInp(txtEvent:TextEvent):void
// depending on the possible answers of characters, change the border color
if(testInput(input_txt.text)){
input_txt.borderColor = 0xFF0000;
else{
input_txt.borderColor = 0x000000; -
Purchase Order text field update in Material Mater
Hi experts,
Is't possible that we can give authorization to update ONLY Purchase Order text field
under the Purchase Order text view in MM?
But while giving authorization, I could only see "Maintenance statuses of Material" I could only see status code "E" in general for Purchasing view.
Please advise if this is possible to control to give authorization to update only this Purchase order text view in MM.
Regards,
PHi
Please try this way
Authorization object: M_MATE_STA
Define the fields this way
Fields Possible values Meaning
ACTVT 01 User may create data.
02 User may change data.
03 User may display data.
06 User may flag data for deletion.
08 User may display change documents.
STATM Here, you specify the
maintenance status for which
the user is authorized.
regards
sunny
Maybe you are looking for
-
Problem mapping LoginModule roles to ejb security roles
I have "successfully" managed to implement the DBSystemLoginModule. When I run my application I successfully authenticate to the database, the login module successfully retrieves the users roles from the database and adds them to the subject: Passive
-
Problems with automatically backing up ebooks
Hi, I just started using Adobe Digital Edition several days ago with version 1.5. And there is a "ebx_backup" folder under "My Digital Editions" which stores the automatically backed-up ebooks files. But yesterday, after i download the new version 1.
-
Installing japanese fonts on solaris 8 system
Hi All I have installed the japanese locale on my sparc solaris system. If i type locale -a ,it gives all the available locale.. But i dont know how to set up the japanese font on that system.. if any body knows about this issue Thanks
-
Some Problem while working with MEDRUCK
Dear Abapers, As Rich told me his previous message I copied all the function groups & function modules. Now, please tell me where in SE71 I should change the logo of IDES with my company logo and where should I change the address. Also
-
Gradients and PDF frame edge problems
I have a document that has a series of cut-out bottles on a gradiant background. If I print this document to a color printer, it looks fine. If I print it to a PDF, however, all of the frame edges appear (that is, the frame edges of the cut-out bottl