Form of address text - HR ABAP
Hi all,
I have a requirement to get the Form of address text(e.g. Mr. Ms, Miss) from infotype field Q0002-ANREX into my smartform. Please advice how can i do the same.
Thanks & Reagrds,
Preeti
please don't use Q struture lilke Q0002-ANREX ...
it is there in th intotpye table pa00002 there the fireld is <b>ANRED -> Form-of-Address Key</b> ..
For that the check table is <b>T522G</b> ... and see inthe table <b>T522T</b>
so with person no in t pa0002 table take ANDRED and GESCH filter it in the check table <b>T522G</b> and <b>T522T</b> with language key ... you will get you data ...
so <b>ATEXT ,ANRLT</b> ... this 2 field from table <b>T522T</b> are the actualy fields for your requirement ..
Girish
Similar Messages
-
How to change the text "form of address" while Create User in EP6.0??
Hi All,
We are using NDS 2.0.9 & EP6.0.
I have the following doubts:
1) I have to change the text <b>Form of Address</b> which comes when we <b>Create User</b> in EP.
Can any1 please let me know how to change that text? Is there any .par file? What is the name of .par file (if any) which is used to <b>Create User</b> in EP6.0??
2) I am getting the value of this <b>form of address</b> by <b>request.getSalutation()</b> in PDK, but this value is coming in the <b>Welcome Message</b> in the masthead. I tried to change the masthead by changing the corresponding code, but i am getting a runtime error. Is there any other method of making this salutation value <b>NOT</b> appear in the masthead welcome message?
Please help me in this regard. Thanks in Advance. Bye.
<b>Regards,
Sai Krishna.</b>Hi Sai Krishna,
within HeadiView.jsp, you'll find this code fragment:
if(salutation != null) {
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, salutation}).toString();
} else {
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
Just delete the first part and always use the second:
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
This will delete the salutation without errors
Hope it helps
Detlev
PS: For both solutions, 1. and 2., think of it: These workarounds will be overwritten witch patches / maybe hotfixes. -
HOW TO translate the address text in smartforms ?
hi!
I want to translate the address text from english description to Chinese description in smartforms, could you tell me the detail process about it, I need your help .
thanks in advance!
regards
yi zhuTo translate text from English to chinese use http://babelfish.altavista.com/
Then after translation go to SE63
on the top menu - click on translation - ABAP objects - Other long texts - Forms - SSF Form and styles - SAP Smartforms.
Open your address module and paste the chinese translation and activate. -
Address text name in Sales Organisation
While defining Sales Organisation there is field Address text name can anybody give some details of it?
regards
RajeshDear Rajesh
TXNAM_ADR Text name for form text module short address
TXNAM_KOP Text name for form text module letter header
TXNAM_FUS Text name for formula text module footer lines
TXNAM_GRU Text name for form text module: Greeting
This fields are used in case in Output you want text object to be used based on sales organisation
for e.g. you can put
ADRS_SEND
ADRS_HEAD
ADRS_FOOT
ADRS_SIGN
Regards
Jitesh -
Creating a long text using ABAP code.. fm SAVE_TEXT
When you create an order via IW31 one of the options is to click on the text button and create a long text. I am basically trying to mimic this action from within my ABAP code.
The text id details are as follows:
Text Name 500000015000046 which is (5000000 + order number)
Language EN
Text ID KOPF Order header text
Text Object AUFK Order text
If i manually create the text within the transaction i am then able to view and update it via function modules READ_TEXT and SAVE_TEXT. But if the text has not already been created READ_TEXT obviously returns nothing as it does not exist and SAVE_TEXT does not seem to created it!
Anyone know how i would go about creating this text using ABAP code?
Hope this make a bit of sense
Thanks in advance
MartI have implemented the code as i think it should be. See below, can any see what is wrong. If i add init_text it makes no difference and adding the commit_text just makes it hang
DATA: IT_TEXTS type standard table of TLINE,
wa_texts like line of it_texts,
wa_txtheader type THEAD.
wa_txtheader-TDID = 'KOPF'.
wa_txtheader-TDSPRAS = 'EN'.
wa_txtheader-TDNAME = '500000015000056'.
wa_txtheader-TDOBJECT = 'AUFK'.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = wa_txtheader
INSERT = 'X'
SAVEMODE_DIRECT = ' '
OWNER_SPECIFIED = 'X'
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = IT_TEXTS
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
Thanks,In the preOpen event of the second dropdown list you put something like (in formCalc):
if (dropdown1 == 1) then
$.clearItems()
$.setItems("Year, 2 Year, 3 Year")
elseif (dropdown1 == 2) then
$.clearItems()
$.setItems("3 Year, 4 Year")
endif -
Form of address key is not defined - Message AM117-VL02N
I have defined a COA for the customer when there is a PGI for that customer.
When I do the PGI i am getting update termination error - Form of address key is not defined.
As per the message it says that TSAD3T - TITLE is not maintained. But I see the customer master it is maintained as 'Company'.
Also when I remove the Title using XD02 also i am getting the same message.
Please let me know what settings and changes i need to do for PGI to happen.Hi,
check in customizing what form has been assigned and check the form. It sound like somebody created a form (SAPscript, Smartforms, Adobe Forms) for the billing document and there´s no window on it for the address or it has another name. -
Help needed regarding 'Address Text' in Smartforms
hi guys,
To display the address text in Smartforms, we include an 'Address' component and provide the respective address number to it. I just want to know which is the table where the complete address text corresponding to the address number is saved. I have checked the 'ADRC' & 'ADRCT' tables but in vain. Help me out.
With regards,
Sandeep Panja.Hi Panja,
In smartform u have to pass the address no and it's give the full address by FM ADDRESS_INTO_PRINTFORM .plz check this fm and for address check the master table like vendor the table is LFA1 to get the address for it
tarak -
PDF forms - underlined variable text
Hello Everyone,
I am trying to create a PDF form with variable text fields in Acrobat 9 Pro and I see there are very limited possibilities in the text formatting. I can specify font, size, color, border, but there is missing any option how to switch on the underlining of the text. Is there any way how to achieve this?
Thanks in advance for any hint.
Regards,
JanYou can add some JavaScript to your script that imports the data from the database and format the inserted text by using the span object to apply the underline property. The following ecample is from the Acrobat JavaScript API Reference.
Example
Write rich text to a rich text field using various properties. See the Field object
richValue property for more details and examples.
var f = this.getField("myRichField");
// Create an array to hold the Span objects
var spans = new Array();
// Each Span object is an object, so we must create one
spans[0] = new Object();
spans[0].alignment = "center";
spans[0].text = "The answer is x";
spans[1] = new Object();
spans[1].text = "2/3";
spans[1].superscript = true;
spans[2] = new Object();
spans[2].superscript = false;
spans[2].text = ". ";
spans[3] = new Object();
spans[3].underline = true;
spans[3].text = "Did you get it right?";
spans[3].fontStyle = "italic";
spans[3].textColor = color.red;
// Now assign our array of Span objects to the field using // field.richValue
f.richValue = spans; -
How to convert a Form to a Text file and XML file?
Hi:
I want to convert a Form to a Text file and XML file,but I don't know how convert?
Please help!
Oracle Form Builder V10.1.2.0.2
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Thanks in advance!..or follow the steps in Mtalink note; Doc ID: Note:196924.1
Forms XML Conversion Feature ( Converting Forms To XML) -
Exiting the form when a text item has focus
I am a beginner, beginner using developer/2000.
I made a form with some text items that are linked to the
database.
When one of the text items has focus and I click the push button
that i created to exit the form, I get the message FIELD MUST BE
ENTERED.
I want to exit the form regardless of whether the cursor is
currently in any text items.
I hope this makes sense.
Thanks, fredWhat you probably want to do as well is set mouse navigate to
FALSE on the text field.
Regards
Grant Ronald
Forms Product Management -
Part II: Adobe Print Forms with Web Dynpro for ABAP. -Practice issue
Hi,
I am practicing Thomas jung Tutorial on Adobe forms [Part II: Adobe Print Forms with Web Dynpro for ABAP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/a3e2f018-0b01-0010-c7a8-89deb6e63e97].
I am trying to complete this and looks like this tutorial in not complete.Anybody can help me in completing this until we get a preview of adobe form?
FYI.. Ic ompleted evevrything in tutorial and I am waiting to complete and test.
Rgds
VaraThomas,
Here is where I am stuck.
Wrote this code in ONACTIONSEARCH.I am getting my entries in internal table ISFLIGHT.
but unable to bind it to adobe form and show in the form.
* SELECT statement
clear isflight. refresh isflight.
select * into corresponding fields of table isflight from sflight
where carrid = ls_data_selections.
* navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
* navigate from <ADOBE_DATA> to <SFLIGHT> via lead selection
lo_nd_sflight = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_sflight ).
lo_nd_sflight->bind_table( new_items = isflight set_initial_elements = abap_true ).
Error is Access via 'NULL' object reference not possible.
FYI.. I just dragged and dropped 2 elements from DATA to Adobe form.what are the other changes do i need to do in form gui elements so that it shows the internal table contents?
this would really help me..
Rgds
vara
Edited by: Vara K on Jan 21, 2009 5:51 PM -
VF02 - Error in Outbound Idoc - "Form of Address Key is not defined"
Hi,
While processing the outbound idoc in VF02, i am getting an error "Form of Address Key is not defined".
Our system has been recently patched.
While processing the idocs in VF02 (for the invoices created earlier to the patching date), there is no error & the Idoc gets created.
I am not sure why i am gettting the above error now (that is after patching).
Please let me know if i am missing something here / is it because of the patching.
thanks & regards
NarainCheck Note 1002015 - RBT_ENH_VB7: Incorrect message display (AM010, AM117)
thanks
G. Lakshmipathi -
Hello there,
I am trying to add some entries to the form of address on a BSP page.
The list is populated with 'Ms' and 'Mr'
I need to add a few more i.e. 'Dr'. I can't find the database table that hold
these values. Can anyone help me??
Thanks
AndyTSAD3T and TSAD2
Edited by: Durairaj Athavan Raja on May 11, 2009 2:01 PM -
Muse form: scripture in text box disappears in the preview? What am I doing wrong?
Hello,
i did a simple form and added a view textfields. I turned off the labeling only to see the sample content in the text boxes. In Muse the letters in the text boxes are visible. In Muse preview and the preview at the browser the text is gone!? Why?
Thanks for your help.
pixelqueenThanks for the hint.
But this can not be the reason in my case. In this form there are text boxes in which the sample text is visible. Only in the following boxes the text disappears. But now I finally know what the dotted lines are
Maybe you are looking for
-
Repeated kernel panic on iMac late 2009
Dear all, A couple of weeks ago, my iMac 27" late 2009 started repeatedly crashing with a kernel panic. Thinking this might be hard-drive related, I brought my iMac for repair under the hard drive replacement programme. Which means I have a virtually
-
Managing a set of documents that require approval, for each project stage
Good day to all, I am new to SharePoint but I have dived in head first due to my job. The users I am dealing with need a solution where they can upload a specific set of named document types (example: project charter, site plan, schedule, costing app
-
The link Adobe sent me for downloading CS5 didn't work- and this is how they suggest I fix it
I just bought an iMac and wanted to transfer my CS5 to it. The new iMacs do not have disk drives. So, I'm trying to do it over the enternet. I called Adobe, and they sent me a link to download and told me to follow the instructions. I did. Nothing ha
-
Time Capsule dropping off network after only a few minutes?
Right, I've had a good look through the forums and found a few similar issues to mine but none that are exactly the same or provide any answers, so I'll give it a go and see if anyone has a clue what is going on because I'm stumped. I've got a new Ti
-
How can I reinstall Lion after putting in a new hard drive?
Hi, I recently had a new hard drive put on my imac27. When I rebooted it I noticed that the Apple store had set it back to Snow Leapard. How can I reinstall Lion without making a new purchase, Thanks.