Reg - SAP Application not UP...
Hi Gurus,
I'm n the DRP Testing. I restore the PRD data in one testing server. successfully restore and I compare the Testing system to PRD System. All things ok, but never connect the application.
Pls advise how to up the Application..
In inside the database connect are ok.
Regards
Rajesh.
Hi,
ERROR => CONNECT failed with sql error '12541'
ORA-12541: TNS:no listener
Please See the below note.
[Note 609332 - Composite note: ORA-12541/ORA-12224|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=609332]
Thanks,
Shambo
Similar Messages
-
Can not start SAP application server
Hi All,
I use RZ10 to change instance profile, after that I shutdown SAP application but nothing can start.
In process list : msg_server.exe : stopped
disp+work.exe : stopped
igswd.exe : stopped
Pls help me resolve it.Hi,
This is new dev_disp file: ______________
trc file: "dev_disp", trc level: 1, release: "700"
sysno 00
sid DEV
systemid 562 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 185
intno 20050900
make: multithreaded, Unicode, 64 bit, optimized
pid 944
Fri May 27 08:54:12 2011
kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (00 944) [dpxxdisp.c 1285]
shared lib "dw_xml.dll" version 185 successfully loaded
shared lib "dw_xtc.dll" version 185 successfully loaded
shared lib "dw_stl.dll" version 185 successfully loaded
shared lib "dw_gui.dll" version 185 successfully loaded
shared lib "dw_mdm.dll" version 185 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3900
Fri May 27 08:54:17 2011
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5418]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >dianasvr1_DEV_00 <
DpShMCreate: sizeof(wp_adm) 29792 (1752)
DpShMCreate: sizeof(tm_adm) 5912704 (29416)
DpShMCreate: sizeof(wp_ca_adm) 24064 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
DpShMCreate: sizeof(comm_adm) 552080 (1088)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1864)
DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 000000000F1D0050, size: 6614016)
DpShMCreate: allocated sys_adm at 000000000F1D0050
DpShMCreate: allocated wp_adm at 000000000F1D21F0
DpShMCreate: allocated tm_adm_list at 000000000F1D9650
DpShMCreate: allocated tm_adm at 000000000F1D96B0
DpShMCreate: allocated wp_ca_adm at 000000000F77CF30
DpShMCreate: allocated appc_ca_adm at 000000000F782D30
DpShMCreate: allocated comm_adm at 000000000F784C70
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 000000000F80B900
DpShMCreate: allocated gw_adm at 000000000F80B980
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 000000000F80B9B0
DpShMCreate: allocated wall_adm at 000000000F80B9C0
MBUF state OFF
DpCommInitTable: init table for 500 entries
rdisp/queue_size_check_value : -> off
ThTaskStatus: rdisp/reset_online_during_debug 0
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
<ES> Info: em/initial_size_MB( 18431MB) not multiple of em/blocksize_KB( 4096KB)
<ES> Info: em/initial_size_MB rounded up to 18432MB
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 4607 blocks reserved for free list.
ES initialized.
mm.dump: set maximum dump mem to 96 MB
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1692]
***LOG Q0K=> DpMsAttach, mscon ( dianasvr1) [dpxxdisp.c 12429]
DpStartStopMsg: send start message (myname is >dianasvr1_DEV_00 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
CCMS: Checking Downtime Configuration of Monitoring Segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 7000, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
DpMsgAdmin: Set patchno for this platform to 185
Release check o.K.
Fri May 27 08:54:57 2011
my types changed after wp death/restart 0xbf --> 0xbe
my types changed after wp death/restart 0xbe --> 0xbc
my types changed after wp death/restart 0xbc --> 0xb8
my types changed after wp death/restart 0xb8 --> 0xb0
my types changed after wp death/restart 0xb0 --> 0xa0
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:07 2011
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Fri May 27 01:55:07 2011
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 3652 Ended no 1 0 0
1 DIA 2964 Ended no 1 0 0
2 DIA 3956 Ended no 1 0 0
3 DIA 2992 Ended no 1 0 0
4 DIA 3308 Ended no 1 0 0
5 DIA 1072 Ended no 1 0 0
6 DIA 1112 Ended no 1 0 0
7 DIA 1820 Ended no 1 0 0
8 DIA 3456 Ended no 1 0 0
9 DIA 2496 Ended no 1 0 0
10 UPD 608 Ended no 1 0 0
11 ENQ 1368 Ended no 1 0 0
12 BTC 2972 Ended no 1 0 0
13 BTC 3656 Ended no 1 0 0
14 BTC 3604 Ended no 1 0 0
15 SPO 2724 Ended no 1 0 0
16 UP2 3528 Ended no 1 0 0
Dispatcher Queue Statistics Fri May 27 01:55:07 2011
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
2
2000
5
5
--------++++--
+
DIA
5
5
2000
5
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 12
wake_evt_udp_now 0
wake events total 8, udp 6 ( 75%), shm 2 ( 25%)
since last update total 8, udp 6 ( 75%), shm 2 ( 25%)
Dump of tm_adm structure: Fri May 27 01:55:07 2011
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Fri May 27 01:55:07 2011
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:12 2011
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >dianasvr1_DEV_00 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes
Stop gateway
killing process (1252) (SOFT_KILL)
Stop icman
killing process (4044) (SOFT_KILL)
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process lives (PID:1252 HANDLE:324)
waiting for termination of gateway ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:13 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:1252 HANDLE:324)
wait for end of icman
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:14 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:15 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:16 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:17 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:18 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:19 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:20 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:21 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:22 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:23 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:4044 HANDLE:336)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=357
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri May 27 08:55:24 2011
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:4044 HANDLE:336)
DpStartStopMsg: send stop message (myname is >dianasvr1_DEV_00 <)
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 189 bytes -
Custom error message in SAP application log
Is there a way to add a custom error message to the SAP application log without passing the message variables MSGV1, MSGV2, MSGV3, MSGV4 and the Message class and number.
We want to pass a custom message from the BAPIRET2-MESSAGE without giving it a Message class and number. The reason for this is that we are using class based exceptions instead of the traditional message class with errors. When we catch the class based exception, we take the error text of the exception and put in in the BAPIRET2-message and set the BAPIRET2-TYPE as 'E'. Now we want to add this to the SAP application log.
The call to 'BAL_LOG_MSG_ADD' takes a structure BAL_S_MSG which is just like BAPIRET2. However this function builds the entry to the application log use the message variables MSGV1, MSGV2, MSGV3, MSGV4. There is no provision to pass in the BAPIRET2 message.
Add message to application log
CALL FUNCTION 'BAL_LOG_MSG_ADD'
EXPORTING
i_log_handle = app_log_handle
i_s_msg = log_message
Thanks,
JayHi Jay,
Did you see <b>BAL_LOG_EXCEPTION_ADD</b>?
This FM is represented by the structure <b>BAL_S_EXC</b>. This can have various versions as described below:
<b>Data of BAL_S_EXC Structure / Use</b>
<b>EXCEPTION</b> / Exception class from which an exception text
is added to the log. This field must be filled.
<b>MSGTY</b> / Message type (MSGTY) of a T100 message.
This field must also be filled for exceptions.
<b>PROBCLASS,
DETLEVEL,
ALSORT, TIME_STMP</b> / Message or exception attributes, such as
problem class (PROBCLASS, for
example, "very important"), level of detail
(DETLEVEL, from 1 to 9), sort criterion
(ALSORT, unrestricted) and timestamp
(TIME_STMP). These fields can be displayed
in the log (except TIME_STMP).
<b>MSG_COUNT</b> / This attribute is not used for exceptions.
Follow the link below for more details:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm">SAP Help DOc</a>
Hope this helps.
Thanks
Sanjeev -
SSO to non SAP Application using SAP Logon Ticket
Hi Experts,
I Have EP 7 SP 15 using SPNego Wizard to SSO with Active Directory and SSO between EP and ECC using SAP Certificates.
Now I have a demand to SSO some JAVA based applications (non SAP) to my portal using the SAP Logon Ticket.
I Have followed some blogs that directed me to use SAPSSOEXT (some libs) to read the MYSAPSSO2 cookie. The problem is that I didn't found this cookie, I even executed the command javascript:document to look for this cookie but the browser just show me the JSESSIONID info.
Does anybody knows where I can find this cookie or if there's a better way to set up this SSO? It´s necessary to say that I cannot SSO these application to the kerberos protocol because some security reasons on my company.
Thanks
ArmandoHi,
I dont have much info related but i can giv u hint
refer OSS Notes 442401 and 723896.
When using SAP logon tickets for non-SAP applications, two different implementation options are available. The difference lies in where the ticket verification takes place.
In the first case, the SAP logon ticket is submitted to the web server filter located on the web server. The web server filter verifies the portal serveru2019s public key
certificate using its local Personal Security Environment (PSE) and then populates the HTTP header field with the user ID for SSO to the non-sap web application.
In the second case, the SAP logon ticket is sent to the non-SAP application, which then verifies it using the ticket verification DLL and submits the user ID to the application for SSO.
You can refer following link :-
http://help.sap.com/saphelp_nw70/helpdata/EN/89/6eb8deaf2f11d5993700508b6b8b11/frameset.htm
user authentication and SSO
http://help.sap.com/saphelp_nw70/helpdata/EN/8f/ae29411ab3db2be10000000a1550b0/frameset.htm
Authentication Using a Directory with SSO Integration Using Logon Tickets
http://help.sap.com/saphelp_nw70/helpdata/EN/f8/3b514ca29011d5bdeb006094191908/frameset.htm
SSO
SAP Logon Ticket-based Single Sign-On
http://help.sap.com/saphelp_nwce10/helpdata/en/45/b6af743753003ae10000000a11466f/frameset.htm -
How to link SAP Application to Digital Signature
Dear all,
As per the sap note 593041,594010 and 827417 we have done the config setting and executed program DSIG_BOOKING_EX
in tcode DSAL we are getting the message "Signature process was successfully completed by user" please suggest us
how to link this to any SAP application ( Ex. Check printing ,PO Printing.) we r using script for printing these application.
Regards,
NikhilHi Nikhil,
please refer to this document:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0fbaa71-cd8d-2910-5982-e30626035400&overridelayout=true
Best wishes,
Jan -
How to catch SAP application errors in BPM.
Hi,
I have a IDOC to Soap Sync Scenario where I send the message to a Webservice. I have used a BPM since we need to catch the resposne of this message and map it to a RFC. For ex if I get a success resposne I need to map success if not than I need to catch the error and map it to the RFC. Now here in some cases like if the target system (webservice) is down than XI raises a sap application error:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection refused (errno:239)</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Normally XI stops the process in these cases and does not proceed to the next step but I need to catch this message and map the content in the AdditionalText to the target RFC. Can anyone let me know how to catch this SAP Application Error in BPM and map it to the RFC.
Thanks,
BhargavHi Gaurav,
As I have mentioned I need to catch the application error in the BPM. If you see the discussion that is mentioned after the blog you have mentioned it is stated that the fault messages or the application error cannot be caught in BPM.
In the blog that you stated we can catch the fault message and map it to a message structure but only to that extent after that it would stop the BPM process at that step but would not proceed further as shown in the screenshot given in the blog it would fail as "application error restart not possible".
I need to proceed further and capture this error to an RFC Structure and call a proxy.
Here after the error it does not proceed to the next step.
Thanks,
Bhargav -
SSO for SAP and Non-SAP applications without Enterprise Portal
Dear all,
Is it possible to implement SSO for both SAP and non-SAP applications without involvement of EP at all?
I have gone through this link.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/e5/4344b6d24a05408ca4faa94554e851/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/e5/4344b6d24a05408ca4faa94554e851/frameset.htm</a>
But I still i am not able to get the precise answer on how to enable SSO for both SAP and non-SAP applications without EP.
We have decided not to implement EP in first phase of SAP implementation. But we need to enable SSO for other SAP and Non-SAP applications.
A detailed description on how to deal this kind of scenarios will be helpful.
Thanks.A client of our's uses <b>SAP Enterprise Portal</b>, and is using the SAP SSO, which is implemented with tickets, and requires the use of SAPSECULIB. My company provides an application for this client, and our application in hosted in our data center for the client, as a Software as a Service application, obviously across the internet. Our client, which owns a SAP license, has asked that we support the SAP SSO as a non-SAP SSO application. The client user's SSO ticket will be created from SAP EP, and then passed across the internet to our application, and we are to use that SSO ticket as an authentication ticket to our application. I beleive I know how to do this work technically, having reviewed the SAP document named: "Dynamic Library for Verifying SSO Tickets in Third-Party Software" Specification Version 2.00 December 2005.
My question is, does my company have the right to use the SAPSECULIB? Where is the official download and <b>license</b> download, that indicates we can download this library, and use it to support a SAP customer? We do not own a SAP license. Thank you for your help. I have searched many places in SAP support.<b></b> -
SSO for non sap applications in EP on which siteminder sso is integrated
Hi ,
we have implemented Siteminder SSO on SAP PORTAL 6 SP16 for authentication.I would like integrate non sap application in Portal.I could not find any documentaion for setting up non sap application's in portal on which siteminder sso external authentication is implemented.
can anybody help for getting step by step document.
Thanks
TagHi ,
we have implemented Siteminder SSO on SAP PORTAL 6 SP16 for authentication.I would like to integrate non sap application in Portal.I could not find any documentaion for setting up non sap application's in portal on which siteminder sso external authentication is implemented.
can anybody help for getting step by step document.
diff rewards to be given...
Thanks
Tag -
SSO for non sap applications in EP on which siteminder sso is integrated
Posted: Aug 28, 2006 7:09 AM Reply E-mail this post
Hi ,
we have implemented Siteminder on SAP PORTAL 6 SP16 for authentication.I would like to integrate non sap application in Portal.I could not find any documentaion for setting up non sap application's in portal on which siteminder external authentication is implemented.
can anybody help for getting step by step document.
diff rewards to be givenHi,
if you have access to service.sap.com via S-User, you can download "SAP Enterprise Portal Security Guide" in the portal section. It has dedicated descriptions about SSO-Settings, also about netegrity.
You can also search help.sap.com about "SSO" which gives you overview descriptions.
On SAP Service Net, there is also an pdf "Integrating Security functions" in the Netweaver 2004s Portal section, where the description of the Java API for the PDK is included. This is very helpfull for coding. -
Import process for third country (SAP Application)
Hi Experts,
Currently we are using SAP Foreign Trade for European union countries to declare Intrastat and Extrastat to customs union.
Our requirement is a SAP Application to import with a third country which has no free trade agreement or is not a member country of a customs union. ( for example India vs Japan)
Is there any SAP standard application or SAP Add on's to meet the above requirement?
by
PrabhuHello Prabhu ,
In the standard SAP system design , Extrastat is only available for Germany and the Netherlands.
I hope this information has been helpful for you.
Best Regards,
Frank -
Download PDF File from Archiv to SAP Application Server
Hi,
I need to download the PDF file from an NAST-Dataset (how is stored from the message via SAP ArchivLink) to the SAP Application Server.
1) At first i read the Archiv-Link data via function module WFMC_GET_ARCHIVE_OBJECT_TYPE
2) Then i get the Connection-Infos via function module ARCHIV_GET_CONNECTIONS_INT
3) Now i read the file from archiv as table via function module ARCHIVOBJECT_GET_BYTES
4) Save to the SAP Appl.Server via:
- OPEN DATASET ld_dpfad FOR OUTPUT IN BINARY MODE
- LOOP and TRANSFER lf_archivobject TO ld_dpfad.
- CLOSE DATASET ld_dpfad.
In the dialog of NAST-Dataset (Messages) i can open the PDF-File without any errors (display originals). But after the filetransfer to the SAP Appl.Server i get the following errors during the file opening dialog from Adobe Acrobat Reader:
- the embedded font u201CArialu201D cant to be extract
- not enough data for the picture
The reader can display the PDF-File but only without the picture (Logo) and with alternative font.
The same transfer from archiv and sending as an attachement to the BOR-Object via function module SO_DOCUMENT_INSERT_API1 works very fine and without any errors.
Can any one please help me to solve this Issue?
Thanks in Advance,
ThomasHello Keith,
Many thanks for your answer.
In the past i didnu2019t need the BINARCHIVOBJECT-Parameter and so i overlook this option.
Now, the File looks a little bit different, but only in the STREAM-section.
During the Fileopen-Dialog i get only one message now - "not enough data for image" and the image will not displayed. The rest seems to be correct.
The relevant coding is now:
ld_doc_typ = pf_connections-reserve.
CALL FUNCTION 'ARCHIVOBJECT_GET_BYTES'
EXPORTING
archiv_id = pf_connections-archiv_id
archiv_doc_id = pf_connections-arc_doc_id
document_type = ld_doc_typ
length = ld_length1
offset = ld_offset
IMPORTING
binlength = ld_length
offset = ld_offset
TABLES
binarchivobject = lt_binarchivobj
EXCEPTIONS
error_archiv = 1
error_communicationtable = 2
error_kernel = 3
OTHERS = 4.
Zieldatei zum Schreiben öffnen
OPEN DATASET ld_dpfad FOR OUTPUT IN BINARY MODE.
Inhalte in Zieldatei schreiben
LOOP AT lt_binarchivobj INTO lf_binarchivobj.
TRANSFER lf_binarchivobj TO ld_dpfad NO END OF LINE.
ENDLOOP.
Zieldatei schließen
CLOSE DATASET ld_dpfad.
Where is the error for the image data?
Ciao Thomas
Push up by: Thomas Engler on May 3, 2010 4:54 PM -
How to downlaod vednor master data into excel sheet in SAP Application serv
Hi friends
I want to download SAP vendor master data into excel sheet and the file should be stored in SAP Application server Location with padding zeros.
Please help me.
ThanksHi Ramesh,
It is not possible to download data in Excel file on application server. You can better download the same in tab separated text file and then convert that text file to XLS.
Please do not open multiple threads for same problem.
Regards,
Atish -
How to downlaod vednor master data into excel sheet in SAP Application ser
Hi friends
I want to download SAP vendor master data into excel sheet and the file should be stored in SAP Application server Location with padding zeros.
Please help me.
ThanksHi Ramesh,
You can download the data into application server using the following code. You will have the vendor details in the internal table. Then you will open a file and transfer the data as follows.
* Download internal table to Application server file(Unix)
DATA: e_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.
open dataset e_file for output in text mode.
lOOP AT it_datatab......
transfer it_datatab to e_file.
ENDLOOP.
close dataset e_file.
In application server you will have only files and not excel sheets.
Reward points if useful,
Aleem. -
How to view OS files in SAP application
hi,
i try to view a file (stored at OS directory) from SAP application, when running AL11, the directory is not there.
so i tried to "configure" to add in new entry for different directory in AL11, after created and when click on the new entry in "Name of Directory Parameter", it prompts below error
Wrong order of calls <- CALL opendir: No such file or directory(,,..)
have i missed something ?
comment and advice are highly appreciated.
regards,
kentHi Kent,
>No such file or directory
It seems that you made a mistake on the directory name...
Regards,
Olivier -
SAP Applications and Business Suite Installed on an SAP System
Hi to all SAP gurus,
I have a couple of questions:-
1) Is there any way to find out about the SAP applications installed on an SAP system? I used CCMS to find out about the Installed SAP
components. But does this list give the correct information? Also, can we find out which are the major and minor components from this list?
2) Can there be more than one business suite (CRM, SRM, SCM etc.) installed on a single SAP system? Or is it always the case that a single SAP system can have only one business suite installed on it so that it can either be a CRM system, SRM system or something else.
3) Is there any way (Any database table or RFC function) I can find out out about the business suite installed on a particular SAP system? One thing I saw in SAP GUI is that the title bar reads "Customer Relationship Management" if it is a CRM system. Is this a fool-proof way to find out whether an SAP system is a CRM system, SRM system etc. If yes, will this information be stored in a database table or is there any RFC function so that I can get this data programatically?
Please bear with my BIG questions. I would be grateful if any of you guys can help me on these questions. Please let me know if I have to provide clarity on any of my queries. Thanks in advanceHi Mike,
Thanks a lot for your suggestions.
I did some research towards this as suggested by you.
1) I tried out SPAM. But this is giving more or less the same information that I am already getting using the database table "CVERS" or the RFC function module "DELIVERY_GET_INSTALLED_COMPS". Both of these give information about the installed SAP components. But these modules don't give the precise information as to which particular business suite application is installed on the SAP system.
2) I checked out the site -http://service.sap.com/instguides but couldn't get much help on here. I couldn't exactly get any information about the combinations of the business suite applications
that can be installed on an SAP system.
However, I was curious about one thing which I observed on my SAP system. The SAP GUI title bar reads "SAP Easy Access Customer Relationship Management". Can we be come to a conclusion that this is an SAP system with CRM installed on it?
Also, the installed components for this system lists "BBPCRM" as one of the application component. Can we say that this is a CRM system by looking at this? If yes, are you aware of such a similar component for the other applications SRM, PLM, SCM which tells us about the business suite application installed on the SAP system?
3) I did some rigorous search for RFC function modules that give the information I need. I came across 2 RFC function modules which give information on the SAP applications installed on an SAP system:-
a) TERM_GET_TOPLEVEL_COMPONENTS
b) SKWF_APPLS_GET
The function module "TERM_GET_TOPLEVEL_COMPONENTS" is showing a list of business suite applications installed but I am not sure if it's giving the correct information because it shows both CRM and SRM in the applications list for an SAP system.
I'd be most interested for your further suggestions regarding this.
Thanks again
- John
Maybe you are looking for
-
Web dynpro java application to update data in CRM system
Hello All, I need to develop a web dynpro java application which will read and update data in CRM. How can I do this? Thanks and Regards, Deepti
-
How to use ClassPath defined in META-INF/MANIFEST.MF in an EAR
Hi, We have an EAR Shared Library (Name = AA) deployed in Weblogic. EAR contents are like -> APP-INF/lib/directoryA/<<50 JAR Files>> META-INF/MANIFEST.MF --->> Has Class Path to above JAR files, Spec Version, Impl Version etc META-INF/application.xml
-
Sequential.java [28:1] cannot resolve symbol
The program asks users to enter random numbers.They are stored in a vector. The numbers are then added and the results of the addition stored in an vector.ie sum1=item1 sum2=item1+item2 sum3=item1+item2+item3 sumn=item1+item2+,,,,,+itemn here is the
-
Attributes for 0COMP_CODE
I am creating an ODS which needs to have 0COMP_Code and Credit Control area. But when looking at the attributes of Comp Code, i found that CCA is part of that. Do I have to add CCA also as part of the ODS or when I select Comp Code, It will automatic
-
Insertion Sort,, User Inputs Array Size!!! URGENT HELP
guys please sum1 help me.. i knows its a small tweak but i jus cant seem to figure it out.. my main post is lower down.. with my sample codes thanks