How to convert the code from 8.2 to 7.1
Hello friends
I have to convert the one vi from 8.2 to 7.1 Version.How to convert this code.
Jayavel
Hello Friends
i attached the code in 8.2 version.Convert this code into 7.1
Jayavel
Attachments:
FreenrunTest.vi 1456 KB
Similar Messages
-
Does anyone know how to convert the output from the standard report to xml?
Does anyone know how to convert the output from the standard SAP report to xml?
since it a standard report which you cannot modify you can only do the following.
submit report exporting list to memory
then
list from memory and then
use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list . -
Converting the layout from OTF format into PDF
Hi Experts,
I am new to SMART FORMS,I don't have a clue about how to convert the layout from OTF format into PDF format and how to store it in Presentation server.
Please send me a Model program or step by step approach of the same.
Useful inputs will be rewarded higher points.
Thanks in Advance,
DharaniHi,
The steps are given below:-
1) First get the name of your generated function module for the smartforms.
2) Then call the generated function module.
3) Then use the FM:CONVERT_OTF' to convert into PDF as shown below:-
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = w_pdf_len
bin_file = w_pdf_xstring
TABLES
OTF = OUTPUT_DATA-OTFDATA
LINES = LT_LINES
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
others = 5.
Hope this is clear.
Pravat.
<i>*Reward points if helpful.</i> -
How to change the CODEPAGE from 1100 to 4110 in icwebclient
Hi ,
I have one issue with export to excel in ic webclient (CRM 5.0).
1. In ic webclient , there is a export to excel button.During export to excel, some special characters are not showing properly in the excel sheet. But in SAP GUI and IC WEB screen, there is no problem.
Example: in SAP GUI and iC WEB client screen, the Business partner name is Andrea Petõ . But in the excel sheet the BP bame is displaying as Andrea Petõ which is wrong
During debugging the code page is coming as 1100. In debugging if i change this code page to 4110 then its dsiplaying the correct chanracters.
So could any one please tell me how to convert the code page in 1100 to 4110 by coding in ic webclient...
Thanks
SudhansuHi Sudhansu,
as a matter of fact I faced a very similar issue back on CRM 5.1 with the excel download in .csv format. All our russian and polish characters were messed up. After some discussion who is responsible SAP decided that microsoft was...
Anyway: The problem was indeed the codepage conversion. Our CRM was on unicode but the downloads for some reason not.
To make the story short: After SAP telling us that it is not possible, I found those blogs by Thomas Jung dating about five years back: http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414800%29ID0069627650DB02207158622940509098End?blog=/pub/wlg/675
Suppose you will be able to solve your problem with this information.
Note: This forum is for WebClient UI. This is the UI technology of CRM 5.1 and after. There should be an extra ICWC forum somewhere.
cheers Carsten -
How to get the values from struct data type using java code..?
Hi ,
I am newer to java.
we are using oracle database.
How to get the data from struct data type using java code.
Thanks in Advance.
Regards,
kumarHi Rajeev,
To retrieve a FilterContainer you will need to traverse the report structure:
ReportStructure boReportStructure = boDocumentInstance.getStructure();
ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
FilterContainer boFilterContainer = null;
if (boReportContainer.hasFilter()) {
boFilterContainer = boReportContainer.getFilter();
} else {
boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
Hope this helps.
Regards,
Dan -
RE: Typekit...how do I move the code from an old account to my new account under the Creative Cloud? W/out (preferably) interuption to the website in question? Thanks!
Hi Jesse,
Please email us at [email protected] with:
- your current Typekit account email address
- the email address you use for Creative Cloud
We will be able to help you make this change without disrupting your current font serving.
Thank you,
-- liz -
How can i convert the data from mutiple-table to the other database(MSSQL)?
Dears,
How can i convert the data from mutiple-table to the other database such as MS-SQL?
I have a third party system based on MS-SQL 2000.
Now we want to make a integration between SAP R/3(Oracle) and SQL server.
When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
But i don't know which tools will help me reach the purpose. BAPI, LSMW, IDoc... ???
Would anybody tell me which way is better and how to do?
Thanks a lot!
Kevin WangHello Kevin,
The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier. -
How to retrieve the data from SAP-BAPI by using VB Code
Hi ,
I am new to BAPI.
V have created an application in Visual Basic with the following fields
EmpNo , EmpName, Addr1, Addr2, City and Phone (Only for Test)
We have written the code for SAVING the data into SAP. Already we have
constructed a table with the respective fields in SAP.
For that we ourself created our own BAPI Structure / Function Group /
Function Module/ Business Object - RELEASED related elements.
1)Established the connection successfully.
2)Stored the data into SAP Successfully and v r in need of
3)HOW TO RETRIEVE THE DATA FROM SAP (USING GETLIST.....GETDETAIL....)
Following is the code :
'BAPI Structure : ZBAPIEMP
'Function Group : ZBAPIEMP
'Function Module : ZBAPI_EMP_CREATEFROMDATA
'Business Object : ZBAPIEMP
'Function Module : ZBAPI_EMP_GETLIST
Dim bapictrl As Object
Dim oconnection As Object
Dim boEmp As Object
Dim oZEmp_Header As Object
Dim oImpStruct As Object
Dim oExpStruct As Object
Dim oreturn As Object
Dim x As String
Private Sub Form_Load()
Set bapictrl = CreateObject("SAP.BAPI.1")
Set oconnection = bapictrl.Connection
oconnection.logon
Set boEmp = bapictrl.GetSAPObject("ZBAPIEMP")
Set oZEmp_Header = bapictrl.DimAs(boEmp, "CreateFromData", "EmployeeHeader")
Set oImpStruct = bapictrl.DimAs(boEmp, "GetList", "EmployeeDispStruct")
End Sub
Private Sub cmdSave_Click()
oZEmp_Header.Value("EMPNO") = txtEmpNo.Text
oZEmp_Header.Value("EMPNAME") = txtEmpName.Text
oZEmp_Header.Value("ADDR1") = txtAddr1.Text
oZEmp_Header.Value("ADDR2") = txtAddr2.Text
oZEmp_Header.Value("CITY") = txtCity.Text
oZEmp_Header.Value("PHONE") = txtPhone.Text
boEmp.CreateFromData EmployeeHeader:=oZEmp_Header, Return:=oreturn
x = oreturn.Value("Message")
If x = "" Then
MsgBox "Transaction Completed!..."
Else
MsgBox x
End If
End Sub
Private Sub cmdView_Click()
End Sub
COULD ANYBODY GUIDE ME, HOW TO RETRIEVE THE DATA FROM BAPI, FOR THE WRITTEN CODE.I didn't seen any other answers but here's how it's been done previously in our organization for a custom BAPI. In this example, we give material and language to return the part description. It's not specific to your project but may give you ideas..
-Tim
Option Compare Database
Dim SAPLOGIN As Boolean
Dim FunctionCtrl As Object
Dim SapConnection As Object
Sub SAPLOGOUT()
On Error GoTo LogoutFehler
SapConnection.logoff
SAPLOGIN = False
Exit Sub
LogoutFehler:
If Err.Number = 91 Then
Exit Sub
Else
MsgBox Err.Description, vbCritical, "Fehler-Nr." & CStr(Err.Number) & " bei SAP-Logout"
End If
End Sub
Function SAPLOG() As Boolean
'Verbindungsobjekt setzen (Property von FunctionCtrl)
Set FunctionCtrl = CreateObject("SAP.Functions")
Set SapConnection = FunctionCtrl.Connection
'Logon mit Initialwerten
SapConnection.Client = "010"
SapConnection.Language = "EN"
SapConnection.System = "PR1"
SapConnection.SystemNumber = "00"
'SapConnection.Password = ""
SapConnection.GroupName = "PR1"
SapConnection.HostName = "168.9.25.120"
SapConnection.MessageServer = "168.9.25.120"
If SapConnection.Logon(0, False) <> True Then 'Logon mit Dialog
Set SapConnection = Nothing
DoCmd.Hourglass False
MsgBox "No connection to SAP R/3 !"
SAPLOGIN = False
SAPLOG = False
Exit Function
End If
SAPLOG = True
End Function
Function MatDescr(MatNr As String)
Dim func1 As Object
Dim row As Object, X As Integer, ErsteNr As String
Dim DatensatzZähler As Long
Dim RowField(1 To 50, 0 To 1) As String, RowLine As Long
If Not SAPLOGIN Then
If Not SAPLOG() Then
MsgBox "No connection to SAP !", 16
SAPLOGOUT
Exit Function
End If
End If
' Instanziieren des Function-Objektes
Set func1 = FunctionCtrl.Add("Z_BAPI_READ_MAKT")
' Export-Paramter definieren
func1.exports("MATNR") = MatNr
func1.exports("SPRAS") = "EN"
DoEvents
If Not func1.call Then
If func1.exception <> "" Then
MsgBox "Communication Error with RFC " & func1.exception
End If
DoCmd.Hourglass False
SAPLOGOUT
Exit Function
Else
MatDescr = func1.imports("MAKTX")
End If
If MatDescr = "" Then
MatDescr = "PART NO. NOT FOUND"
End If
End Function -
How to move the code and deploy the code from Dev environment to SIT.
Hi,
I have a requirement.
I want to move the components and deploy the code from dev Environment to SIT environment using Ant Script for AIA.
Before doing this is any pre-requisites required?
Can you please help on this,how to do?
Thanks in advance.Further to add to Anish Statement follow the steps to easily migrate the code to different environment.
Steps:
First log on to the EM Console and export the Composite Flow as a SAR file to a location.
In Jdeveloper create a project using the same name of a SAR file like - ProcessSalesorderFlow
import the project using the option import the composite using a SAR File.
After import , then click on the composite and then generate the config plan.
In config plan add all the url changes using the search and replace Tags.
And in case if you have a JCA Adapters the same has to be taken care in SIT environment why because during deployment a lookup happens and deployment fails if it dont find the JNDI Name.
Take the SAR file adn config plan seperately from JDeveloper.
Now open em console again and then deploy it using the config file and SAR file.
Thanks,
Venugopal SSS RAJA -
i got the unlock code from at&t but i don't know how to input the code on the phone to unlock the iphone 4s
There is no "unlock code". If you legitimately unlocked your iPhone via ATT, you will get an email detaling the unlock process, which involves connecting to iTunes. Follow the directions in the email.
If you used one of those web sites that promise an magical "unlock code" you probably got scammed. -
V5 How can I get the code from an itunes gifcard that got scraped off
How can I get the code from an itunes gifcard that got scraped off
Try Here > http://support.apple.com/kb/TS1292
If no joy...
Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
HT2534 What is iTune gift card? How can i get the code from this?
What's iTune gift card? How can i get the code from this?
"What's iTune gift card?"
It is a gift card like any other gift card. It is a card that contains credit for purchases in the itunes store.
"How can i get the code from this?"
Genreally there is a scratch of area under which the code lies. -
How do you convert the audio from a mpeg4 video file to mp3?
How do you convert the audio from a mpeg4 video file to mp3 format?
Probably the easiest way to do this is to download a free media convertor. Most will be able to convert video into audio files.
-
How to find the code in standard transaction from where event is trigered
I have a configuration in SWEC, to trigger an event, when a PR is change
For the Transaction ME52 (Change Purchase requisition), I want to go to the portion of the code, from where the function module for triggering the event is executed.
I have learnt that F.Ms for trigerring events programatically are
1. SWE_EVENT_CREATE.
2. SWE_EVENT_CREATE_IN_UPD_TASK.
3. SWE_EVENT_CREATE_FOR_UPD_TASK
So, I tried debugging the transaction ME52 by setting breakpoints at the following function modules.
1. SWE_EVENT_CREATE.
2. SWE_EVENT_CREATE_IN_UPD_TASK.
3. SWE_EVENT_CREATE_FOR_UPD_TASK.
But none of these were encountered.Hi Sameer,
Why not follow the reverse approach! First check the event getting triggered and then move backwards to the source of triggering the event.
Activate event trace from SWELS and then check the event getting triggered in SWEL.
I doubt if putting break-points in the FM would help...
Check if the event is being triggered by the BO method.
You can check the where-used list of the method and find out the source of the event triggering.
Hope this helps!
Regards,
Saumya -
How to convert the character value to currency/numeric
Hi,
See the sample code here
data: v_qtr_field(7).
data: w_low_limit like glt0-kslvt,
w_amount like glt0-hslvt.
w_low_limit = 02.
w_max_period = 3.
concatenate 'HSL' w_low_limit into v_qtr_field.
*comment
*I am looking for a field formation thru above code like in GLT0 table like HSL02,HSL03 *etc based on the value user entered in the selection *screen
DO w_max_period TIMES
VARYING w_amount FROM v_qtr_field NEXT v_qtr_field + 1.
t_trans_values-dmbe2 = t_trans_values-dmbe2 + w_amount.
ENDDO.
I am facing problem in the Do loop as it wont allows multiple data types. can you suggest me how to convert the v_qtr_field whose data type is character to currency?Hi,
Please check this code .
PERFORM write_currency
USING buf_anla-urwrt t_dates-waers t_txw_anla-urwrt.
* FORM WRITE_CURRENCY *
* convert currency amount to string *
* - use decimal point *
* - remove separator characters *
* --> P_AMOUNT *
* --> P_CURRENCY_UNIT *
* --> P_STRING *
FORM WRITE_CURRENCY
USING P_AMOUNT TYPE P
P_CURRENCY_UNIT LIKE TCURC-WAERS
P_STRING TYPE C.
DATA: DEC2POINT(2) TYPE C VALUE ',.'.
* convert separator to decimal point
WRITE P_AMOUNT TO P_STRING CURRENCY P_CURRENCY_UNIT
NO-GROUPING
NO-SIGN
LEFT-JUSTIFIED.
TRANSLATE P_STRING USING DEC2POINT.
* put minus sign before number
IF p_amount < 0.
SHIFT P_STRING RIGHT.
P_STRING(1) = '-'.
ENDIF.
ENDFORM.
<i>Hope This Info Helps YOU.</i>
Regards,
Lakshmi
Maybe you are looking for
-
Why Hp does not find any solution for Noisy Fan systems ?
I got DV6t core i5 6gb ram + 1gb Ati Radeon Graphic Card (6490m) + bluetooth + Bluray I have to return it because of that noisy fan ; i was a new member of Hp family and i never investigate about that product for Laptop. After it got that gorgeous
-
XMLBeans 2.0 and WebLogic 8.1.4 compatibility issues
I am on a project that is required to use WebLogic 8.1.4. We would like to use some new features in XMLBeans 2.0. We are concerned that if we replace the 1.0 library with the 2.0 library in server/lib, will the server have any problems. Has anyone he
-
I can't sign out of icloud from my iphone
I keep trying to sign out of icloud from my iphone 5S, bc none of my apps are syncing anymore. I though I could trigger Notes and Calendar to begin working again if I singed out and then signed back in? But when I tap sign out, it asks if I want to
-
Hi every1, I am still having problem seing my heirarchy in the query that i have created.1 of my info object sales revenue has the conversion routine.And next thing my heirarchy has data in it.for eg:i am doing example from fufu book.which has 3
-
Hi, How do I get an average of a column without including the zeros ?
Im using Numbers and I want to get an average of the column but I can't seem to take the Zeros out of the equation. Can someone please help? Please.