How to pull the data using READ_TEXT
Hi,
I was trying to use the READ_TEXT function module to pull the data from the sales order, but i am not sure what are the values exactly i need to pass.
ID
LANGUAGE
NAME
OBJECT
Since the above parameters are mandatory to get the text from sales order ... can you please suggest me. We are using customized screen ... if user enteres the data in the long text field in the customized screen - it should be updated in the sales order... how can i achieve... can any one suggest me
regards
jaya
Hi,
In that text TC --> come to change mode >menu goto->header.
There you find all info.
aRs
Similar Messages
-
How to pull the data into smartform after designing layout?
how to pull the data into smartform after designing layout?
call the smartform in your Driver program and pass your output internal tables in the smartforms paramaters
Check the below Sample code.
FORM label_print.
DATA : g_fm_name TYPE rs38l_fnam,
g_output TYPE ssfcompop,
g_control TYPE ssfctrlop,
g_form TYPE tdsfname VALUE 'ZPRINT_LABELS',
g_dest TYPE rspopname,
g_printer TYPE rspoptype..
REFRESH : i_out[],i_qals[].
SELECT matnr maktx
INTO TABLE i_out
FROM makt
FOR ALL ENTRIES IN i_mseg
WHERE matnr = i_mseg-matnr
AND spras = sy-langu.
SELECT prueflos objnr ersteldat erstelzeit matnr revlv charg mengeneinh
INTO TABLE i_qals
FROM qals
FOR ALL ENTRIES IN i_mseg
WHERE matnr = i_mseg-matnr
AND charg = i_mseg-charg.
*FM to accept the device type and returns the short name of the output device
CALL FUNCTION 'EFG_GET_PRINTER'
EXPORTING
x_no_dialog = ' '
x_obligatory = 'X'
IMPORTING
y_tddest = g_dest
EXCEPTIONS
cancelled = 1
failed = 2
OTHERS = 3.
*device type name for the output device
SELECT SINGLE patype "#EC CI_NOFIELD
FROM tsp03d
INTO g_printer
WHERE padest = g_dest.
*printer setting
g_control-no_dialog = 'X'.
g_output-tdarmod = '1'.
g_output-tdcopies = '001'.
g_output-tddest = g_dest.
g_output-tdprinter = g_printer.
g_output-tdnewid = 'X'.
g_output-tdimmed = 'X'.
CLEAR wa_mseg.
LOOP AT i_mseg INTO wa_mseg.
READ TABLE i_out INTO wa_out WITH KEY matnr = wa_mseg-matnr.
check for the status and filter the records
CLEAR : wa_qals.
LOOP AT i_qals INTO wa_qals WHERE matnr = wa_mseg-matnr
AND charg = wa_mseg-charg.
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
objnr = wa_qals-objnr
spras = sy-langu
IMPORTING
line = l_status
EXCEPTIONS
object_not_found = 1
OTHERS = 2.
IF l_status CS 'LTCA' OR l_status CS 'SKIP'.
DELETE i_qals.
ENDIF.
ENDLOOP.
SORT i_qals BY ersteldat DESCENDING erstelzeit DESCENDING.
IF i_qals IS INITIAL.
l_msg = text-002.
ELSE.
READ TABLE i_qals INTO wa_qals INDEX 1.
SELECT prueflos vbewertung
INTO TABLE i_qave
FROM qave
WHERE prueflos = wa_qals-prueflos
AND kzart = 'L'.
IF sy-subrc <> 0.
l_msg1 = text-003.
ENDIF.
SORT i_qave.
CLEAR : wa_qave.
IF NOT i_qave IS INITIAL.
READ TABLE i_qave INTO wa_qave INDEX 1.
IF wa_qave-vbewertung = 'A'.
l_msg = text-002.
ELSEIF wa_qave-vbewertung = 'R'.
l_msg1 = text-003.
ELSE.
l_msg1 = text-003.
ENDIF.
ENDIF.
ENDIF.
CLEAR : wa_ser03.
READ TABLE i_ser03 INTO wa_ser03 WITH KEY mblnr = wa_mseg-mblnr.
*Calling Smartform
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = g_form
IMPORTING
fm_name = g_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
LOOP AT i_objk INTO wa_objk WHERE obknr = wa_ser03-obknr.
*Calling FM generated from the smartform
DATA : l_date(10) TYPE c,
l_date1(10) TYPE c,
l_date2(10) TYPE c,
l_date3(10) TYPE c,
l_hyphen(1) TYPE c VALUE '-'.
CLEAR : l_date,l_date1,l_date2,l_date3.
l_date1 = wa_mseg-vfdat+0(4).
l_date2 = wa_mseg-vfdat+4(2).
l_date3 = wa_mseg-vfdat+6(2).
CONCATENATE l_date1 l_hyphen l_date2 l_hyphen l_date3 INTO l_date.
CALL FUNCTION g_fm_name
EXPORTING
control_parameters = g_control
output_options = g_output
user_settings = ' '
g_matnr = wa_mseg-matnr
g_mat_text = wa_out-maktx
g_batch = wa_mseg-charg
g_rev = wa_qals-revlv
g_edate = l_date
g_lot = wa_qals-prueflos
g_qty = wa_mseg-erfmg
g_uom = wa_mseg-erfme
g_serial = wa_objk-sernr
g_smsg = l_msg
g_fmsg = l_msg1
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
CLEAR g_output-tdnewid.
ENDLOOP.
IF sy-subrc <> 0.
CLEAR : l_date,l_date1,l_date2,l_date3.
l_date1 = wa_mseg-vfdat+0(4).
l_date2 = wa_mseg-vfdat+4(2).
l_date3 = wa_mseg-vfdat+6(2).
CONCATENATE l_date1 l_hyphen l_date2 l_hyphen l_date3 INTO l_date.
CALL FUNCTION g_fm_name
EXPORTING
control_parameters = g_control
output_options = g_output
user_settings = ' '
g_matnr = wa_mseg-matnr
g_mat_text = wa_out-maktx
g_batch = wa_mseg-charg
g_rev = wa_qals-revlv
g_edate = l_date
g_lot = wa_qals-prueflos
g_qty = wa_mseg-erfmg
g_uom = wa_mseg-erfme
g_serial = wa_objk-sernr
g_smsg = l_msg
g_fmsg = l_msg1
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
CLEAR g_output-tdnewid.
ENDIF.
ENDLOOP.
IF sy-subrc = 0.
MESSAGE i000(zm).
ENDIF.
ENDFORM. " label_print -
How to insert the data using matrix
Hi
All how to insert the data using matrix feild
plz help me
thanks
LoyHi Loy,
The best way to fill an entire matrix is to use a DBDatasource, here is some sample code:
Dim oForm As SAPbouiCOM.Form
oForm = SBO_App.Forms.Item("YourFormTypeID")
'1. Add a DBDataSource to the form
oForm.DataSources.DBDataSources.Add("OUSR")
Dim oColumnDBS As SAPbouiCOM.Column
Dim oColumnUDS As SAPbouiCOM.Column
Dim i As Integer
Dim GenEdt As SAPbouiCOM.EditText
Dim oMatrix As SAPbouiCOM.Matrix
Dim oColumns As SAPbouiCOM.Columns
Dim oDBDataSource As SAPbouiCOM.DBDataSource
oMatrix = oForm.Items.Item("7").Specific
oColumns = oMatrix.Columns
'2. DBDataSource: Binding a field / alias of the table to a column
oColumnDBS = oColumns.Item("V_1")
oColumnDBS.DataBind.SetBound(True, "OUSR", "U_NAME")
'3. getting the data sources bound to the form
oDBDataSource = oForm.DataSources.DBDataSources.Item("OUSR")
oMatrix.Clear()
' Querying the DB Data source
oDBDataSource.Query()
' Adding the data to the matrix
oMatrix.LoadFromDataSource()
When you want to fill a specific field use :
GenEdt = oMatrix.Columns.Item("V_2").Cells.Item(1).Specific
GenEdt.String = "Hello" -
How to increment the date using sequence?
how to increment the date using sequence?
01-jan-10
02-jan-10
30-jan-10794244 wrote:
how to increment the date using sequence?
01-jan-10
02-jan-10
30-jan-10This doesn't look like a task where a sequence is usefull.
A sequence is a number generator that guarantees that multiple sessions will all get a different number.
Even if the sequence is fetched for differnent users (=sessions) that the same time.
This in turn means that the value returned by the sequence will depend on actions done in other sessions.
Typical task: create a new unique primary key number. The number MUST be different in all sessions.
In your case I guess that the same logic should work regardless of the session that executes it. So you need a "number generator" that works indepented from other session values. There are several ways to create such a numbered list.
The basic idea is to create a select statement that simply returns as many rows as you need. And then use ROWNUM as the number generator. Examples how to do this have already been given. LEVEL works also in hierarchical queries.
if my interpretation of your requirement is right, then all answers that really used a sequence seem to be wrong. Even if the output looks ok. At best they are just slow. To create new sequence values is a complex task and the database needs a little time for all the synchonization issues that come with it. At worst it will have gaps in the sequence because other sessions used the same value while the numbers were created.
Edited by: Sven W. on Sep 20, 2010 2:08 PM -
How to pull the date parameter to appear in the report template?
Hi Gurus, and Experts,
I need to pull the date parameter I selected in BIP to appear in my report template? How to code this in BIP?
Identifier are: dto and dfrom
date fromat string: MM-dd-yyyy
Regards,
JP
Edited by: user10955574 on Nov 10, 2010 2:38 AM
Edited by: user10955574 on Nov 10, 2010 2:39 AMDeclare the parameter in the template as
<?param@begin:param1?>
and use it as <?$param1?> -
How to load the data using a plsql table in ODI.
Hi All ,
Can anyone help me on this ?
We have a PLSQL procedure which returns a plsql table as out parameter.
We are supposed to load the data in to a file using this plsql table (Table type) in ODI.
Can this be done using ODI?
Regards,
Karthik+Hi,
We have one process with a ref cursor (Oracle) as a source and remote Oracle DB as a target. I ended up writing my own KM that populates a global temporary table from the cursor first and then transfers the data to target. If temporary table is an option for you, the rest is pretty easy.
Regards. -
How to insert the data using SyncoBo Object
Hi ,
please provide the code for inserting the data such tat my meRepMeta.xml
contains
one Top Row
4 Child Row
i done the coding for inserting top rowHi Saravana,
I am not sure about the query based on sync_key value but i am suggesting the code snippet that you can use to get the SyncBo by the SyncBoName and SyncKey.
public SyncBo getSyncBoInstance(String syncBoName, String syncKey) {
SyncBoDescriptor sbd = descriptorFacade.getSyncBoDescriptor(syncBoName);
try {
SyncBo sb = dataFacade.getSyncBo(sbd, syncKey);
return sb;
} catch (PersistenceException pex) {
System.out.println(pex.getMessage());
return null;
Based on the SyncBo value from the previous code snippet , you can obtain the rowCollection thru this method.
public RowCollection[] getRows()
throws PersistenceException
Ex:
sb.getRows()
Once you obtain the RowCollection for the particular syncBo,you can iterate thru rowCollection to get the row entities.
//To get the iterator of the Row entities in this RowCollection.
MeIterator it = rowList.iterator();
From each row entity you can get the field values by this method
public MeIterator getFieldValues()
I would suggest you to go through the API Doc which is clearly explained about all the methods which would be useful for you to do all sort of operation.
Regards,
Rajan -
Need help in knowing how to debug the data using the data monitor
Hi All,
I am working on the BW3.X system,
In my system instead of directly mapping the currency field in the update rule between DSO and the INFOCUBE, they have done it indirectly(I am unable to see that field getting mapped to any field), I want to know from which keyfigure it is fetching the currency unit.
How can I know from which keyfigure this currency unit field is fetching the unit type.
Please give me your valuable suggestion.
Thanks with regards,
vinay.
Edited by: vinaykumarhs on Apr 7, 2010 12:31 PM
Edited by: vinaykumarhs on Apr 7, 2010 12:32 PMyes, there are few fields for which unit calculations are being done through the routines, but there are still many for which it is directly mapped.
UP to dso, we have changed from its loclal currency to group currency, but for my infocubes, few records are taking group currency and still many are taking local currency type only. -
How to query the data using control item avoiding special characters
I had a small doubt in d2k.
i created a emp block
in that we r providing a control item for empno
i am using that control item for querying emp details based on that control item value.
if i am giving single quote in that control field it is querying for all the records in the emp block
i am providing the where clause like this
'empno like '||''''||:m_empno||''''
can u pls clear this doubt for me.
thanks in advance.one thing i forgot to add.
we shouldnt use ascii values for the special characters.
means we shouldnt use ascii values for restricting the sspecial characters.
pls get me the reply as soon as possible
thanq -
How to load the data from informatica into bw & how to report the data
Hi friends,
how to load the data from informatica into bw & how to report the data
using cognos.(i.e how to access the data in sap bw using cognos 8 BI suite).
Thanks,
madhu.Inorder to report BW data into Cognos you can extract data from using Open Hub to the DB table from which Cognos reads.
For BW informatic integration refer following docs:
http://www.aman.co.il/aman/pfd/DataInteg_BR.q103cd.pdf.pdf
http://h71028.www7.hp.com/enterprise/cache/3889-0-0-225-121.html
http://devnet.informatica.com/learning/ePresentations.asp
http://72.14.203.104/search?q=cache:C741L86Q19oJ:devnet.informatica.com/showcase/resources/Essbase_DataSheet.pdfinformaticapowerconnect(BI)&hl=en&gl=in&ct=clnk&cd=3
http://www.informatica.com/customers/utilities_energy/fpl_group.htm
http://www.informatica.com/solutions/resource_center/technote_sapbw_65241004.pdf#search=%22Informatica%20to%20Bw%22 -
Hi Guru's,
I would like to know ,How to pull the Data from Oracle tables to BW.
tell me scratch onwards...
regards
sekhar chHi...
In the admin workbench open the modeling tab and select Source Systems
In the right pane, right-click on Source Systems and select Create
A dialog requires you to define the type of source system. Select Database System
Enter a description for the source system
Once you accept the definition of the source system, you have to provide the following information, save and back out:
DBMS: ORA (Oracle)
User Name: Your UID
DB password: Your pwd
Conn. Info: sql*net string
Select Permanent connection if this is the case
If everything went well, you should see the new source system. When you do a right-click and ask for the DataSource overview, the first time you execute it you will be prompted to generate the application hierarchy
In order to test connectivity, right-click on the source system and select Select Database Tables
The following screen shows up. Click on the execute button
any tables or views that you have access through your UID
Select a table or view and click on Edit DataSource
To test data retrieval, click on Display table contents
Designate the application component, determine the type of DataSource (Text, Master data, or Transaction data) then generate the DataSource
with regards,
hari -
Unfortunately, I lost by an update all the apps on my iPad 2. Now I can not pull the data from the cloud to my iPad. How is this possible?
If you just installed iCloud does that mean you updated the iOS that's running on your iPad? If so, you'll want to restore all the programs you have from the backup you hopefully made.
Refer to these articles for help.
iTunes: Backing up, updating, and restoring iOS software.
If you don't want to use iCloud, simply don't activate it.
You can also download the programs again.
If you live in a country that supports re-downloading apps then you can re-download them. You can refer to this article for more help.
Downloading past purchases from the App Store and iTunes Store
What to know if your country supports downloading past purchases?
iTunes in the Cloud Availability -
How we will pull the data from Sap-Bi to sap-Bpc
Dear Experts,
Thanks for watching this thread.The whole data is available in SAP-BI.
My system environment is SAP-BPC MS7.5.
Now i want to load the data from Sap-Bi to Sap-Bpc ms.For that we need any Interfaces.
How we will pull the data from SAP-BI to BPC-MS for Master data and Transaction Data.
could you please provide me step by step guide.
Please guide me what should i do.
Regards,
Srinivasan.
Edited by: srinivasan.singari on Jul 22, 2011 8:20 AMTough Ask..
Because i have done dashboarding thru scritping (Dyanamic fashion tough) ..It is very good ..But when, coming to the one you asked i have the idea how it works but cannot really tell you wich would be better.
Each Route has its own limitations.That really depends on what exaclty your client is looking after..
So if you new to xcelsius and eager to learn ..I suggest you to give a go at all those..May be you can let me know wich is the best one..
1. QAWS,
2. Bex Query --> Crystal Reports --> Live office --> DashBoard.
3. Bex Query --> WebI --> Live Office --> Dashboard..
4. Webservices consuming BI Query,
5. Xcelsius SAP Netwever Connector.
But i suggest as of now use Xcelsius SAP netweaver Connnection... -
How to update the data in sqlserver table using procedure in biztalkserver
Hi,
Please can any one answer this below question
how to update the data in sqlserver table using procedure in biztalkserver
while am using executescalar,typedprocedure getting some warning
Warning:The adapter failed to transmit message going to send port "SendtoSql1" with URL "mssql://nal126//MU_Stage2?". It will be retransmitted after the retry interval specified for this Send Port. Details
Please send me asap....
Thanks...Hi Messip,
A detailed error would have helped us to answer you more appropriately but
You can follow the post which has step by step instructions, to understand how to use Stored Procedure:
http://tech-findings.blogspot.in/2013/07/insert-records-in-sql-server-using-wcf.html
Maheshkumar
S Tiwari|User
Page|Blog|BizTalk
2013: Inserting RawXML (Whole Incoming XML Message) in SQL database -
How to read the data from Excel file and Store in XML file using java
Hi All,
I got a problem with Excel file.
My problem is how to read the data from Excel file and Store in XML file using java excel api.
For getting the data from Excel file what are all the steps i need to follow to get the correct result.
Any body can send me the code (with java code ,Excel sheet) to this mail id : [email protected]
Thanks & Regards,
Sreenu,
[email protected],
india,If you want someone to do your work, please have the courtesy to provide payment.
http://www.rentacoder.com
Maybe you are looking for
-
Iphone 4.0.2 UPGRADE ON IPHONE 3GS
I have downloaded iphone 4.0.2 firmware on Itunes on my Imac. Considering all the problems this release seems to create, I decided not to upgrade the Iphone. I there a way to get rid of the release download on Itunes, to prevent any accidental unvolu
-
Installed Mavericks on MacBook Pro. Now my Contacts has no records. Contacts on my iPad are OK. How can I repopulate my MacBook Contents file from my iPad?. rbarge
-
Help please! TV@nywhere A/D NB
Hello. I just bought the tv@nywhere A/D nb tv card. I've installed it properly on my laptop and i have some serious problems. Well the only thing that works is the fm radio. When i try anything else the dvb application crashes. Also when i try to use
-
Weird exception: Cannot instantiate non-persistent class: java.util.Map
java.lang.UnsupportedOperationException: Cannot instantiate non-persistent class: java.util.Map at com.sleepycat.persist.impl.NonPersistentFormat.newInstance(NonPersistentFormat.java:45) at com.sleepycat.persist.impl.PersistEntityBinding.re
-
I just purchased a Western Digital 1TB drive (which I assume is made up of 2 500GB drives?) and am having troubles formatting it for my Mac. It came formatted as MS-DOS I believe, and when I went to initialize it as MacOS Extended Journaled in Disk U