SAPROUTER SNC - ERROR in Batch
Hello,
We have our SNC connection working between our site and SAPSERV2 as long as our call to saprouter is running in interactive mode. When we submit the job to batch using a CL (copied from 4soi.de) the connection does not work. The message in DEV_ROUT file we're seeing the following error:
ERROR GSS-API(maj): No credentials were supplied
It seems like the the job isn't seeing either env variables or the SIDOFR STMF in the SECUDE directory.
Any thoughts on why this works in the foreground from a command line, but not in batch as an autostart job, or just a submitted batch job?
Thanks,
Philip
Hello Philip,
if you follow the instructions at
http://www.easymarketplace.de/snc-iseries-setup.php
you set SECUDIR within the CL and it is not (necessarily) in directory /secude.
And you have to run the CL as SIDOFR.
Regards
Guido
Similar Messages
-
Hi
I am trying to set up saprouter on a test system (Server 2008 R2 x64). However saprouter will not start on cmd or service. See error below.
Cryptolib is Commoncryptolib 8 (Windows on x64). Both saprouter.exe and the cryptolib files reside in C:\saprouter and SECUDIR and SNC_LIB environment variables point there. I created the certificate and added a basic saprouttab file.
I also tried this command:
sapgenpse seclogin -p local.pse -O Administrator
dev_rout file:
trc file: "dev_rout", trc level: 2, release: "720"
Mon Nov 10 11:13:48 2014
NiIHSBufInit: initialize hostname buffer (IPv4)
NiHLInit: alloc host buf (200 entries)
NiSrvLInit: alloc serv bufs (200 entries)
NiIInit: allocated nitab (811 at 000000000235DFA0)
NiIInit: host/serv bufs already initialized
SAP Network Interface Router, Version 40.4
Compiled Sep 3 2014 23:49:04
command line arg 0: saprouter.exe
command line arg 1: -r
command line arg 2: -V
command line arg 3: 2
command line arg 4: -K
command line arg 5: p:CN=systemname, OU=0000000000, OU=SAProuter, O=SAP, C=DE
service : 3299
routtab : ./saprouttab
plug-in : no plug-in
-argument: 'no argument'
clients : 800
max servers : 1
quelength : 1
maxheap : 20000000
timeoutL : 5000
tracefile : dev_rout
socket buffer size : 32768
logfile : no logging active
portrange : no portrange active
local address : default address
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/64/64)
GetUserName()="Administrator" NetWkstaUser="Administrator"
SncInit(): Trying environment variable SNC_LIB as
gssapi library name: "C:\saprouter".
*** ERROR => DlLoadLib()==DLENOACCESS - LoadLibrary("C:\saprouter")
Error 126 = "The specified module could not be found." [dlnt.c 255]
*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter #1 (C:\saprouter) not loaded [sncxxdl.c 727]
<<- SncInit()==SNCERR_INIT
sec_avail = "false"
*** ERROR => NiSncInit: SncInit failed (sncrc=-1) [nisnc.c 562]
*** ERROR => main: NiSncInit failed (rc=-17) [nirout.cpp 1373]
* ERROR SNC processing failed:
* SncInit
* TIME Mon Nov 10 11:13:48 2014
* RELEASE 720
* COMPONENT NI (network interface)
* VERSION 40
* RC -17
* MODULE nisnc.c
* LINE 560
* DETAIL NiSncInit: sncrc=-1
* COUNTER 4
<<- ERROR: SncDone()==SNCERR_INIT_FIRST
NiIExit: free nitab 000000000235DFA0Hi Siim,
What is the value of SNC_LIB variable?
Can you try it to be full path to sapcrypto.dll, if not already so?
Regards -
Error: No batch input data for screen SAPMZVKDIALOGDEMO 1000 Help Needed
Hi Experts!
I wrote a program for BDC. I am attaching the code herewith. When i am trying to process the session in SM35, i was getting the error: No batch input data for screen SAPMZVKDIALOGDEMO 1000. Can anyone please tell me, what am i doing wrong.
Thanks.
REPORT zvkbdcdemo01.
DATA: bdc_tab LIKE bdcdata OCCURS 6 WITH HEADER LINE.
DATA: session LIKE apqi-groupid VALUE 'Session #1'.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
* DEST = FILLER8
group = session
* HOLDDATE = FILLER8
* KEEP = FILLER1
user = sy-uname
* RECORD = FILLER1
* PROG = SY-CPROG
* IMPORTING
* QID =
* EXCEPTIONS
* CLIENT_INVALID = 1
* DESTINATION_INVALID = 2
* GROUP_INVALID = 3
* GROUP_IS_LOCKED = 4
* HOLDDATE_INVALID = 5
* INTERNAL_ERROR = 6
* QUEUE_ERROR = 7
* RUNNING = 8
* SYSTEM_LOCK_ERROR = 9
* USER_INVALID = 10
* OTHERS = 11
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM fill_bdc_tab.
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = 'ZVKTR001'
* POST_LOCAL = NOVBLOCAL
* PRINTING = NOPRINT
* SIMUBATCH = ' '
* CTUPARAMS = ' '
TABLES
dynprotab = bdc_tab
* EXCEPTIONS
* INTERNAL_ERROR = 1
* NOT_OPEN = 2
* QUEUE_ERROR = 3
* TCODE_INVALID = 4
* PRINTING_INVALID = 5
* POSTING_INVALID = 6
* OTHERS = 7
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'BDC_CLOSE_GROUP'
* EXCEPTIONS
* NOT_OPEN = 1
* QUEUE_ERROR = 2
* OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form fill_bdc_tab
* text
FORM fill_bdc_tab.
REFRESH bdc_tab.
PERFORM populate_bdc_tab USING:
'1' 'SAPMZVKDIALOGDEMO' '1000',
' ' 'SFLIGHT-CARRID' 'LH',
' ' 'SFLIGHT-CONNID' '0400',
' ' 'SFLIGHT-FLDATE' '07/07/2007',
' ' 'SFLIGHT-PRICE' '1982',
' ' 'SFLIGHT-CURRENCY' 'EUR',
' ' 'SFLIGHT-PLANETYPE' 'A310-300',
' ' 'BDC_OKCODE' 'CREA'.
ENDFORM. "fill_bdc_tab
*& Form POPULATE_BDC_TAB
* text
* -->FLAG text
* -->VAR1 text
* -->VAR2 text
FORM populate_bdc_tab USING flag var1 var2.
CLEAR bdc_tab.
IF flag = '1'.
bdc_tab-program = var1.
bdc_tab-dynpro = var2.
bdc_tab-dynbegin = 'X'.
ELSE.
bdc_tab-fnam = var1.
bdc_tab-fval = var2.
ENDIF.
APPEND bdc_tab.
ENDFORM. "POPULATE_BDC_TABThis normally means that you are trying to insert data on a screen for which a particular field is not available.
So check screen number, screen fields and report name. In case of screen fields, use F1, F9 (technical information), and check the name of the screen field for batch processing (all the way at th bottom of the pop-up). This can differ from actual name of the screen field.
If all this is ok, try to create a recording of the transaction with SM37. -
Incoming IDOC Error "No batch input data from the screen SAPMV45A 4001"
Hello ,
The Incoming IDOC with Message type 'ORDERS' is triggering the error message "No batch input data from the screen SAPMV45A 4001" with message no 00344 . There is an SAP note 785000 to handle this type of error message which has been already implemented. Still we are encountering few IDOC error's at the time of sales order creation. The IDOC reaches status 51 throwing the error which is again reprocessed through BD87 .
We are unable to replicate the similar scenerio in Development & Testing systems as it works fine.
Can any one kindly advise how to eliminate the error "No batch input data from the screen SAPMV45A 4001" message at the time of Incoming IDOC processing.
Thanks in advance.
Best Regards
SateeshDear Sateesh
Check this link where the same topic was discussed
[ VA01/VA02: batch-input error in IDoc processing|http://www.sapfans.com/forums/viewtopic.php?f=21&t=313032]
thanks
G. Lakshmipathi -
QM Usage Decision Error : Deficit Batch restricted
I am unable to reject two batches..it shows 'no inventory exsists for this material'
Usage Decision TCode gives me the following error:
Deficit Batch restricted
Can you please tell me, what might be the probable reason?
ThanksWell.. it's basically telling you it can't find the material in the stock category it is looking for it in.
So, to resolve this, first find out where the batches really are.
Get the actual batch numbers from the inspection lots and run MMBE to see where the material is and what the status of the batch is, restricted or unrestricted.
You must then figure out where is the UD transaction looking for the material? You can check this by looking in config and the looking at the settings for the inventory posting. You should see 3 movement types for the reject posting line. One for QI, one for unrestricted and one for blocked.
What you need to do, is a) get the batch inventory into the proper inventory bucket. This might be as simple as unrestricting the batch. b) if you can't get the material where it needs to be, you might be able to temporarily change the movement type used for the reject postings. Then change it back to what it should be once you rejected the material.
Hope this helps.
Craig -
Inbound ORDERS IDoc Error: No batch input....
Dear all,
i try to receive IDocs via the standard function module IDOC_INPUT_ORDERS. Partner profiles etc. are maintained in WE20. However, when I create the Test IDoc in WE19 and process it, i get the following error:
No batch input data for screen SAPMV45A 4001
Message no. 00344
My IDoc looks as follows:
EDIDC 2000000000000203045700 51 2SAPXXX LSXXXCLNT200
E1EDK01 220 56026671
E1EDK14 012OR
E1EDK14 00601
E1EDK14 00701
E1EDK14 008PLANT
E1EDK03 002200909170000
E1EDK03 012200909171212
E1EDK03 022200909171212
E1EDKA1 AG 0003000011
E1EDKA1 WE 0003000011
E1EDK02 001K1234567 20090911
E1EDP01 1 1 EA
E1EDP19 0035200000
Has anyone an idea, what might be the reason for this error?
Best regards
FlorianHello Florian
When you choose function "Inbound Function module" (IDOC_INPUT_ORDERS; WE19) switch the transaction processing to In Foreground or In Foreground after Error.
Then you will clearly see what is missing and it should be easy to find out where to place the missing data into the IDoc.
Most likely segment E1EDP20 (containing the quantity) is missing. Example:
E1EDP20 136.000 0.000 20080822
Regards
Uwe -
Error during batch determination in sales order
Hi all,
I have this information error during batch determination: LB059 " Error when mixing configuration and selection criteria" .
Does anyone know what i´m doing wrong?
We are using materials with characteristics, and when i try the batch determination in a sales order, i got this messagge.
Thank you all!!Hello Juan
The characteristics you used to configure the product in the sales order are passed dynamically during run time as selection criteria to determine a matching class and that's where the problem is happening.
Sit with an ABAPer to debug and find out what's the issue. Your focus for this activity should be on the following includes to Program SAPLV01F:
LV01FFC1
and
LV01FM01
More specifically, test the following Function Modules with your live data to figure out which one is failing:
CLO0_DDB_OBJ_VALUATION_OPEN
CTMS_DDB_HAS_CHARACTERISTICS
CTMS_DDB_HAS_VALUES
CTMS_DDB_DEL_VALUE
CTMS_DDB_SET_VALUE_INTERNAL
CLO0_DDB_OBJ_VALUATION_CLOSE
Hope this helps. Sorry it is hard to give a functional type of response to this very technical issue. -
Security Network Layer (SNC) error when creating new session
in SAPGUI 710, suddenly some users are getting a popup message ("Security Network Layer SNC error") when they use the Create New Session toolbar button.
SSO works fine when they connect from SAP Logon, its only when attempting to open secondary sessions. Also, its only some users.
Where would I find log information resulting from the error? Or any suggestions on steps to troubleshoot?
Thanks!Hello Erik,
Issue actually belongs to BC-SEC-SNC, not SAPGUI.
The attached note advises how to run a trace to get more information about the issue
150104 collecting dev_trace of user session via SM04
If you recreate the issue again with the active trace, you might have more sucess with a reply.
Just to advise that 7.10 is out of support and 7.20 should be used as soon as possible.
Kind Regards,
Jude -
Hello Experts,
I have installed SAP ERP 6.0 SR3 on windows server 2003 64bit and done post installation steps.
For SAProuter configuration, I have followed below steps.
1. Downloaded .CAR file and extract into "user/sap/saprouter/ " folder.
2. Created SAProuter services and create same forlder in registry.
Only below link steps I have followed.
http://help.sap.com/saphelp_nw04/helpdata/en/4f/992dab446d11d189700000e8322d00/content.htm
Error / question.
1. SAProuter server will not running.
2. error in DEV_ROUT file i,e ./SAPROUTTAB file is not open.
3. Confused about CRYPROGHAPHY library.
4. Is there any version issue ?
Please suggest me for configuraing SAProuter in system.
Thanks & regards,
Rahul S.Hello Chris,
There is no saprouttab file created in system.
For creating saprouttab file which command I have to follow ?
At the time of starting SAProuter below error in dev_rout file.
Sat Mar 05 15:36:07 2011
SAP Network Interface Router, Version 38.10
command line arg 0: saprouter
command line arg 1: -r
main: pid = 2272, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
ERROR => fopen './saprouttab' (2: No such file or directory) [nirout.cpp 7611]
**LOG Q0I=> NiRRouttab: fopen (2: ENOENT: No such file or directory OR: The system cannot find the file specified. ) [nirout.cpp 7613]
cannot open './saprouttab': all routing disabled!!!
Could not open permission table
for starting which steps I have to follow ?
Thanks for replay, -
Error in batch processing: background job cannot be scheduled
Error in batch processing: background job cannot be scheduled in transaction code jpmg0. How to resolve the same?
Hello,
Check system log and also check work process trace, to know the error.
I feel that it could be Authorization issue, you don't have sufficient authorization to do.
Hope this helps.
Regards
venkata
Edited by: venkata emandi on Sep 12, 2011 8:13 AM -
Error "No batch input data for screen SAPMF02D 0130" MASS tcode Msg:00344
Hi,
I am trying to update the filed "Industry"(KNA1-BRSCH) with value "RNRN" in Customer master data (XD01) through Tcode MASS for 1500 customers. I am getting error "No batch input data for screen SAPMF02D 0130" Message no. 00344. I tried to upate one customer but still the same error popped up. We tried implementing SAP note 737698 but it did not work.
Any inputs please??????Hi,
MASS (KNA1)
Select KNA1-BRSCH
execute
select customers
give your value against New values field
and click on mass change button
Rgds
Murali. N -
Error: No batch input data for screen SAPLSTRD 0300 for BDC OB52
Hello,
I have created one program, where i am just calling transaction OB52 using batch input.
CALL TRANSACTION 'OB52' USING bdcdata
MODE input_method
UPDATE 'S'
MESSAGES INTO itb_msg.
When I run my program in background the it is giving me Error "No batch input data for screen SAPLSTRD 0300 ", but I am changing the MODE to 'A' in foreground then it is working perfectly without any Errors.
Can you guide me why i am getting the above error only when i am executing the program in MODE = 'N'...
Regards,
Sujeet MishraHello,
Actually recording is perfect and it was working fine earlier on production server. now the error i am getting is related to transport request. like when we do the changes in transaction OB52 online is will ask you for transport request, but in my recording we are not taking care of this transport request pop-up screen, but it was working fine earlier.
the code which was working fine is written below:
LOOP AT itb_type.
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POSI'.
* Ecran Positionner, fonct Suite
PERFORM bdc_dynpro USING 'SAPLSPO4' '0300'.
PERFORM bdc_field USING 'SVALD-VALUE(01)' p_bukrs.
PERFORM bdc_field USING 'SVALD-VALUE(02)' itb_type-mkoar.
PERFORM bdc_field USING 'SVALD-VALUE(03)' itb_type-bkont.
PERFORM bdc_field USING 'BDC_OKCODE' '=FURT'.
* Ecran principal, fonction Sauvegarde
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
* Période 1
IF ( p_etape1 = 'X' ).
* Si Jour J+1
PERFORM bdc_field USING 'V_T001B-FRPE1(01)' s_sppe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE1(01)' s_sppe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE1(01)' s_spye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE1(01)' s_spye1-high.
ELSEIF ( p_etape2 = 'X' ).
* Si Jour J+6
PERFORM bdc_field USING 'V_T001B-FRPE1(01)' s_frpe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE1(01)' s_frpe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE1(01)' s_frye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE1(01)' s_frye1-high.
ENDIF.
* Période 2
PERFORM bdc_field USING 'V_T001B-FRPE2(01)' s_frpe1-low.
PERFORM bdc_field USING 'V_T001B-TOPE2(01)' s_frpe1-high.
PERFORM bdc_field USING 'V_T001B-FRYE2(01)' s_frye1-low.
PERFORM bdc_field USING 'V_T001B-TOYE2(01)' s_frye1-high.
* Gpe d'autorisation
PERFORM bdc_field USING 'V_T001B-BRGRU(01)' itb_type-brgru.
PERFORM bdc_field USING 'BDC_OKCODE' '=SAVE'.
ENDLOOP.
PERFORM bdc_dynpro USING 'SAPL0F00' '0065'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BACK'.
* Appel de la transaction OB52
CALL TRANSACTION 'OB52' USING bdcdata
MODE input_method
UPDATE 'S'
MESSAGES INTO itb_msg.
Regards,
SUjeet -
Error regarding batch management while creating GRN
Hello,
While creating GR I am getting error as "Please enter batch". So in Material master in Plant data/Stor1 view when i tried to remove the tick for Batch management it is giving the error as "Batch management requirement cannot be changed, choose "Display errors"". In Display errors it says "Batches already exist". In stock overview some batches existed.
- How can I remove this tick.
Regards,
PriyankaHi,
Below is the procedure to change the Batch Management indicator
Hi,
1 Check the Status of material MMBE
2 There should not be any open Purchase Order Use SE16 & Table EKPO Give the material number for which we have to find the Open Pos; Alternateively ME2M can also be used
3 There should not be any Open Production Order Use SE16 & Table AFPO Give the material number for which we have to find the Open Production Orders
4 There sould not be any Sales Order Use SE16 & Table VBAP Give the material Number for which we have to find the Open Sales Orders
5 There should not be any Purchase Requistion Use SE16 & Table EBAN Give the material Number for which we have to find the Open PRs
6 There should not be any Stock in Transit MB5T
7 There should not be any Plant availability Stock MB53
8 There should not be any Reservation MB25
9 Previuos Period Stock should be zero Use MM03 with Plant Stock & Storage Loc. View If Stock Exists follow the Procedure mentioned in next chapter to close
10 Stock requirement should be zero MD04
11 There should not be any open Delivery Use SE16 & Table LIPS Give the material Number for which we have to find the Open PRs
12 There should not be any open Warehouse Transfer Request Use SE16 & Table LTBP Give the material Number for which we have to find the Open PRs
13 There should not be any open Warehouse Transfer Request Use SE16 & Table LTAP Give the material Number for which we have to find the Open PRs
14 The Batch Corresponding to the plant has to be set for deletion indicator MSC2N
If previous period stocks exist, we can make a withdrawal posting as follows
1. Post the same amount to current period stock (for example, using
movement type 561) so that previous period stock and current period
stock are identical.
2. Make a withdrawal posting in the previous period for the stock
together with posting date (for example, using movement type 562).
If any of the above Stock Exists it has to be closed;If Any of the stock exists we cannot uncheck
After closing all the open items;the related business documents viz Purchase Orders,Production Orders,Delivery,etc has to be Archived
Archiving has certain criteria while doing Archiving Process-- Systematic Archival is the Key factor i.e relationship diagram has be met.
SAP Note Number 533383 - Resetting batch management requirement
Reward points if found useful.
Regards,
E.Vengata Raghavan -
Security network layer snc error
HI All,
We are using Singlr-sign-on method logging to SAP systems.
I started getting "security network layer snc error" when i am opening second window.
I have deleted all the old SAP short cuts and also tried to logon to the SAP application via "Start -->Programs -->SAP Frontend -->SAP Logon".
Still I am getting the same error.
Please provide me any suggestion to avoid this.
Thanks in advance
Joginadham UHello,
The mentioned error: "Security Network layer (SNC) error" only tells that there is problem for SNC.
To obtain more information on the error, you could create a trace as per SAP note 495911. SAP Note 150104 may be also useful.
Maybe in the Security forum you can find more assistance.
Regards,
Désiré -
SAPRouter to SAPRouter SNC Setting
Dear Experts Teams.
It is currently established the SNC connection of their SAPRouter server and SAP AG.
I want to connect the SAPRouter to external network SAPRouter for SNC.
However, I know that there are certificates to SNC connections, but in SAPRouter server,
I don't know the procedure of issuance of the order to configure the SNC.
Tell me the procedure of SAPRouter to external network SAPRouter SNC connection.
In addition, this configuration or would not have been supported by SAP?
Regards.
JunError is displayed when you start -K option SAPRouter.
By the way, SAPRouter have the following settings.
■SAPRouter Host1
※Possible SNC connection with SAP AG SAProuter
SNC Name:CN=SNC201401-01 OU=SAProuter, O=SAP, C=DE
SAProuttab:
KT "p:CN=snc201306-09" * 3299
P * * *
SAPRouter Command:
saprouter -r -S 3299 -T dev_rout -K "p:CN=SNC201401-01, OU=0000657984, OU=SAProuter, O=SAP, C=DE"
■SAPRouter Host2
SNC Name:CN=SNC201401-02
SAProuttab:
KT "CN=SNC201401-01 OU=SAProuter, O=SAP, C=DE" <Host1 Gloval IP> 3299
P * * *
SAPRouter Command:
saprouter -r -K p:CN=SNC201401-02
SAPRouter of Host1 to start normally, but, SAPRouter of Host2 can not boot properly.
And has implemented procedures to reference the URL.
http://wiki.scn.sap.com/wiki/display/Basis/How+to+setup+SNC+connection+between+SAProuters
Jun
Maybe you are looking for
-
I also noticed when I tried using my Flashlight app I get a message that says another app is using your LED. Is this all inter-related? How can I find out what other app is using my LED?
-
LaserJet Pro 200 Color M251nw : Wifi turned off but still broadcasting
Hello there, First of all, forgive my English. I have a HP LaserJet Pro 200 color M251nw, so it has wifi capability. Since the printer is plugged with an ethernet cable to my router, I don't feel the need to use the wifi embedded in the printer. Thin
-
How do I buy stuff on the iTunes Store if I can't remember my security information
How do I buy stuff on the iTunes Store if I can't remember my security information
-
Installing Windows 7 on Mac mini 2014
Hi, i stuck trying to install Windows 7 on a Mac mini 2014. It is connected to a monitor using the DP-to-VGA-Adaptor. I tried both, installing from (original) Windows-DVD and from a USB-Stick (always following the Bootcamp Installation procedure). Bu
-
How can I get more storage on my iPhone 5?
I have an iPhone 5 with the smallest amount of storage. I'm not sure exactly how much I have, but I keep filling it up and am often finding myself unable to download apps, music or take videos. I don't t want to delete anything from my phone, but I w