Program to lock users
Dear Pros,
As a security admin. I would appreciate if someone could help me program to lock users vis following requiremnt:
1) Has logged onto the system in the past, but has not logged on in the last 90 days.
2) Has never logged onto the system in the past 30 days.
3) Does NOT belong to User Group SUPER.
4) Dialog Users ONLY.
Thanks for any help or suggestion
Hi,
Try with this program or you can modify:
Selection Text
001 Program Parameter
002 User Lockeds
003 User Erased
004 Report of User Lokeds and Erased
005 User
006 Last Access Date
007 Creation Date
008 Result
009 Full Name
010 Exception (Not to erase these users)
CHECK_T Test ejecution
CLASS Users Group
MESBL Months to Lock
MESBO Months to Delete
S_EXCEP Users
REPORT ZBAR0009 NO STANDARD PAGE HEADING LINE-SIZE 155 LINE-COUNT 60.
TABLES: USR02, "Datos logon
USR21, "Asignación nombre usuario - clave dirección
ADRP. "Personas (gestión de direcciones central)
DATA: BEGIN OF IT_USBOR OCCURS 0,
BNAME LIKE USR02-BNAME, "Nombre de usuario según maestro de us
ERDAT LIKE USR02-ERDAT, "Fecha de creación del maestro de usua
TRDAT LIKE USR02-TRDAT. "Fecha del último acceso al sistema
DATA END OF IT_USBOR.
DATA: BEGIN OF IT_USBLO OCCURS 0,
BNAME LIKE USR02-BNAME, "Nombre de usuario según maestro de us
ERDAT LIKE USR02-ERDAT, "Fecha de creación del maestro de usua
TRDAT LIKE USR02-TRDAT. "Fecha del último acceso al sistema
DATA END OF IT_USBLO.
DATA: BEGIN OF BDCDATAC OCCURS 5.
INCLUDE STRUCTURE BDCDATA.
DATA: END OF BDCDATAC. "Estructura Batch Input
Tablas de mensajes generados por el batch input de modificación.
DATA: BEGIN OF BDCMSGCOLLM OCCURS 5.
INCLUDE STRUCTURE BDCMSGCOLL.
DATA: END OF BDCMSGCOLLM.
DATA: FECHA1 LIKE USR02-TRDAT,
FECHA2 LIKE USR02-TRDAT,
FECHA3 LIKE USR02-TRDAT,
TR_MS(30),
I TYPE I,
P TYPE I,
CONT TYPE I.
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: MESBL(2) DEFAULT '03',
MESBO(2) DEFAULT '06',
CLASS LIKE USR02-CLASS DEFAULT 'UPSTREAM',
CHECK_T AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN: BEGIN OF BLOCK C1 WITH FRAME TITLE TEXT-010.
SELECT-OPTIONS: S_EXCEP FOR USR02-BNAME.
SELECTION-SCREEN END OF BLOCK C1.
START-OF-SELECTION.
Armado de Fechas
MOVE SY-DATUM TO FECHA1.
FECHA2 = FECHA1 - ( 30 * MESBL ).
FECHA3 = FECHA1 - ( 30 * MESBO ).
PERFORM EXTRACCIÓN_US_BLOQUEAR.
PERFORM EXTRACCIÓN_US_BORRAR.
PERFORM VALIDAR_EXCEPCIONES.
PERFORM EJECUTAR_TRANS.
TOP-OF-PAGE.
FORMAT COLOR 4 ON.
SKIP.
WRITE: /57 TEXT-004, 134 'Fecha: ', SY-DATUM.
WRITE: /134 'Página: ', SY-PAGNO, 151 ' '.
SKIP.
END-OF-PAGE.
*& Form EXTRACCIÓN_US_BORRAR
text
--> p1 text
<-- p2 text
FORM EXTRACCIÓN_US_BORRAR.
Selección de los Usuarios a Borrar que han entrado alguna vez
SELECT BNAME ERDAT TRDAT APPENDING CORRESPONDING FIELDS OF TABLE
IT_USBOR FROM USR02 WHERE TRDAT LT FECHA3 AND
TRDAT NE '00000000' AND
CLASS EQ CLASS.
Selección de los Usuarios a Borrar que aún no han entrado
SELECT BNAME ERDAT TRDAT APPENDING CORRESPONDING FIELDS OF TABLE
IT_USBOR FROM USR02 WHERE ERDAT LT FECHA3 AND
TRDAT EQ '00000000' AND
CLASS EQ CLASS.
ENDFORM. " EXTRACCIÓN_US_BORRAR
*& Form EXTRACCIÓN_US_BLOQUEAR
text
--> p1 text
<-- p2 text
FORM EXTRACCIÓN_US_BLOQUEAR.
Selección de los Usuarios a Bloquear que han entrado alguna vez
SELECT BNAME ERDAT TRDAT APPENDING CORRESPONDING FIELDS OF TABLE
IT_USBLO FROM USR02 WHERE TRDAT LT FECHA2 AND
TRDAT GE FECHA3 AND
CLASS EQ CLASS.
Selección de los Usuarios a Bloquear que aún no han entrado
SELECT BNAME ERDAT TRDAT APPENDING CORRESPONDING FIELDS OF TABLE
IT_USBLO FROM USR02 WHERE ERDAT LT FECHA2 AND
ERDAT GE FECHA3 AND
TRDAT EQ '00000000' AND
CLASS EQ CLASS.
ENDFORM. " EXTRACCIÓN_US_BLOQUEAR
*& Form VALIDAR_EXCEPCIONES
text
--> p1 text
<-- p2 text
FORM VALIDAR_EXCEPCIONES.
IF S_EXCEP NE SPACE.
DELETE IT_USBLO WHERE BNAME EQ 'SAP*' OR
BNAME EQ 'DDIC' OR
BNAME EQ 'MAILADM' OR
BNAME EQ 'SAPGUEST' OR
BNAME EQ 'WF-BATCH' OR
BNAME IN S_EXCEP.
DELETE IT_USBOR WHERE BNAME EQ 'SAP*' OR
BNAME EQ 'DDIC' OR
BNAME EQ 'MAILADM' OR
BNAME EQ 'SAPGUEST' OR
BNAME EQ 'WF-BATCH' OR
BNAME IN S_EXCEP.
ELSE.
DELETE IT_USBLO WHERE BNAME EQ 'SAP*' OR
BNAME EQ 'DDIC' OR
BNAME EQ 'MAILADM' OR
BNAME EQ 'SAPGUEST' OR
BNAME EQ 'WF-BATCH'.
DELETE IT_USBOR WHERE BNAME EQ 'SAP*' OR
BNAME EQ 'DDIC' OR
BNAME EQ 'MAILADM' OR
BNAME EQ 'SAPGUEST' OR
BNAME EQ 'WF-BATCH'.
ENDIF.
ENDFORM. " VALIDAR_EXCEPCIONES
*& Form EJECUTAR_TRANS
text
--> p1 text
<-- p2 text
FORM EJECUTAR_TRANS.
DATA: L TYPE I.
DESCRIBE TABLE IT_USBLO LINES L.
IF L GT 0.
LOOP AT IT_USBLO.
ADD 1 TO CONT.
IF CHECK_T EQ SPACE.
PERFORM EJECUTAR_US01 USING 'LOCK' IT_USBLO-BNAME.
ENDIF.
PERFORM LISTAR USING IT_USBLO-BNAME IT_USBLO-ERDAT
IT_USBLO-TRDAT TR_MS 'LOCK'.
AT LAST.
ULINE /1(152).
ENDAT.
ENDLOOP.
ENDIF.
DESCRIBE TABLE IT_USBOR LINES L.
IF L GT 0.
CLEAR CONT.
LOOP AT IT_USBOR.
ADD 1 TO CONT.
IF CHECK_T EQ SPACE.
PERFORM EJECUTAR_US01 USING 'DELE' IT_USBOR-BNAME.
ENDIF.
PERFORM LISTAR USING IT_USBOR-BNAME IT_USBOR-ERDAT
IT_USBOR-TRDAT TR_MS 'DELE'.
AT LAST.
ULINE /1(152).
ENDAT.
ENDLOOP.
ENDIF.
ENDFORM. " EJECUTAR_TRANS
*& Form EJECUTAR_US01
text
-->P_0154 text *
FORM EJECUTAR_US01 USING VALCODE USUARIO.
REFRESH BDCDATAC.
MOVE: 'SAPLSUU5' TO BDCDATAC-PROGRAM,
'0050' TO BDCDATAC-DYNPRO,
'X' TO BDCDATAC-DYNBEGIN.
APPEND BDCDATAC.
CLEAR BDCDATAC.
MOVE: 'USR02-BNAME' TO BDCDATAC-FNAM, "Usuario SAP
USUARIO TO BDCDATAC-FVAL.
APPEND BDCDATAC.
CLEAR BDCDATAC.
IF VALCODE EQ 'LOCK'.
MOVE: 'BDC_OKCODE' TO BDCDATAC-FNAM, "OK_CODE
'=LOCK' TO BDCDATAC-FVAL.
APPEND BDCDATAC.
CLEAR BDCDATAC.
MOVE: 'SAPLSUU5' TO BDCDATAC-PROGRAM,
'0500' TO BDCDATAC-DYNPRO,
'X' TO BDCDATAC-DYNBEGIN.
APPEND BDCDATAC.
CLEAR BDCDATAC.
MOVE: 'BDC_OKCODE' TO BDCDATAC-FNAM, "OK_CODE
'=LOCK' TO BDCDATAC-FVAL.
APPEND BDCDATAC.
CLEAR BDCDATAC.
ELSEIF VALCODE EQ 'DELE'.
MOVE: 'BDC_OKCODE' TO BDCDATAC-FNAM, "OK_CODE
'=DELE' TO BDCDATAC-FVAL.
APPEND BDCDATAC.
CLEAR BDCDATAC.
MOVE: 'SAPLSPO1' TO BDCDATAC-PROGRAM,
'0300' TO BDCDATAC-DYNPRO,
'X' TO BDCDATAC-DYNBEGIN.
APPEND BDCDATAC.
CLEAR BDCDATAC.
MOVE: 'BDC_OKCODE' TO BDCDATAC-FNAM, "OK_CODE
'=YES' TO BDCDATAC-FVAL.
APPEND BDCDATAC.
CLEAR BDCDATAC.
ENDIF.
CALL TRANSACTION 'SU01' USING BDCDATAC
MODE 'N'
UPDATE 'S'
MESSAGES INTO BDCMSGCOLLM.
REFRESH BDCDATAC.
MOVE BDCMSGCOLLM-MSGV1(30) TO TR_MS.
CLEAR BDCMSGCOLLM.
REFRESH BDCMSGCOLLM.
ENDFORM. " EJECUTAR_US01
*& Form LISTAR
text
-->P_IT_USBLO_USUARIO text *
FORM LISTAR USING CODUS FECHA1 FECHA2 MENSAGE ACC.
DATA: NOMBRE(50), LOCKSTATE LIKE USLOCK . "RM 06-04-05
Búsqueda del Nombre Completo del Usuario
CLEAR NOMBRE.
SELECT PERSNUMBER INTO USR21-PERSNUMBER FROM USR21
WHERE BNAME EQ CODUS.
ENDSELECT.
SELECT NAME_FIRST NAME_LAST INTO (ADRP-NAME_FIRST, ADRP-NAME_LAST)
FROM ADRP
WHERE PERSNUMBER EQ USR21-PERSNUMBER.
ENDSELECT.
CONCATENATE ADRP-NAME_FIRST ADRP-NAME_LAST INTO NOMBRE
SEPARATED BY SPACE.
IF ACC EQ 'LOCK'.
ADD 1 TO I.
IF I EQ 1.
ULINE /1(30).
WRITE: / SY-VLINE, 2 TEXT-002, 30 SY-VLINE.
ULINE /1(152).
WRITE: / SY-VLINE, 2 TEXT-005, 15 SY-VLINE, 17 TEXT-009,
68 SY-VLINE, 70 TEXT-007, 93 SY-VLINE, 95 TEXT-006,
118 SY-VLINE, 120 TEXT-008, 152 SY-VLINE.
ULINE /1(152).
ENDIF.
IF CONT EQ 1.
FORMAT COLOR 2 INTENSIFIED ON.
ELSEIF CONT EQ 2.
CLEAR CONT.
FORMAT COLOR 2 INTENSIFIED OFF.
ENDIF.
Búsqueda del Status de Bloqueo del Usuario
CALL FUNCTION 'SUSR_USER_LOCKSTATE_GET'
EXPORTING
USER_NAME = CODUS
IMPORTING
LOCKSTATE = LOCKSTATE
EXCEPTIONS
USER_NAME_NOT_EXIST = 1
OTHERS = 2.
IF LOCKSTATE-LOCAL_LOCK EQ 'X'. "RM 06-04-05
MOVE 'BLOQUEADO' TO MENSAGE.
ELSE.
CLEAR MENSAGE.
ENDIF.
WRITE: / SY-VLINE, 2 CODUS, 15 SY-VLINE, 17 NOMBRE,
68 SY-VLINE, 70 FECHA1, 93 SY-VLINE, 95 FECHA2,
118 SY-VLINE, 120 MENSAGE, 152 SY-VLINE.
ELSEIF ACC EQ 'DELE'.
ADD 1 TO P.
IF P EQ 1.
ULINE /1(30).
WRITE: / SY-VLINE, 2 TEXT-003, 30 SY-VLINE.
ULINE /1(152).
WRITE: / SY-VLINE, 2 TEXT-005, 15 SY-VLINE, 17 TEXT-009,
68 SY-VLINE, 70 TEXT-007, 93 SY-VLINE, 95 TEXT-006,
118 SY-VLINE, 120 TEXT-008, 152 SY-VLINE.
ULINE /1(152).
ENDIF.
IF CONT EQ 1.
FORMAT COLOR 2 INTENSIFIED ON.
ELSEIF CONT EQ 2.
CLEAR CONT.
FORMAT COLOR 2 INTENSIFIED OFF.
ENDIF.
WRITE: / SY-VLINE, 2 CODUS, 15 SY-VLINE, 17 NOMBRE,
68 SY-VLINE, 70 FECHA1, 93 SY-VLINE, 95 FECHA2,
118 SY-VLINE, 120 MENSAGE, 152 SY-VLINE.
ENDIF.
ENDFORM. " LISTAR
Similar Messages
-
Unlock program which locked by Editor lock
Hi, Experts,
I need a small favour from you. There is a program created by a user and locked using editor lock in se38 attribute. Now that user is not active in system. How can I unlock that program using another user.
Regards
Rajiv singh.hi rajiv,
Go to SM12 and execute
select the lock entry and UInlock the entry(delete lock entry for that).
if helpful reward some points.
with regards,
suresh babu aluri. -
Lock User when enter password in wrong 3 times
Hi,
I user oracle E-Business Suite 11i .
I want to Lock User(Disable Account) when enter password in wrong 3 times.
Thanx
Rafeek
Edited by: reemax on Apr 20, 2010 4:19 AMHi,
you can set the profile value FAILED_LOGIN_ATTEMPETS to 3 to restrict that wrong password entry as folows
sql>ALTER PROFILE default LIMIT failed_login_attempts 3;
--Rathina -
How do you Install programs to one user account on a macbook pro?
I want to download programs to my user account on my laptop without the other peoples accounts having access to it. How do you specify only to download to this account, or change the settings of past installed programs to only be accessible to my account and not the others
As Csound1 has already pointed out create a folder in your Home folder for only those applications that you want exclusive access to like this one in my Home folder:
For those application that have an installer, you'll need to install and then move the app from the Applications folder to your own app folder. -
Background job for auto lock user
Dear Friends,
Which background job i have to be schedule for auto locking user after every 30 days if then are not logged for last 30 days.
Thanks,
Regards,
SachinHi, Sachin.
Please check this thread.
Locking users if they did not login for 15 days
Best Regards.
Sejoon -
How to find list of locked users & unlock them?
Hello,
Is there any method in portal to find the list of locked users? and unlock them.
we can unlock single user at a time.
but if we want to unlock a group of users (for Ex:- 20 locked users), how can we unlock al the 20 locked users?
Thanks in advance,
Vila.Hi Vila,
Go to user administration -> Identity management
Click on advanced search. Go to account information tab. Check the use account locked field and then click on search. This will give you a list of all the users whose accounts are locked.
Select all the users whose accounts you want to unlock, and then click unlock.
Regards,
Ankit -
i have the new version of iMovie, and when i try to start the program, i can't because it says that it is looking for some movie files from the Iphoto, so all the program is locked up... how can i do to restart the program??
Hi
Did You ever use - iPhoto ?
Did You may be direct iPhoto to a different Photo Library
As iMovie tries to find the appropriate photo library - it can get lost if iPhoto direct it into a Library on a not connected external hard disk or to a strange location - And iMovie HANGS.
Do - When no other program is running that might interfere
• Start iPhoto - BUT NOW KEEP alt-key (option key) DOWN during the full Start-Up process
• Now iPhoto let's You select Photo Library
• Select the one in Your Account / Home folder / Pictures ! !
• Then iPhoto should start up OK
• Now Quit iPhoto
• START iMovie
Does it still hangs - then I would suspect - iMovie Pref. file
If it Run's OK - Then HURRAY !
Yours Bengt W -
RFC - Calling Function Module in a local Windows Program (.exe) on user PC
Hi Gurus !
Has anyone ever tried to call a local program on the user side through RFC ? Actually, this programme should allow the use of function module from ABAP programs.
Indeed we want to use some device locally installed, here a device to pay using Credit Cards.
However, we've almost successfully filled our requirements if the destination RFC is activated as a Registered Program. But a user B tries to access device of a user A if the code and destination are the same. So we need to create as many RFC destination as users.
So, we'd like the frontGUI to call the local EXE. This EXE would be coded in VB btw. But we can't figure out how to set the program to register on SM59, using "Start on Front-End Station" option.
Has anyone any clue on how the program should look like ?
Thx in advance,
N HHi MxG,
I guess we're close to the solution.
So, using the .Net Connector, and declaring inside our program the Host and Server Class, we've managed to use it, as a registered Server Program. Actually our Registered Program is a Windows Service running on the local computer that the RFC Function Module refers to.
While testing this it's appeared that user B was trying to use device on User A, event thought devices and services were installed on both computers.
I guess there's something we're misunderstanding or missing when we try to convert our solution to a Front-End solution. The program is obviously incomplete, something is missing. But I can't find any example or start-up for that program. Even in SAPHelp, there's only something saying that "you can do your own program for front-end and RFC"... :/
Well, I've just realized I've reformulated my issue, but since it's confusing for me, it's actually not easy to describe and make sure it's understandable !
Regards,
N H -
Hi Everyone,
I am trying to develop a ABAP Program to unlock users in sap client. Please if anyone can help me I will be thankful to them.
Thanks in advance.
Regards,
Gaurav.eh, such a functionality already exists. in SU01 you got a button for that.
-
Report/FM/RFC that gives a list of Locked users
Is there a Report/FM/RFC/BAPI that gives a list of Locked users please?
Hi Hruser,
There are two options two get the locked users.
1. Execute TCode SA38 and run the ABAP Report RSUSR200.
2. Execute Tcode EWZ5.
Thanks
Lokendra Kumar -
Report that displays 'z'program,t-codes,user-ids,list of clients
Hi everyone
i have a requirement.
i need a report that displays all t-codes,all zee programs,all the user-ids,all the clients logins available and status of hotpack application i.e. ABAP,SD,FI/CO,MM and others.
i know that all t-codes are in table TSTC and user-ids in USH02, USH04, USR01, USR02, USR03.
for the rest do suggest me the tables.
if anyone know the answer pls do reply.
Regards
Venkat
will reward with points and thanks in advance.hi,
the table that store all zprograms with their user id's is TRDIR.
in the selection screen if u specify the zprogram name and user id.
if u specify user id u will get the list of programs that were done by the particular user.
please reward me if helpful.
thanks,
gupta. -
How do you set default programs for all users when deploying Windows 8.1?
I have my Windows 8.1 image set up the way I want including the start screen, theme, etc. But how can I set the default programs for all users. Most of out computers are non-touch and I want the desktop apps (e.g. Windows Photo Viewer), not the store apps
to be the default for opening pictures, videos, etc. Can that be done?Great question, this has been bugging me too!
So, I did some research by using "Set Default Programs" app in Windows 8. Then I ran the super ProcMon.exe tool from Sysinternals.com <Thanks Mark!>
After filtering out the junk, I could see some *interesting* writes to the registry:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\UserChoice]
"Hash"="57y87/ogggU="
"ProgId"="PhotoViewer.FileAssoc.Jpeg"
But the "Hash" part had me concerned. I did some internet searching for the hash, and came across a post and a pointer to a blog with some answers. This is both good news and bad.
Background:
One of the problems with Windows XP is that any program can come in and party on the entire system. No, I don't want you to put a shortcut on the desktop, install a crappy IE Toolbar, and change the default file association for *.jpg files to your app, I
just wanted to play a stupid game. Since Windows 7, Microsoft has been attempting to block that functionality from the stupid applications, and give them back to the user. Take note of the last line in the ITaskbarList3 interface:
Applications cannot programmatically pin themselves to the taskbar. That functionality is reserved strictly for the user.
Of course that sucks for us IT Pros who may wish to create *default* working environments for corporate images, but there are some tricks we can do.
Solution:
This blog appears to have the answer:
http://blogs.technet.com/b/mrmlcgn/archive/2013/02/26/windows-8-associate-a-file-type-or-protocol-with-a-specific-app-using-a-gpo-e-g-default-mail-client-for-mailto-protocol.aspx
New for Windows 8 is a dism command: /Get-DefaultAppAssociations that allows you to export a control case from a known good computer. Microsoft the supports importing the exported xml file via GPO. For example, before I changed the file association, .AVI
was pointing to the Modern App, after the change the /export-DefaultAppAssociations shows change to the new app:
From:
<Association Identifier=".avi" ProgId="AppXhjhjmgrfm2d7rd026az898dy2p1pcsyt" ApplicationName="Video" />
To:
<Association Identifier=".avi" ProgId="VLC.avi" ApplicationName="VLC media player" />
I am still doing some investigation to see if a GPO is required, or if you can inject the association into a local user account. Also, if you do have some Modern Windows 8 Touch Tablets, it would recomend keeping most of the Modern App defaults in place,
perhaps seperate GPO's for Desktops/Laptops vs Tablets?
-k
Keith Garner - keithga.wordpress.com -
Trigger a waiting ABAP program from a User Exit of CO01
Hi all,
We would like to launch a ABAP program from a User Exit (EXIT_SAPLCOZV_001) of CO01, this ABAP program has a special characteristic: using Function Module RFC_PING_AND_WAIT, so this program will be existing until terminating event coming.
Our purpose is terminate CO01 normally before finishing of ABAP program. We don't know if it's possible?
Actually:
1. when we use SUBMIT ..., the process will stop CO01 (stop not normally) and then launch ABAP program. => This is not suitable for our purpose.
2. when we use SUBMIT ... and RETURN, CO01 will wait for finishing of ABAP program => This is not suitable for our purpose too, because we wish CO01 terminated normally when ABAP program is still existing and waiting for its terminating event.
Do you have a solution that is suitable for our purpose, could you please help us?
(The context is below:
Time: Begin-->CO finished> ABAP finished-->
Launch CO01 --> Call User Exit --> Call ABAP program for waiting --> CO01 saved normally.
> ABAP program still waiting ---> waiting for terminating event
Thanks a lot,
Vinh VoHi,
Try with the function module BP_EVENT_RAISE, it takes eventid, and eventparm as import parameters in the User exit.
1) With Eventid, you create a background job of the ABAP program and schedule it. Eventparm can be the Production order number.
2) So when ever the Event is triggered the FM gets triggered and which in turn run the ABAP program, so the foreground the CO01 transaction runs without waiting for the ABAP program to complete.
Regards
Bala Krishna -
While Filling-up setup tables how to lock users & Suspend user
Hi Friends & Experts,
I am going to Run Set-up tables in my BI Production servers as Application wise for example..SD, MM, PP, QM, & Invetary.
So I want to tell to client kindly lock users & suspend users to stop document postings.
How to tell this to clients this situation. pls do suggest on this.
SiriHi Friends thank you for your quick response...
Is there any Particular T.Codes as Application wise..E.g: PP, MM, SD, QM. Inventary.. to Lock instead of Lock SM01.
Because if we lock SM01 All T.codes are going to Lock. I think It's not advisable.
Pls Suggest me as soon as possible.
Siri -
Is it safe/okay to use RSNAST00 program in a user-exit?
Hi Experts,
I got a business requirement and its:
After SAVEing the sales order......by using the user-exit USEREXIT_SAVE_DOCUMENT I have to trigger custom IDOC (currently its in the system and using for some other application) outbound direction to XYZ logical system.
But, the functional spec is asking me to to use RSNAST00 program in the above said user-exit.
So pls clarify,
1) Is it safe to use this RSNAST00 program in the user-exits?
2) If so, Wht is the best/safest approach to use it? is it by using SUBMIT AND RETURN statement? or do we have any other?
3) Actually, guess this is not good approach (achieving via ABAP workbench/triggering IDOC outbound by custom code of user-exit) to meet this functionality.......its a configuration task need to done by functional guy.Thank you Vinod.
If thats the ONLY concern, then I can write a seperate FM, where in I will use SUBMIT RSNAST00 AND RETURN statements, and I will call this FM in a SEPERATE / BACKGROUND TASK, which works in a seperate LWU.
Pls. shade some light
Thank you
Maybe you are looking for
-
My hp c4599 printer will not connect to my wireless network
My hp c4599 printer will not connect to my wireless network or show up on my computer during the installation even though it is usb connected. But it managed to create its own network where i can print wirelessly by selecting it sort of like bluetoot
-
How do I prevent Mac App Store flagging updates?
I have a Mac Mini with 1.66 Ghz Intel Core Duo processor and 2GB of RAM I am using OS 10.6.8 - the highest that this Mac will run. I have iPhoto 11 - version 9.2.3 When I open the Mac App Store it tells me that there is an update for iPhoto to versio
-
Find the data based on week-end ,week-day
Hi, Db : 11.2.0.1 We have the table LX_CPU_TRACK_DLY desc LX_CPU_TRACK_DLY Name Null? Type SYSTEMDATE DATE HOST_NAME VARCHAR2(50 CHAR) USR_PRCT NUMBER(10,5) SYS_PRCT NUMBER(10,5) WAIT_PRCT NUMBER(10,5) IDLE_PRCT NUMBER(10,5) PHYS_CPU_USD NUMBER(10,5)
-
My team is experiencing an issue when trying to view a pdf from an HTMLResources.zip file on iOS. The pdf will display, but then immediately slide back down and close the v27 iOS app. Any ideas why? Thanks dw
-
APC UPS, Mountain Lion, and system restart problem
I have a Mac Pro (3,1) and it's been running Lion (10.7.x) for a long time. It's connected to an APC UPS XS 1500 via a USB cable for years. I've never had any problems with it. Two weeks ago I updated to Mountain Lion (10.8.2). Since then I've return