How to Send Values from READ_TEXT to User exit
Hi Friends.,
I need to Read Values from READ_TEXT FM and send those values to User exit ( Exit_SAPLRSAP_001 for ZSALES_2LIS_11_VAITM ) Datasource,
I'm Getting one Indicator value ( values are like Y N 0 ) from READ_TEXT FM
and i have to make use of this in Extraction Part
can anyone help me out in ABAP coding to get these values from READ_TEXT FM to User exit
Regards
Sridhar.
Hi,
if you open the FM in se37,you will find the 'Function module documentation' button. click on it and try to see what this function module is about.
i am attaching a sample code to read the text of a penalty inforamion field.
DATA: T_LINE_T LIKE TLINE OCCURS 0 WITH HEADER LINE.
DATA: S_THEAD LIKE THEAD.
DATA: T_LINE_H LIKE T_LINE_T OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'K01' "Valid values for the text ID are defined in table TTXID.
LANGUAGE = SY-LANGU
NAME = LV_SO "here i am passing Sales order no
OBJECT = 'EKPO' "The text object is part of the text key and assigns the text module to a specific application object. Valid text objects are defined in table TTXOB.
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER = S_THEAD
TABLES
LINES = T_LINE_T
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC = 0.
READ TABLE T_LINE_T INTO T_LINE_H INDEX 1.
Storing the value in the structure.
E_T_DATA-PENALTY = T_Line_H-TDLINE.
ENDIF.
Thanks.
Similar Messages
-
How to send values from Acquire Input data through Xbee
Hi,
I've initialzed my joypad- Zebronics ZEBST50JP and can read data from Acquire Input Data. I've seen that button work with Boolean Logic(True or False) and Arrow keys work with axis logic(32767 to -32768).
Now all i need to know is, How to send these values through Xbee(Connected to PC using USB Adapter) to another Xbee connected to an Arduino (with Servo motors)
Thanks in AdvanceNow i have Intialized my joystick.. But still have confusion with sending to XBee Pro...
Here is my Post, which has the file
http://forums.ni.com/t5/LabVIEW/How-to-send-signals-through-XBee-connected-in-USB-port/m-p/2135382 -
How to pass data from smartform to user exits in appl form print workbench
Dear All,
I am using print workbench + smartforms to develop a form.
But facing problem with passing data from the smartform back to
the user exits includes in the application form of the print workbench.
For eg:- Supppose the case , passing the total number of pages 'sfsy-formapages' to the application form .
I tried with the export interface of the smartform, still it doesn't works!
Any suggestions/solutions
Thanks
santhvHi Prashanti,
Thank you very much...
Using EXPORT/IMPORT , I am able to pass the data.
But I would like to know whether it is the final solution.
As there is export interface is available for smartform....
why it is not possible to get back the data in Application form.
Please confirm, so that I can close the post.
Anyway thank you once again....
Regards,
santhv -
How to send values from a "Report Column" instead of a "Page Item" ?
Hi there,
Here's my case: Two pages A and B.
Page A is used to view each employee from a selected department.
Page B is used to created/modify employees.
I have a create button on page A which redirect to page B.
By default, page B is blank (as of course we have to fill the blanks to create a new employee).
However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.
I'm a bit lost cause I don't know how to transfer/send this value to the second page.
Do you have any clue ?
Thanks again for your time !
BR
UlrichUlrich,
Maybe I have misunderstood your requirements, from those I assumed that Page 4 was already being populated with a Department ID. So my plan was to look-up the Manager ID via the known Department ID
Here's my case: Two pages A and B.Page A is used to view each employee from a selected department.
Page B is used to created/modify employees.
I have a create button on page A which redirect to page B.
By default, page B is blank (as of course we have to fill the blanks to create a new employee).
However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.>
Have you verified that you have the :P4_DEPARTMENT_ID in session?
Does your SQL run in SQL Commands when provided a Department ID?
Have you tried altering when the Computation fires? I recommended to start with After Regions, try some other firing points.
Jeff -
How to send value from servlet to midlet?
I need to display value in textbox in emulator.
If i am creating textbox in servlet it wont display textbox
but it displays content available in out.println (html tags).
ThanksI�m king of Java, i have fixed it.
//Nisse -
How to send an email to external user (offline form) from se38
Hi all
how to send an email to external user (offline form) from se38 and upload the same from recipent.
we have sent mail using scripts and smartforms but couldnt do here. It will be helpful if you can give us any sample code
regards
mohammedHi,
Have a look at this thread [Re: Sending PDF forms (created using SFP) as Email Attachment] i explain all the solution with a sample code .
Hope it's help you
regards -
IDOC :: how to send data from Custom Infotype in SAP HR to third party
Hi,
I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
Please help me in doing it.
I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
ZTALENT Talent Management
5 E1PLOGI Header for an HR Object (Master Data or Organizational Data)
5 E1PITYP HR: Transported Infotypes and Subtypes for an Object
ZPUSER User base Data File
ZPERSON Personal Information File Segment
ZPOST Position File
ZOPE Overall Performance
ZPWORK Outside Work Experience
ZPEDUC Education Details of Employee
E1P0000 HR: HR Master Record Infotype 0000 (Actions)
E1P0001 HR: HR Master Record Infotype 0001 (Org. Assignment)
E1P0002 HR: HR Master Record Infotype 0002 (Personal Data)
E1P0016 HR Master Record: Infotype 0016 (Contract Elements)
E1P0022 HR Master Record: Infotype 0022 (Education)
E1P0023 HR Master Record: Infotype 0023 (Other/Previous Employers)
E1P0041 HR Master Record: Infotype 0041 (Date Specifications)
E1P0105 HR: HR Master Record Infotype 0105 (Communications)
ZE1P9020
ZPLANG Language Details
ZACTION Actions Changes
Regards,
KrishnaHello Shankar,
Technically TEMSE files are read by calling the following 3 function modules in sequence,
1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
2) RSTS_READ : read the object
3) RSTS_CLOSE: close the object
Regards,
Rajesh -
How to send sms from iPad via iphone
How to send sms from iPad via iphone?
You don't easily.
The pad, with I message turned on, will send text like messages to any other ios5 user that has I message turned on.
The pad is not a phone, and does not have the radio to send 'real' SMS messages, which use the phone channel.
There are a few apps in the store that will convert messages to SMS, for use with non apple folks. Check out the app store. Search SMS. -
How to send data from internal table to the shared folder in ABAP
Hi experts,
My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is "
xxx\y\z....".
I do not have any idea on how to send data from internal table to the shared folder path.
can anybody please help me out how to do this?
Thanks & Regards
Sireesha.Where that folder is located, its on presentation server i.e. desktop or application server.
If its on presentation server, use FM GUI_UPLOAD.
If its on application server, then use DATASET functions. Have a look at below link.
[File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
I hope it helps.
Thanks,
Vibha
Please mark all the useful answers -
How to retrieve value from xml file
hi all,
can somebody pls tell me how to retrieve value from xml file using SAXParser.
I want to retrieve value of only one tag and have to perform some validation with that value.
it's urgent .
pls help me out
thnx in adv.
rituhi shanu,
the pbm is solved, now i m able to access XXX no. in action class & i m able to validate it. The only thing which i want to know is it ok to declare static ArrayList as i have done in this code. i mean will it affect the performance or functionality of the system.
pls have a look at the following code snippet.
public class XMLValidator {
static ArrayList strXXX = new ArrayList();
public void validate(){
factory.setValidating(true);
parser = factory.newSAXParser();
//all factory code is here only
parser.parse(xmlURI, new XMLErrorHandler());
public void setXXX(String pstrXXX){
strUpn.add(pstrXXX);
public ArrayList getXXX(){
return strXXX;
class XMLErrorHandler extends DefaultHandler {
String tagName = "";
String tagValue = "";
String applicationRefNo = "";
String XXXValue ="";
String XXXNo = "";
XMLValidator objXmlValidator = new XMLValidator();
public void startElement(String uri, String name, String qName, Attributes atts) {
tagName = qName;
public void characters(char ch[], int start, int length) {
if ("Reference".equals(tagName)) {
tagValue = new String(ch, start, length).trim();
if (tagValue.length() > 0) {
RefNo = new String(ch, start, length);
if ("XXX".equals(tagName)) {
XXXValue = new String(ch, start, length).trim();
if (XXXValue.length() > 0) {
XXXNo = new String(ch, start, length);
public void endElement(String uri, String localName, String qName) throws SAXException {
if(qName.equalsIgnoreCase("XXX")) {
objXmlValidator.setXXX(XXXNo);
thnx & Regards,
ritu -
How to get value from list item
Hi all,
How to get value from list item?
I have a problem with the List Item object
in the Oracle forms.
How can I retrieve the selected item from
a list ?
I didn't find any function like 'list.GET_
SELECTED_ITEM()'...
thanks
BalaHello,
You get the value as for any other Forms item:
:value := :block.list_tem ;Francois -
I have iphone 3gs, how to send song from my computer?
i have iphone 3gs,
how to send song from my computer in iphoneYou sync it or use iTunes Match.
-
How to send SMS from a servlet to a mobile phone
How to send SMS from a servlet to a mobile phone what are the things i have to do.......
very urgent..Hi, please read this:
http://forum.java.sun.com/thread.jspa?threadID=345296&messageID=2608297
Found on the very forum with the search function ;) -
How to send music from a ipodtouch to another with the bluetooth??
how to send music from a ipodtouch to another with the bluetooth??
There is no way you can do that. You should either transfer the music to the phone and play it from there, or you should connect the speaker to the computer itself (provided it is Bluetooth speaker).
Ericsson T10i -> Nokia 7110 -> Siemens C45, C55, M55, M65 -> Nokia 6131, N73, N82 -> HTC Wildfire, Desire HD -> Nokia Lumia 800 -> HTC Desire X -> Lumia 820 -> Sony Xperia SP -> Lumia 925 + Sennheiser CX 500
If I've helped, use the Kudos button to thank -
How to send IDocs from a non-SAP system to a SAP system
Hi everyone i am new to SAP R/3 System.
Currently i am required to send IDocs from a non-SAP system to a SAP R/3 System.
There is a guide on Cost-Effective and Quick Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface. But its from a SAP system to a non-SAP system and i am able to do that.
Is there any step by step guide where they teaches you how to send IDocs from a non-SAP system to SAP system via similar method?
Thank You!Hi,
I hope this link may help you......
http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r1/index.jsp?topic=/com.ibm.swg.im.iis.ds.entpak.sapr3.use.doc/topics/c_pack_r3_Introduction.html
Maybe you are looking for
-
Why is video so choppy in Firefox when Chrome on the same machine is fine
For a number of years now video and firefox are not 2 words I would use in the same sentence. I have had to install Chrome for 2 purposes, one to allow access to a corporate gmail account and the other reason is to view any type of web based video (y
-
IPod with touch wheel 10GB problem with downloaded audiobooks
Hi, I might have better luck getting my question answered in this forum. I downloaded some audiobooks from iTunes onto my iMac with no problem. The problem arose when I updated my 10GB iPod with touch wheel (yes, a Jurassic age model from an era when
-
What Generation is my Ipod 160GB silver
I need to know what it is so i can sell it Thanks Links to pics to help would be nice too
-
Hello - I installed and configured asmlib on Linux RH 5... I am getting the following error when running the oracleasm command "createdisk": Default user to own the driver interface [oracle]: Default group to own the driver interface [dba]: Start Ora
-
Corrupted Files in Some Folders?
All of a sudden, many of the files on my directory are corrupted (?). When I open them I get a error message. For example, attempting to open a JPEG in preview gives... The file "DSC00399.JPG" could not be opened. It may be damaged or use a file form