Smartforms...fields naming
Hi all,
I am having some doubts here on the smartforms.
I saw some of the fields under General Attributes in smartforms are :-
1)>_TVBDPR-POSEX(Z)&
sometimes I also saw
2)>_TVBDPR-POSEX(O)&
What does it means? Other than Z and O, what are other options available?
Kindly provide me some example would be highly appreciated.
Thanks
Write Decimal point in Character Format
&xquantity(C.6)&
Compare First 3 Charx of material group:
if &xmatkl(3)& = '931'
Write First 10 Charx in Character Format
&xprmg1(C10)&
Write xlbnum in Integer Format
&xlbnum(I)&
Similar Messages
-
Table name for field named URLGR
hi
can anyone pls tell me in which table can i find field named URLGRHi,
The field URLGR is not to be found as to what i tried..
The tables mentioned by Anji, doesn contain the field URLGR.
Can u say more elaborately, whats ur field's description!
****Reawrd points if useful.
All the best -
Smartform - Field not outputting more than 255 characters in a loop - Help!
Hi,
I have the following problem with my Smartform:
I am looping from a table and into a structure (Loop function).
1 of those fields is 1000 characters long and will be filled usually at 500 characters inside.
However, when looping and outputting the field (text node) in the format &Tablename-Fieldname&, only up to 255 characters are output.
To give you a better idea - I have a Loop Node and there, I am looping from a table (type table of) into a header
(type).
Using LCHR does not help.
Why does this happen? How can I fix this? Are any symbols available in Smartforms, like they are in SAPscript?
Any possible solutions will help.
Please help this is very important and very urgent.
Best Regards,
JohnHi,
if you want to output a long string in a smartform putting it as &name& in a text will not help you. For printing such an information you use temp include texts you create an delete on the fly while processing the SF.
To Do so:
- define GV_SUFFIX type char2, GS_HEAD a structure with fields TDOBJECT type TDOBJECT, TDNAME type TDOBNAME, TDID type TDID, TDSPRAS type SPRAS
- define a code step importing the text, the language and the GV_SUFFIX, in the coding , you convert the string to itf and than use function module SAVE_TEXT to save the include text and put the information into GS_HEAD
- define an include text where you put out the newly created include text
- define a code step to delete the temporary text with function module DELETE_TEXT
Best Regards
Roman Weise -
Smartform - Field not outputting more than 255 characters in a loop
Hi,
I have the following problem with my Smartform:
I am looping from a table and into a structure (Loop function).
1 of those fields is 1000 characters long and will be filled usually at 500 characters inside.
However, when looping and outputting the field (text node) in the format &Tablename-Fieldname&, only up to 255 characters are output.
Why does this happen? How can I fix this? Are any symbols available in Smartforms, like they are in SAPscript?
Any possible solutions will help.
Please help this is very important and very urgent.
Best Regards,
John
Edited by: Alvaro Tejada Galindo on Mar 17, 2008 4:06 PMHi,
if you want to output a long string in a smartform putting it as &name& in a text will not help you. For printing such an information you use temp include texts you create an delete on the fly while processing the SF.
To Do so:
- define GV_SUFFIX type char2, GS_HEAD a structure with fields TDOBJECT type TDOBJECT, TDNAME type TDOBNAME, TDID type TDID, TDSPRAS type SPRAS
- define a code step importing the text, the language and the GV_SUFFIX, in the coding , you convert the string to itf and than use function module SAVE_TEXT to save the include text and put the information into GS_HEAD
- define an include text where you put out the newly created include text
- define a code step to delete the temporary text with function module DELETE_TEXT
Best Regards
Roman Weise -
SMARTFORMS field in STRING format
Hi!
<b>Is there limitations when using data type STRING in connection with SMARTFORMS?</b>
I'm trying to send a text field (581 digit long) into an XML file.
It is declarated: AVVTEXT <i>(text field, can be 0-2004 digit)</i> data type <b>STRING</b>.
The field is cut of at digit 256-259.
Regards Christinau can pass string but the limitation in SAP is 255....So, if it is more than 255 then u need to split the string into 2 lines and so..on...u need to split at every 355 characters.
-
Java bean field naming convention
I posted this under the Desktop -> JavaBeans, but wasn't sure if that was the right place, so I'm posting here to:
I have an object with a field "iATANumber".
I have getters and setters like this:
public String getIATANumber() {
return iATANumber;
public void setIATANumber(String iATANumber) {
this.iATANumber = iATANumber;
}In my jsp I'm trying to print it out like this:
${foo.iATANumber}and it doesn't work. I just get nothing, while all the other fields on my object work, and it prints out the number I want if I call the getter from a scriptlet.
Everything works great though if I change the field to iataNumber (note the change in case), and change the getter, setters and jstl to match. Then the jsp works fine.
The getter and setter names for iATANumber were generated useing IntelliJ, are they not right, and that's why ${foo.iATANumber} won't work?
Thanks in advance.The JavaBeans naming convention falls on its face if a property starts with a lower-case letter followed by an upper-case letter. The commonest way to find this problem is to call your property "eMailAddress" but you have found a different way.
You also found a solution. Workarounds are the best you can do here. -
Hi Experts,
whats the usage of fieldsymbols is smartforms?can any one explain why will use and how it help full in smartforms?
Thanks ,Hi,
Field Symbols in smartforms can declare in Global definitions .Under the Field Symbol Tab.
The main use of Field Symbol is Like pointers in C.
If we want to modify the table or variable or assiging to the total table or u want to create dynamic internal table or for macros.
Regards,
Shiva. -
Field Naming convention..
Hi,
I recently purchased Acrobat Designer 7.0 and found that the fields are named in the following convnetion - F[0].P1[0].A1[0] while I named the field as A1 only. I am using a third party driver to read the PDF file to set values and it is not able to recognize the field names in this format. Is there any way to create fields with names as just A1 instead of A.B.A1?
Thanks,
Arun.The naming (change) is because you are now working in the XML-based form data model that Designer 7.0 provides. There is additional XFA and migration information at:
http://partners.adobe.com/public/developer/tips/index.html
and
http://partners.adobe.com/public/developer/tips/topic_tip2.html -
Post Author: Cafewai
CA Forum: Formula
Iam trying to understand if there is a way to build a formula that allows me to reference a data field based on the content of another data field.
Because there are many values to the source field, it should be formula based as opposed to explicit references.
I can define a stringvar that constructs the name of the field I'd like to display from another field.
eg stringvar stock_at_location:="{tablename2."{tablename1.Location}"}"
but I don't know how I can go from a string (that contains the filed name) to the content of the field.
(Yes, I am a beginner!)Post Author: Cafewai
CA Forum: Formula
{Table1.Location} has numerous values [North, South, East, West...etc]
I want to know the content of a corresponding field from Table2 which is suitably named eg {Table2.North} ..... {Table2.West}
As there are many locations, I want to formulate the display/print the field's content.
So if {Table1.Location} were East then I want to fetch and display the value in {Table2.East}.
Thanks and regards -
Field symbol to dynamic variable field naming
Hello all,
I am not used to field-symbols and I don't know if it's possible to do.
I need to create a node for a ALV Tree and the hierarchy changes 9 times. So, instead of create 9 loops I want to create a Perform and use the field as parameter.
case 'X'.
when s1.
perform tree_nodes_s1 using 'BEZEI' 'NAME1' 'VTEXT'.
when s2.
perform tree_nodes_s2 using 'BEZEI' 'VTEXT' ''.
In the Form
loop at it_data into wa_data.
if l_field1 is not initial.
on change of field.
perform add_carrid_line using wa_data ''
changing l_carrid_key.
endon.
endif.
So, the field need to be wa_data-bezei or wa_data-name1 or wa_data-vtext etc.
I guess that I saw it on SAP code but I really don't know how to reproduce it.
Thanks,
AndréaHi Roland Spindler
I did that before and I thought that it was wrong because I got this same error message:
The field "<L_FIELD1>" specified under LIKE either has no type or a generic type. type.
Code
field-symbols: <l_field1> type any.
assign component param1 of structure wa_data to <l_field1>.
check sy-subrc = 0.
loop at it_data into wa_data.
if <l_field1> is not initial.
on change of <l_field1>.
perform add_carrid_line using wa_data ''
changing l_carrid_key.
endon.
endif.
Not sure if I can use it on 'on change of'.
do you know the right type to declare?
Thanks,
Andrea -
I have to supress one field named PAYMENT GURANTEE PROCEDURE
hi,
i am trying to supress the field called payment gurantee procedure in CMR through OBD2.
but
unfortunately i am not able to find the field in customer master data in OBD2 in the relevant accoutn group.
help me on this..
regards,
balajitHi,
Go to OBD2 tcode and then double click on the Sales Data that is present under the Field Status Section.
Now, under the select Grouop section double click the Billing option.
Then you see the field "Hedging and credit contr. area", in that select the option Supress.
Note to ensure double click the field "Hedging and credit contr. area", you will find the Payment Guarantee Procedure field.
Regards -
SmartForms field : How to print "PO number" on CREDIT MEMO
If i create a CREDIT MEMO REQUEST ( VA01 - Order Type: CR )
on the first screen, i have "PO Number"
( that is below "Sold-to party" "Ship-to party" )
How can i modify the CREDIT MEMO form in SMARTFORMS in order to print "PO Number" ?hi,
CALL FUNCTION 'ME_READ_PO_FOR_PRINTING'
EXPORTING
ix_nast = nast
ix_screen = ent_screen
IMPORTING
ex_retco = ent_retco
ex_nast = v_nast
doc = v_doc
CHANGING
cx_druvo = v_druvo
cx_from_memory = l_from_memory.
How can i get PO partner functions using FM ME_READ_PO_FOR_PRINTING
http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/tcode-me9f-user-exit-exit_saplmedruck_001-617362
thanks. -
can somebody explain me why this not working ?
variable1 = 1234567,12 . type currency.
i formated it in smartform output like: variable1(7.2RCT)&
but the output displayed is: *567,12
when i give the length like this: &variable1(9.2RCT)&
the it shifts to the *23567,12
this (7.2RCT) should mean, that number has 7 places before decimal point and 2 after isnt?Hi Martin,
The 7 stands for the total length of the ouput including a sign, not for the number of places before the decimal.
Regards,
John. -
Problem with Html field naming and java script
Java Script which references html fields uses the
notation "document.form[0].field". JATO generates field names which
include the page (view bean). A dot is placed between viewbean name and
field name(viewbean.field). However "document.form[0].viewbean.field"
doesn't work as a reference. I'm not a java script person. Am I
missing something?that's correct. You can use the below code for AJAX request.
<script type="text/javascript">
var httpObject = getHTTPObject();
//create XMLHttpRequest object
function getHTTPObject() {
var xmlhttp;
if (window.XMLHttpRequest) // if Mozilla, Safari etc
xmlhttp = new XMLHttpRequest();
else if (window.ActiveXObject){ // if IE
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
catch ( e ){
try{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
catch ( e ){}
return xmlhttp;
//define the function to send the request
function sendRequest(){
var currDesc = document.getElementById("description").value;
var URL = "manageMaintAction.do"; //action mapping in your struts-config
var queryString = "currDesc="+escape(currDesc); //get the currDesc value in your action class like request.getParameter("currDesc")
httpObject.open( "Post", URL, true );
httpObject.onreadystatechange = cbFn;
httpObject.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded");
httpObject.send(queryString);
//callback fn
function cbFn() {
if (httpObject.readyState == 4)
if (httpObject.status == 200)
var result = httpObject.responseText;
alert(result);
</script> -
Is there any field named Promo Code or Promotion or Assignment (BI related)
Hi All,
I need to search any database table field having description Promo Code or Promotion or Assignment. As we dont know anything else so if anyone know anything about the same , then please reply.
Regards,
Neha.Hi All,
I need to search any database table field having description Promo Code or Promotion or Assignment. As we dont know anything else so if anyone know anything about the same , then please reply.
Regards,
Neha.
Maybe you are looking for
-
Runtime error in Receiver determination
Hi All, While testing my configuration in ID, it shows an Runtime error message "Message is incomplete. No Sender found". Note: I testing for a File to Idoc Scenario. Regards, Nithiyanandam
-
Regarding new Reminder app in Mountain Lion: is there a way to sort reminders in due date order in the same fashion as you can in the iCloud version of Reminders?
-
DOUBTS FOR MIGRATION FROM 10.1.2 TO 10.1.3
Hi all, I have done an attempt to migrate a simple web app from 10.1.2 (using UIX technology) to 10.1.3; the migration seem ok, but at run-time appear the error in the browser: 500 Internal Server Error Cannot get request dispatcher for path /test.ui
-
Isight issues & finder problems
my macbook has been acting a little weird lately - i had issues getting it to shut down & restart over the weekend and then today when i turned it on the green light of my isight is on and i cant get it to turn off. if you open up an application like
-
Been using windows for a long time and just barely got my mac... i know in windows, once your done with the usb flash drive you can just pull it anytime. my question is, do i need to eject it for mac before disconnecting it? since eveytime i pull it