RFC to fetch SAP version
HI,
I need an rfc which fetches sap component version ( ECC 6.0 or 5.0 or 4.7 or 4.6......etc ).
I know we can look in system --> status --> component version.
But i want this data to be passed to external system through rfc or bapi.
I can create custom one which does this but we need standard to work this out.
Is there any such...!!
Regards.
On old version there was a system field sy-saprl, alas it is no longer in use. Looking at OSS, i found [ Note 542759 - Replacement for SY-SAPRL|https://service.sap.com/sap/support/notes/542759]
which use a
CALL FUNCTION 'STRUCPACK_RELEASE_GET'
EXPORTING
I_NAME_EXTENSION = 'SAP_BASIS'
IMPORTING
E_RELEASE = l_saprel
EXCEPTIONS
STRUCPACK_NOT_INSTALLED = 1
NO_TSYST_ENTRY = 2
OTHERS = 3.
Depending on you system you may build a RFC enabled FM which return sy-saprl or l_saprel(4).
NB: RFC_GET_SYSTEM_INFO and STRUCPACK_RELEASE_GET did not exist in older versions, but there was a RFC_GET_SAP_SYSTEM_PARAMETERS which returned sy-saprl of course.
So you may (caller) try to call one of the RFC FM and, if it fails, call the other one, or build a custiomer RFC FM (called) which try to call the "modern" FM and if it fails return sy-saprl.
Return
Similar Messages
-
Creation of RFC destination for SAP-Access Connectivity
Hi,
I want to create a RFC destination for SAP-Access connectivity.
Can I get some help regarding it's connection type,activation type and gateway options required for the same.
Regrads,
Anthony D'souzaHi
Please see the following:
1. Create an entry in Trxn DBCA for SQL Server in SAP, you are creating a database connection for the SQL server in SAP.
2. You use this connection, and write Native SQL stmnts...between EXECSQL...ENDEXEC to fetch the data..and then normal ABAP statements to put that data into your ztable.
TABLE DBCON Entry can be like this...depends on your External database..
CON_NAME Raj Logical name for connection
DBMS MSS Microsoft SQL Server
USER_NAME <User name> For SQL Server
PASSWORD <password> " "
CON_ENV MSSQL_SERVER=<server> MSSQL_DBNAME=<database name>
DB_RECO Availability type for an open database connect
FUNCTION z_houston_connect.
""Local interface:
EXEC SQL.
CONNECT TO 'RAJ' AS 'V'
ENDEXEC.
EXEC SQL.
SET CONNECTION 'V'
ENDEXEC.
*- Get the data from MS-SQL Server
EXEC SQL.
open C1 for
select
l.loc_id,
l.loc_name,
a.acc_id,
a.acc_name,
d.person
from ho_loc_mast as l
inner join snd_acc_mast as a on l.loc_id = a.loc_id
inner join snd_acc_addr as d on a.loc_id = d.loc_id and
a.acc_id = d.acc_id
where l.loc_id = '001'
ENDEXEC.
DO.
EXEC SQL.
FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_acc_id, :wa-c_acc_name, :wa-c_person
ENDEXEC.
IF sy-subrc = 0.
PERFORM loop_output.
ELSE.
EXIT.
ENDIF.
ENDDO.
EXEC SQL.
CLOSE C1
ENDEXEC.
ENDFUNCTION.
Regards,
Raj -
Fetching SAP Date and Time format
I am using "RFC_READ_TABLE" function module to fetch SAP table contents using JCO APIs. I need to know the date and time format to parse the values of date and time fields into respective java data types. (I am receiving these values in the form of string using above RFC)
How can I get date and time format information from SAP server?
Regards
AmolHi,
Through T-Code SU01 in general setting tab u can do the general setting for date time, number format
Type tcode SPRO and Got to general settings -> Define Countries then restart the system. -
SWCV still contains IDocs/RFCs from an SAP system
Hi
I have imported Idoc to a SWCV. Now am trying to create one more namespace under it. When I try to create another namespace, it automatically selects the check button Import of Idoc and RFC interfaces from SAP systems permitted. If I select not permitted and try to create namespace it gives me this message
Unable to save object XYZ , 1.0 of ABC
Indicator cannot be undone since the software component version still contains IDocs/RFCs from an SAP system
Delete the objects first.
Is it possible for me to create another namespace under a SWCV, to which I have already imported Idoc, by selecting the option " Not permitted ". I want to create another namespace and I don't want to select that option as I have already imported IdocHi,
You no need to touch that check box, you can still create the namespace under software component.
Just double click lick on software component, goto edit mode and click on + symbol to insert namespace and save then activate.
Note:- As you have already imported the RFC and IDoc under your software component(not namspace as you mentioned), you keep that check box import of RFC and IDocs permitted. Dont try to uncheck that.
thanks,
madhu -
Dswp - edit -- Fetch SAP Components
I'm customizing the Help Desk (Solution Manager 4.0) and the next step is : dswp -> edit --> Fetch SAP Components.
But I receive the error message : "RFC Error: User SXXXXXX has no RFC authorization for function group BC_SOLMAN".
Thank's in advancedHello Cristina,
The note 982045 is good, however is being in Checking process just now so you can not see it. I enter t:i
Long text
Symptom
The connection test or the authorization check for the SAP-OSS
destination in transaction SM59 is not always successful.
Other terms
Reason and Prerequisites
The physical connection between the SAP Solution Manager system and the
OSS no longer corresponds to the technical settings of the destination,
for example because another internal SAPRouter was activated.
Solution
Regenerate the SAP-OSS destination. Do not maintain any manual changes
for the SAP-OSS destination in transaction SM59. Proceed as follows:
1. Use transaction SM59 to carry out the connection test for the SAPOSS
destination. If this test does not return any error, proceed with
step 4.
2. Call transaction OSS1, choose the menu option 'Parameter ->
Technical Settings', and maintain them as described in Note 33135.
3. When you save the entries, the system regenerates the SAPOSS
destination . As a result, errors should no longer occur for this
destination in the connection test in transaction SM59. If errors
still occur, check the entries.
4. Regeneration of the SAP-OSS destination in transaction DSWP, menu
option 'Settings -> Global Settings', tab page 'Connection to SAP':
Re-enter the user (S user for your customer number) and the password
and save your entries. When you save, the system regenerates the
SAP-OSS destination. The system uses the technical settings of the
SAP-OSS destination.
5. Carry out the connection test for the SAP-OSS destination in
transaction SM59 again.
6. If the connection test works, but the authorization check fails,
make sure the password is correct by logging on directly on the SAP
Support Portal. If there are no problems when you use the same
password, SAP has to unlock the user that was locked due to several
failed logon attempts in OSS and to replicate the password from the
SAP Support Portal to OSS, if necessary.
Best regards,
Dolores -
Where to check SAP version in server
Hi,
I am new to SAP and I would like to know how can I check my SAP version in development server whether it is R/3, mySAP or Netweaver 2004s, SP stack 8 and my Enterprise portal version.
I know that it is 4.7, is it R/3?
Does it mean that if my company have installed EP and BW, SAP system will become Netweaver?
best regards,
yingHi Ying,
Thanks for the points and for more info on 4.7 architecture check the small link for a nut of Info
http://www.thespot4sap.com/Articles/SAP_4point7_Architecture.asp
a read can give u more insight on the topic
Br,
Sri
Award points for helpful answers -
Unable to open RFC connection to SAP System NSP
Hi all,
During installation i am getting an error which is as follows,
"Unable to open RFC connection to SAP System NSP.
Solution: Start the system."
And the second problem is that there are no connections shown in SAPGUI.
Please help me out.
Thanking you,
KranthiHI Kranthi,
Have you checked this thread NW Preview Installation error?
Regards -
Sap version what is the difference between 4.7ee and 6.0
Hi Gures
Now I am working in 4.7ee version but next month onwards in my company they r going to use 6.0
so I want to what is the canges with 4.7 to 6.0? as well can u give details about new g/l concept?http://solutionbrowser.erp.sap.fmpmedia.com/Default.aspx
Please use above mentioned link, you will find the delta functionalities between various SAP Versions.
Regards,
Ravi -
Key functional differences between SAP ECC Version 6.0 and SAP Version 4.6
Hi Forum,
As we are currently updgqrading to SAP ECC Version 6.0 from SAP Version 4.6, could someone please identify what are the new functionalities are being offred in SAP ECC 6.0.
Please let me know or guide me in a right direction - my email address is [email protected] or simply reply to the forum.
Thank you
YogeshDear Yogesh,
Please go through Upgrade info @ service.sap.com.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/6880cbb88f297ee10000000a422035/frameset.htm
http://solutionbrowser.erp.sap.fmpmedia.com/
Major difference is ECC6 is netwear product having WASJAVA+ABAP
secondly support unicode apart from this we have other diff. you can get fom master guide from service.sap.com/instguides
For installing ECC 6.0 you required a solution manager key.With out solutionmanager key you cannot install ECC6.0.
For ECC 6.0 is called netweaver component here you have ABAP+JAVA stack.
ECC6.0 supports UNCODE.
For installing 4.6 you don't required solution manager key.It only having ABAP stack.
4.6C supports NONUNICODE.
Hope this would add some more info.
Regards,
Naveen. -
How to zip a text file and send as email attachment in SAP version 4.6c?
Hi Guru,
How to zip a text file in SAP version 4.6c which doesn't have class CL_ABAP_ZIP?
Please help.
Thanks & Regards,
AriHi,
Try this link
[http://sap.ittoolbox.com/groups/technical-functional/sap-dev/sapr3dev-zip-file-from-sap-1707099?cv=expanded]
Cheers,
Surinder -
JCO.Server Error while trying to execute a RFC program from SAP
Hi,
We are connecting to an external registered server program from SAP via Web Methods.
The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
Number - 10
LUname - dev01
TPName - sapgw00
User - KRAORANE
Status - CONNECTED
Symbolic - PRDB2B
Conversation - 86520353
Prot - REG
SAP return code - 0
CPIC rtn code - 0
The external program returns results as expected.
However sometimes the RFC fails and returns the message JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS.
We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
-KiranHi,
Please see the below links..
JCO.Server Error while trying to execute a RFC program from SAP
Re: JCO.Servcer could not find server function
Re: JCO.Server could not find server function 'SET_SLD_DATA'
/people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
Re: interfacing SAP with an existing java applications
http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
http://www.sapgenie.com/faq/jco.htm
Regards
Chilla.. -
Hello everybody,
I would like to know how to log a RFC Call on SAP R/3 and the data flow from a RFC.
Thanks for your helps,Use t.code ST01 to activate RFC trace.
Use t.code ST11 to list the file of the trace. The file name should start with dev_rfc . ST11 is sorted by date so double click on the latest changed dev_rfc file.
Here where it gets kind of ugly.
Look for string ' **** Trace file opened at '
A few lines below that you'll find the data stream that was passed to and from SAP via a RFC. The human readable data is on the right side looking like this.
000000 05000000 05000331 00040000 00010331 .......1.......1
000010 03310004 00000002 03310503 00000503 .1.......1......
000020 05140010 C62F2556 F757D147 9D44C888 ....Æ/%V÷WÑG.DÈ.
000030 BB189C64 05140512 00000512 01300028 »..d.........0.(
000040 5341504C 5A48525F 50414E20 20202020 SAPLZHR_PAN
000050 20202020 20202020 20202020 20202020
000060 20202020 20202020 01300335 000C0000 .0.5....
000070 000A0000 00010000 00100335 03020008 ...........5....
000080 000000AB 00000010 03020304 00AB3132 ...«.........«12
000090 30373030 31313030 30313242 6C61636B 07001100012Black
0000a0 74686F72 6E652050 656E6E73 796C7661 thorne Pennsylva
0000b0 6E696120 20202020 20426C61 636B7468 nia Blackth
0000c0 6F726E65 20504120 20202020 20202020 orne PA
0000d0 20202020 20202034 32332053 2E204D61 423 S. Ma
0000e0 696E2053 742E2020 20202020 20202020 in St.
0000f0 20202020 20202020 20202020 20202031 1
000100 38383130 20202020 20417468 656E7320 8810 Athens
000110 20202020 20202020 20202020 20202020
000120 20205553 20504120 20202020 20202030 US PA 0
000130 30303030 33343634 35030403 0400AB31 000034645.....«1
000140 32303135 30313130 30303135 43415261 201501100015CARa
000150 64202020 20202020 20202020 20202020 d
000160 20202020 20202020 20204341 52616420 CARad
000170 20202020 20202020 20202020 20202020
000180 20202020 20202020 32363030 20566961 2600 Via
000190 20466F72 74756E61 2044722C 20537569 Fortuna Dr, Sui
0001a0 74652033 34302020 20202020 20202020 te 340
I hope this helps.
Mike V. -
Creating RFC Destination in SAP R/3
Trying to create an RFC destination in SAP R/3. Looked at few articles in creating them, but I am getting error while testing. It says that the "Program" couldn't not be found. I tried with all options, "Registered in Server Program", "Start on Application Server" etc.,
Is there a place to register a "Program"? Is this program specific to my XI server? How should this program be created or registered.
Any help is greatly appreciated!
Thanks
Satyaone more hit:
http://server:port/rwb/index.jsp
message monitoring
BTW
you have created everything in XI repository & configured everything in xi directory haven't you?
if not you can try this document:
"Validating a Connection Between R/3 and SAP XI with RFC"
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/validating a connection between sap r3 and sap xi with rfc.pdf
by Sridhar Rajan Natarajan
Regards,
michal
Message was edited by: Michal Krawczyk -
Input Tax - difference between sap version 4.7 and version 5
Hi All
I done total customising of input tax on sap version 4.7 as well as version 5.
now I want to enter following invoice through t.code F-43:-
Raw Material Cost 50,000.00
Add:- Excise 8,000.00
Add:- E.Cess 240.00
Add:- Vat 2329.60
So we are to pay to vendor Rs. 60,569.60.
Now when use sap version 4.7 & run t.code F-43, then if I enter Rs. 60,569.60 against g.l of vendor & purchase, then system accept it.
But when I use sap version 5 & run t.code F-43, then I have to enter Rs. 60,569.60 against g.l of vendor & Rs. 50,000 against g.l of purchase, then only system accept the entry.
why so. Plz clarify
With Regards
Deepak Garg
Mob 9213784161Hi,
there are lot of changes like i observe
1, in rebates there is no advanced rebate processing in 4.7
2. there is no scale group field in condrecords of agrement in rebate agreement.
3. there are lot of new reports available in SIS
4. in sales returns process also seperate config available in 6.0
regards,
sk -
SAP Version to be added in the subject line while posting a question.
Hi,
We all have been posting and answering thousands of questions on the SDN. Many times I have seen moderators asking the person who posted a question to use a correct and informative subject line.
With respect to that, I would like to suggest the moderators to add a rule in the rules of engagement asking the users to provide the SAP Version in the subject line while posting questions.
This way the person answering the question can appropriately provide information based on that version only and would save the time and effort of everyone.
Example subject line can be :
ECC 6.0 Function module xyz is not returning correct results.
I would like to know the opinion of other users too on what they think about this suggestion.
Best regards,
AdvaitIn theory - a very good idea.
In practice - hard to enforce.
On second thoght, it could be a required parameter. It might have the added benefit of dissuading questions from people who can't figure out which version they have
Rob
Edited by: Rob Burbank on Jan 16, 2009 3:56 PM
Maybe you are looking for
-
My ipod will not let me access any apps using wifi, it indicates at the top of the screen that there is a strong wifi source but it refused to work on wifi apps. I think this is because if need an update but will not let me as it says an error occurr
-
Where is Illustrator? I can't find it!
I am currently enjoying a free trial of Creative Cloud. I installed Photoshop CS6 and Illustrator CS6 throught he Adobe Application Manager. Both say they installed but I can only find photoshop. Oddly, I also have Adobe Bridge installed. Maybe inste
-
Posting date should not be in future for vendor payments
Hello Guys, Hope everyone doing fine.... My question is: In F-53 or F-58, Posting should not be greater than entry date or system date. I did write a validation for this. Company code 1000, document type KZ, Transaction Code F-53(FBZ2) or F-58(FBZ4)
-
Need Optimized Solution to insert a table with 70 columns
Hi, I need to insert almost 13 million records to a table which has 70 columns, and each column is a derived one.I have used the pl/sql tables to get all the 13 million records and process them, it takes 3 mins for 100 records. Any optimized solution
-
Hi All, I have a problem in footer of alv printing. When i m taking a print of alv with a footer its omit blank line space whole. While i have a requirement to put some space line after alv and then footer should print. How can i achieve this ?