No provisioning logs available
Hi,
I am on GRC 10.0 SP14, and configuring GRC with CUA setup. However, have run into an issue
We have the CUA on Solution Manager, so all the ARM requests are going through CUA, if the user has access to Solman, I mean if the user has a role assigned for SOLMAN system or has SOLMAN added in the systems tab of SU01 everything works fine.
However, if the user does not have access to the SOLMAN system or does not have SOLMAN added in the system tab, GRC does not update the user and gives a message "No provisioning logs available"
It is forcing us to create the user in SOLMAN which is totally useless for us.
Need your help in addressing it.
Best Regards,
Silver
Hi Silver,
you do not need to create a SOLMAN account.
In your CUA settings - is CUA marked as global system (active)? Is so, please unmark it there and put individual list of system on second tab (CUA model distribution). It should work,
Let me know,
regards,
Filip
Similar Messages
-
ARQ: "No Provisioning log available" message in Access Request
Hi,
I am facing a problem wherein, a request is duly provisioned and closed. However, in email notification, I get below message:
Hi XXX,
The Request number : 123 , has been processed by XYZ and the Request is Closed. The details are as follows:
No Provisioning log available
I checked and noticed that, request is duly closed and user is either created/modified in the target system properly. I maintained variable
%PROVISIONING% in the email body but still I am not getting the provisioning details.
The document is active and working absolutely fine in Development system. But here I am not sure why this is not working.
Can anybody help me determine what I am missing?
Regards,
FaisalHi Claudio,
Thanks for your reply.
I am on SP#14 and it seems to be applicable and I can try this. Just before doing so, I would like to inform you that this is working in Development system (same settings) but not in QA. To the best of my knowledge, the configuration is same and no modifications have been done in QA alone.
Still I am facing this problem. Do you think if I implement this in Development system, the existing configurations will not be corrupted?
Also, please see below screen I got from GRFNMW_DBMONITOR_WD tcode
From this I can see, the value in variable "PROVISIONING" is same as I am receiving in email notification. But not sure if why this is not getting updated. Where as in development, I could see values for this variable properly.
Any suggestion?
Regards,
Faisal -
Provisioning log is not available on Access request type Change Account
Hi,
So I have and issue when I try to submit a request to add a role to a user and I'm trying to understand what could be the reason for it. Basically I have a workflow that works perfectly for a "Change Request". I can see that all the steps are executed and then at the end of the request when is suppose to do the actual role assignment I see the message "Provisioning log is not available" then the approval path is finish and the request is closed but when I take a look at the user in the back end the role is not assign. In terms of access I have try giving SAP_ALL to WF-Batch, nothing shows in Yellow or Red on SLG1 and in SPRO->AC-> User Provisioning -> Define request Type I see "Change Account" with SAP_GRAC_ACCESS_REQUEST. What else can I do to troubleshoot this error?
Note: I when back to the to the AC 10.0 Pre-Implementation From Post-Installation to First Access Request and everythings looks right in terms of the AC Configuration settings.Hi Jonathan,
In my question I was referring to SPRO - GRC/access control/user provisioning / maintain provisioning settings. Those need to be setup (min. global provisioning settings) in order to have role being assigned to user at the end of path.
Change account option you can see under request type is referring to change user master data(e.g. password/ account validity / details).
Is this system maintain by CUA? If so settings have to be different (see CUA settings in SPRO)
I would recommend moving to SP14 as in SP13 there were many bugs, by the way I believe the worst SP ever since beginning of AC is SP13 (maybe due to number), as it destroys many working functionality.
Filip -
GRC 10.1 Access Request - Provisioning Logs Not Available
Hello guys,
I am currently running into an issue with the user provisioning logs, the Request Approval notification which is sent to the user are at the end of an approved access request are as below and the Provisioning Logs tab is throwing a timeout error when opened.
"Hi Varsha Upadhyay (B001193),
The Request number : 26 , has been processed and the Request is Closed. The details are as follows:
Provisioning failed; check provisioning log for details.
Kind regards,
Access Control Administrator "
I have checked the table 'GRACREQPROVLOG' and I see the logs available in the table, When I open the logs for a particular request no I see the below error message under the 'Prov Message' field
"Type conflict when calling a function module (field length)"
Similarly in SLG1, I find the following message at the end of each provisioning task that has taken place at the end of a request being approved.
"Error in RFC; 'Type conflict when calling a function module (field length)'.
I made sure I gave SAP_ALL to all the RFC ID's and also the WF-BATCH ID's, and the integration scenarios are also defined correctly for all the target system.
It seems that this error is just preventing the provisioning details from being displayed in the email or in the Provisioning logs, but the user provisioning has actually taken place as expected (viewed in SU01).
So i'm wondering even after provisioning has actually taken place successfully, why would this error occur. Does anyone know the source for this error message, please let me know what am I missing?Hi Narsimha,
The error seems to be associated with wrong type being passed as a parameter to a function module.
Can you check the field mapping for your connectors in SPRO? There might be a mismatch happenning there.
Thanks
Sammukh -
GRC-AC v5.3 SP11, Patch 1: CUP E-Mail Log available?
Hi!
Does anyone know if there is a CUP E-Mail log available that lists all e-mails generated from CUP?
Thanks,
-johnHave a look at the table virsa_ae_emllog.
Frank. -
Shared Services Provisioning log file?
Hi!
Is there any log file in Shared Services 11, for the modifications in user provisioning? I could use a log on the provisioning modified, user name and admin name .
Thanks!
JorgeThe list of shared services logs is available at http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_1112200/ch03s12.html
You could also have a look at security auditing in Shared Services http://docs.oracle.com/cd/E17236_01/epm.1112/hss_admin_1112200/cas_security_audit.htm
Cheers
John
http://john-goodwin.blogspot.com/ -
[iPhone SDK 2.0 beta 7] Why No Provisioning files available to select?
I have three provision files loaded in Organizer and all have the check flag indicating they have all been loaded and are active in Xcode. But when I go to the Project Build tab per instructions and click on the provisioning section none of the profiles are available to choose, only the default place holder. I have tried the suggestion of closing and restarting xcode and all were created since the first day provision bug was fixed. All three show up in the portal as active. As far as I can tell, the APID in the provision matches what is in the project although I'm not sure that should matter according to what I have been reading.
Message was edited by: casasimsI was having the same issues yesterday. Finally, last night, I removed the keys I used to request my certificate, removed my certificate, applied for a new one, installed it, requested a new provisioning profile (com.domain.*) with the new certificate, loaded that. Then the profile appeared in my signing options in the Project Info screen. So I selected the new profile for Code Signing Provisioning Profile, and the two items within that - Any iPhone OS Device and Device - iPhone OS2.0. For the code Signing Identity's Device - iPhone OS2.0 I put iPhoneDeveloper:Firstname Lastname. I set my bundle identifier to com.domain.appname in the Info.plist (in the resources folder of my project). It then worked <whew>.
So I essentially started over with the whole development certificate/provisioning stuff, and added the Bundle identifier key to my plist file and put the app identifier there (without apple's seed at the beginning)
Brian -
How to online datafile of rollback segment of NO archive log available
I set offline datafile of rool back segement and rename it
but when I try to online , get error to recover
I try to recover but unfortunately all archive log was deleted ( kind of cron job in unix aotu delete these file)
Pls advice how can I set this data file online without the archive log ( while databse still up and running) Oracle version is 8i not possible to drop datafile by sql.
in roll back segment I have 3 data files as below and the rb04.dbf is offline
usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs01.dbf
/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs03.dbf
/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf
sequence of what I did is below:
SQL> alter database datafile '/usr/Systems/1354RM_1/databases/dbsnml/data/rbs04.dbf' offline;
Database altered.
SQL> alter tablespace RBS rename datafile '/usr/Systems/1354RM_1/databases/dbsnml/data/rbs04.dbf' to '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf';
Tablespace altered.
SQL> alter database datafile '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf' online;
alter database datafile '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf' online
ERROR at line 1:
ORA-01113: file 13 needs media recovery
ORA-01110: data file 13:
'/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf'
SQL> recover datafile '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf';
ORA-00279: change 71449081 generated at 12/23/2008 20:18:05 needed for thread 1
ORA-00289: suggestion :
/usr/Systems/1354RM_1_7.1_Master/OSRES/data/warm_repl/WarmArchive/arch_1_455922.
arc
ORA-00280: change 71449081 for thread 1 is in sequence #455922
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log
'/usr/Systems/1354RM_1_7.1_Master/OSRES/data/warm_repl/WarmArchive/arch_1_455922
.arc'
ORA-27037: unable to obtain file status
HP-UX Error: 2: No such file or directory
Additional information: 3SQL> alter tablespace RBS rename datafile '/usr/Systems/1354RM_1/databases/dbsnml/data/rbs04.dbf' to '/usr/Systems/1354RM_1_7.1_Master/databases/dbsnml/data/rbs04.dbf';Did you rename the file at OS level after you issued above command? Oracle will not rename the file at OS level.
Other than that, if you plan to change rollback segment tablespace, better create a new one and create new rollback segment in new tablespace and drop the old one. -
UME and Portal role provisioning is available in AC 5.3
Hi All,
Can some body help me on this.
Abhimanu SinghHello Abhimanyu,
There is something offered in this respect by the SAP Identity Management tool too, which you can integrate for provisioning, alongwith Access Controls from GRC. This runs for many other applications as well. Not really sure of your whole scenerio but it can be of a help to you.
Regards,
Hersh. -
Upgrade from TB 17.0.6 to 31.2.0: the installation did not display any errors, but C:\Program Files\Mozilla Thunderbird is empty after installation, except for an install.log file an an uninstall directory.
System: Windows Vista SP 2
install.log contents:
... snip ...
Installing Main Files
Installed File: C:\Program Files\Mozilla Thunderbird\MapiProxy_InUse.dll
Installed File: C:\Program Files\Mozilla Thunderbird\mozMapi32_InUse.dll
DLL Registration
** ERROR Registering: C:\Program Files\Mozilla Thunderbird\AccessibleMarshal.dll **
Adding Registry Entries
Added Registry String: HKLM | Software\Mozilla\Mozilla Thunderbird\31.2.0 (de)\Main | Install Directory | C:\Program Files\Mozilla Thunderbird
... snip ...
DLL Registration
** ERROR Registering: C:\Program Files\Mozilla Thunderbird\MapiProxy_InUse.dll **
DLL Registration
** ERROR Registering: C:\Program Files\Mozilla Thunderbird\MapiProxy_InUse.dll **
Added Registry String: HKLM | Software\Microsoft\Windows\CurrentVersion\App Paths\thunderbird.exe | | C:\Program Files\Mozilla Thunderbird\thunderbird.exe
Added Registry String: HKLM | Software\Microsoft\Windows\CurrentVersion\App Paths\thunderbird.exe | Path | C:\Program Files\Mozilla Thunderbird
Adding Shortcuts
Added Shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\C:\ProgramData\Microsoft\Windows\Start MenuDir\Mozilla Thunderbird.lnk
Added Quick Launch Shortcut: Mozilla Thunderbird.lnk
Setting as the default mail application
Mozilla Thunderbird Installation Finished: 2014-11-30 13:28:54Upgrade from TB 17.0.6 to 31.2.0: the installation did not display any errors, but C:\Program Files\Mozilla Thunderbird is empty after installation, except for an install.log file an an uninstall directory.
System: Windows Vista SP 2
install.log contents:
... snip ...
Installing Main Files
Installed File: C:\Program Files\Mozilla Thunderbird\MapiProxy_InUse.dll
Installed File: C:\Program Files\Mozilla Thunderbird\mozMapi32_InUse.dll
DLL Registration
** ERROR Registering: C:\Program Files\Mozilla Thunderbird\AccessibleMarshal.dll **
Adding Registry Entries
Added Registry String: HKLM | Software\Mozilla\Mozilla Thunderbird\31.2.0 (de)\Main | Install Directory | C:\Program Files\Mozilla Thunderbird
... snip ...
DLL Registration
** ERROR Registering: C:\Program Files\Mozilla Thunderbird\MapiProxy_InUse.dll **
DLL Registration
** ERROR Registering: C:\Program Files\Mozilla Thunderbird\MapiProxy_InUse.dll **
Added Registry String: HKLM | Software\Microsoft\Windows\CurrentVersion\App Paths\thunderbird.exe | | C:\Program Files\Mozilla Thunderbird\thunderbird.exe
Added Registry String: HKLM | Software\Microsoft\Windows\CurrentVersion\App Paths\thunderbird.exe | Path | C:\Program Files\Mozilla Thunderbird
Adding Shortcuts
Added Shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\C:\ProgramData\Microsoft\Windows\Start MenuDir\Mozilla Thunderbird.lnk
Added Quick Launch Shortcut: Mozilla Thunderbird.lnk
Setting as the default mail application
Mozilla Thunderbird Installation Finished: 2014-11-30 13:28:54 -
Is workflow log available in SM37??
hello experts,
I am new to workflow and hence i want to know whether any joblog is avaiable in SM37 transaction when a Workflow is executed in background???Try to search with User Id WF-BATCH.
thanks
Arghadip -
Change logs not available for tables
Hi Experts,
Is there any change logs available for the tables PCEC, FTXP, T030
We need to add logs so that we can keep track of the changes.
Please let me know if someone knows the solution.
Regards,
SrinivasDear Srinivas,
Go to SE11 and key in your table, then select Display.
In the top, you will be able to see Technical Settings Button. click on it.
It will show you the technical details for that table.
There will be an indicator at the bottom LOG DATA CHANGES.
If this indicator has been set, then only the changes will be recorded.
For change log, you shall make use of the transaction SCU3.
AUT10 shall also be used.
thank you
Venkatesh -
Query on available.log file process list
Hi gurus,
I am aware that available.log is the file where we can see the status of the monitored process for an instance and it is located in work directory.
I also guess it is not 100% reliable.
I would like to know what are the monitored process for available.log in a solaris environment.
the process monitored in the list are getting stop/started frequently.
I would like to check which processes are those .
Thanks,
SowmyaHi Sunny,
Thanks for your info.
This file is getting updated frequently .
that means the processes are getting restarted frequently , isn't it?
Please find the details from the log ::
Available 29.07.2010 14:45:22 - 29.07.2010 14:45:22
Unavailable 29.07.2010 14:45:27 - 29.07.2010 14:45:27
Available 29.07.2010 14:46:23 - 29.07.2010 14:46:23
Unavailable 29.07.2010 14:46:27 - 29.07.2010 14:46:27
Available 29.07.2010 14:47:23 - 29.07.2010 14:47:23
Unavailable 29.07.2010 14:47:27 - 29.07.2010 14:47:27
Available 29.07.2010 14:48:23 - 29.07.2010 14:48:23
Unavailable 29.07.2010 14:48:27 - 29.07.2010 14:48:27
Available 29.07.2010 14:49:23 - 29.07.2010 14:49:23
Unavailable 29.07.2010 14:49:27 - 29.07.2010 14:49:27
Available 29.07.2010 14:50:23 - 29.07.2010 14:50:23
Unavailable 29.07.2010 14:50:27 - 29.07.2010 14:50:27
Available 29.07.2010 14:51:23 - 29.07.2010 14:51:23
Unavailable 29.07.2010 14:51:27 - 29.07.2010 14:51:27
Available 29.07.2010 14:52:23 - 29.07.2010 14:52:23
Unavailable 29.07.2010 14:52:27 - 29.07.2010 14:52:27
Available 29.07.2010 14:53:23 - 29.07.2010 14:53:23
Unavailable 29.07.2010 14:53:27 - 29.07.2010 14:53:27
But the server is up and running fine .
Is this file 100% reliable?
Or can it be a bug somewhere ,for ex may be kernel bug which is updating the file incorrectly? -
Hi All,
I am on 10.0 SP10
I have gone through some threads on GRC portal on EAM logs non-availability and they talk mostly about following causes,
TIME difference.
I have following in my GRC foundation and plugin system
Should last and second last time fields display same value? is this the meaning of having the synch in time.
SM19, STAD, SM49
I have activated SM19 (Collecting data I can see in SM20) , STAD also working fine.
But after this too there is not data in following tables after EAM synch
GRACAUDITLOG
GRACCHANGELOG
GRACOSCMDLOG
GRACSYSTEMLOG
Only table GRACFFLOG has entries which I am getting in FFID login notification.
Any advice please?
BR,
MangeshDear Friends,
The issue is resolved, here are the details so it may help others,
I am on AC 10.0 SP10 and backend ECC6/ GRCPINW V1000_731 0004 SAPK-10504INGRCPINW SAP GRC NW Plug-in
I have corrected time zones for the same,
GRC and ECC now on the same time zone and time. (INDIA)
OS servers were on time zone (INDIA) (So cannot confirm if we need SAP application as well as OS on same time zone)
I have applied note 1893579 on backend system,
After applying note EAM synch job filled GRAC*LOG tables and after batch risk analysis I have all logs available in EAM consolidated log reports.
My analysis,
I also trying to link the entries form GRACFFLOG to check for time stamp, this table has respective time stamp in UTC time zone against FFID entries, they still have the same, so do not conclude that if GRACFFLOG stamps should be in synch, which was the mistake I commited during troubleshooting.
Hope this will help someone. Feel free to ask question if any, would be happy to help, always.
BR,
Mangesh -
REPORT zbdc_me38
NO STANDARD PAGE HEADING LINE-SIZE 255.
*include bdcrecx1.
*parameters: dataset(132) lower case.
*** DO NOT CHANGE - the generated data section - DO NOT CHANGE ***
* If it is nessesary to change the data section use the rules:
* 1.) Each definition of a field exists of two lines
* 2.) The first line shows exactly the comment
* '* data element: ' followed with the data element
* which describes the field.
* If you don't have a data element use the
* comment without a data element name
* 3.) The second line shows the fieldname of the
* structure, the fieldname must consist of
* a fieldname and optional the character '_' and
* three numbers and the field length in brackets
* 4.) Each field must be type C.
*** Generated data section with specific formatting - DO NOT CHANGE ***
DATA: file_path TYPE string.
DATA:
l_log_handle TYPE balloghndl,
l_s_log TYPE bal_s_log,
l_s_msg TYPE bal_s_msg,
l_msgno TYPE symsgno.
DATA: i_bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
* messages of call transaction
DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
* error session opened (' ' or 'X')
DATA: E_GROUP_OPENED.
* message texts
TABLES: T100.
DATA: BEGIN OF record OCCURS 0,
* data element: EVRTN
EVRTN_001(010),
* data element: AUFEP
EBELP_002(005),
* data element: TCSELFLAG
TCSELFLAG_01_003(001),
* data element: ETNR1
ETNR1_004(004),
* data element: LPEIN
LPEIN_02_005(001),
* data element: EEIND
EEIND_02_006(010),
* data element: ETMEN
MENGE_02_007(017),
* data element: ETNR1
ETNR1_008(004),
END OF record.
START-OF-SELECTION.
SELECTION-SCREEN BEGIN OF BLOCK mode WITH FRAME TITLE text-003.
PARAMETERS: file_url TYPE rlgrap-filename MODIF ID xyz .
SELECTION-SCREEN END OF BLOCK mode .
INITIALIZATION.
PERFORM log_create.
*PARAMETERS: dataset(132) lower case.
*perform open_dataset using dataset.
*Uploading data from the local file C:\MSchedule.txt
*CALL FUNCTION 'WS_UPLOAD'
* EXPORTING
* FILENAME = 'C:\MSCHEDULE.TXT'
* FILETYPE = 'DAT'
* TABLES
* data_tab = I_BDCDATA .
*IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file_url.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = ''
IMPORTING
file_name = file_url.
start-of-selection.
IF NOT file_url IS INITIAL.
MOVE file_url TO file_path.
PERFORM read_file.
ENDIF.
LOOP AT record. "Filling the BDC table with data
*read dataset dataset into record.
perform bdc_dynpro using 'SAPMM06E' '0205'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-EVRTN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RM06E-EVRTN'
record-EVRTN_001.
perform bdc_dynpro using 'SAPMM06E' '0222'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-EVRTP(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ET'.
perform bdc_field using 'RM06E-EBELP'
record-EBELP_002.
perform bdc_field using 'RM06E-TCSELFLAG(01)'
record-TCSELFLAG_01_003.
perform bdc_dynpro using 'SAPMM06E' '1117'.
perform bdc_field using 'BDC_CURSOR'
'EKET-MENGE(02)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RM06E-ETNR1'
record-ETNR1_004.
perform bdc_field using 'RM06E-LPEIN(02)'
record-LPEIN_02_005.
perform bdc_field using 'RM06E-EEIND(02)'
record-EEIND_02_006.
perform bdc_field using 'EKET-MENGE(02)'
record-MENGE_02_007.
perform bdc_dynpro using 'SAPMM06E' '1117'.
perform bdc_field using 'BDC_CURSOR'
'RM06E-LPEIN(02)'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'RM06E-ETNR1'
record-ETNR1_008.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
perform bdc_transaction using 'ME38'.
*perform bdc_dynpro using 'SAPMM06E' '0205'.
*perform bdc_field using 'BDC_CURSOR'
* 'RM06E-EVRTN'.
*perform bdc_field using 'BDC_OKCODE'
* '/00'.
*perform bdc_field using 'RM06E-EVRTN'
* record-EVRTN_001.
*perform bdc_dynpro using 'SAPMM06E' '0222'.
*perform bdc_field using 'BDC_CURSOR'
* 'RM06E-EVRTP(01)'.
*perform bdc_field using 'BDC_OKCODE'
* '=ET'.
*perform bdc_field using 'RM06E-EBELP'
* record-EBELP_002.
*perform bdc_field using 'RM06E-TCSELFLAG(01)'
* record-TCSELFLAG_01_003.
*perform bdc_dynpro using 'SAPMM06E' '1117'.
*perform bdc_field using 'BDC_CURSOR'
* 'EKET-MENGE(02)'.
*perform bdc_field using 'BDC_OKCODE'
* '/00'.
*perform bdc_field using 'RM06E-ETNR1'
* record-ETNR1_004.
*perform bdc_field using 'RM06E-LPEIN(02)'
* record-LPEIN_02_005.
*perform bdc_field using 'RM06E-EEIND(02)'
* record-EEIND_02_006.
*perform bdc_field using 'EKET-MENGE(02)'
* record-MENGE_02_007.
*perform bdc_dynpro using 'SAPMM06E' '1117'.
*perform bdc_field using 'BDC_CURSOR'
* 'RM06E-LPEIN(02)'.
*perform bdc_field using 'BDC_OKCODE'
* '=BU'.
*perform bdc_field using 'RM06E-ETNR1'
* record-ETNR1_008.
*perform bdc_dynpro using 'SAPLSPO1' '0300'.
*perform bdc_field using 'BDC_OKCODE'
* '=YES'.
*perform bdc_transaction using 'ME38'.
WAIT UP TO 2 SECONDS.
clear i_bdcdata[].
CLEAR record.
ENDLOOP.
perform log_show.
*& Form BDC_DYNPRO
* text
* -->PROGRAM text
* -->DYNPRO text
FORM bdc_dynpro USING program dynpro.
CLEAR i_bdcdata.
i_bdcdata-program = program.
i_bdcdata-dynpro = dynpro.
i_bdcdata-dynbegin = 'X'.
APPEND i_bdcdata.
ENDFORM. "BDC_DYNPRO
**& Form BDC_FIELD
** text
** -->FNAM text
** -->FVAL text
FORM bdc_field USING fnam fval.
CLEAR i_bdcdata.
i_bdcdata-fnam = fnam.
i_bdcdata-fval = fval.
APPEND i_bdcdata.
ENDFORM. "BDC_FIELD
*& Form BDC_TRANSACTION
* text
* -->TCODE text
FORM bdc_transaction USING tc TYPE sy-tcode.
DATA tcode LIKE tstc-tcode.
* tcode = 'ME38'.
CALL TRANSACTION tc USING i_bdcdata
MODE 'E' " modes can A = step by step foreground.
" mode N = background direct.
" mode E = using error display.
MESSAGES INTO messtab.
PERFORM msg_generation.
ENDFORM. "BDC_TRANSACTION
FORM read_file .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file_path
filetype = 'ASC'
has_field_separator = 'X'
* HEADER_LENGTH = 0
read_by_line = 'X'
* DAT_MODE = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* CHECK_BOM = ' '
* IMPORTING
* FILELENGTH =
* HEADER =
TABLES
data_tab = record
* EXCEPTIONS
* FILE_OPEN_ERROR = 1
* FILE_READ_ERROR = 2
* NO_BATCH = 3
* GUI_REFUSE_FILETRANSFER = 4
* INVALID_TYPE = 5
* NO_AUTHORITY = 6
* UNKNOWN_ERROR = 7
* BAD_DATA_FORMAT = 8
* HEADER_NOT_ALLOWED = 9
* SEPARATOR_NOT_ALLOWED = 10
* HEADER_TOO_LONG = 11
* UNKNOWN_DP_ERROR = 12
* ACCESS_DENIED = 13
* DP_OUT_OF_MEMORY = 14
* DISK_FULL = 15
* DP_TIMEOUT = 16
* OTHERS = 17
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " read_file
*& Form msg_generation
* text
* --> p1 text
* <-- p2 text
FORM msg_generation .
DATA: l_mstring(480).
DATA: l_subrc LIKE sy-subrc.
DATA: l_error TYPE c.
LOOP AT messtab.
* add message to log file
CLEAR l_s_msg.
l_s_msg-msgty = messtab-msgtyp.
l_s_msg-msgid = messtab-msgid.
l_s_msg-msgno = messtab-msgnr.
l_s_msg-msgv1 = messtab-msgv1.
l_s_msg-msgv2 = messtab-msgv2.
l_s_msg-msgv3 = messtab-msgv3.
l_s_msg-msgv4 = messtab-msgv4.
CALL FUNCTION 'BAL_LOG_MSG_ADD'
EXPORTING
i_log_handle = l_log_handle
i_s_msg = l_s_msg
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF messtab-msgtyp EQ 'E' OR l_subrc NE 0.
l_error = 'X'.
ENDIF.
ENDLOOP.
CLEAR messtab[].
ENDFORM. " msg_generation
*& Form log_create
* text
* --> p1 text
* <-- p2 text
FORM log_create .
CALL FUNCTION 'BAL_LOG_CREATE'
EXPORTING
i_s_log = l_s_log
IMPORTING
e_log_handle = l_log_handle
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " log_create
*& Form log_show
* text
* --> p1 text
* <-- p2 text
FORM log_show .
DATA:
l_s_display_profile TYPE bal_s_prof.
* get a prepared profile
CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET'
IMPORTING
e_s_display_profile = l_s_display_profile
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* use grid for display if wanted
l_s_display_profile-use_grid = 'X'.
* set report to allow saving of variants
l_s_display_profile-disvariant-report = sy-repid.
* when you use also other ALV lists in your report,
* please specify a handle to distinguish between the display
* variants of these different lists, e.g:
l_s_display_profile-disvariant-handle = 'LOG'.
* call display function module
* We do not specify any filter (like I_S_LOG_FILTER, ...,
* I_T_MSG_HANDLE) since we want to display all logs available
CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
EXPORTING
i_s_display_profile = l_s_display_profile
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " log_showIt's not possible to delete an iCloud account.
You can turn off the services, but that doesn't delete the account.
Maybe you are looking for
-
Customer exit variable in Report designer
Hello, I have created one Customer Exit variable ( variable ready for input) for one of the characteristics in a query. However, when i execute this query in Report designer, the selection variable is not appearing. It is just taking the variable val
-
GetPivotData with cell reference in a Table
I was told that this might be a better place to post this question than Microsoft Answers for Office. I have a Table in which I need to use a GetPivotData function. I need to use a cell reference in that GetPivotData function. I have done this befo
-
Why are my keywords not in sync?
My keywords are not syncing between iOS devices and Mac. The iOS devices(iPhone 6 and iPad Air) are running iOS 8 and recently iCloud Drive. However I have had this problem prior to switching over to iCloud Drive on iOS 8. A while back I had the same
-
Please help. My daughter has updated her iPad with iOS 6.1.3 and it now keeps crashing after a few seconds use..we have tried a rest and this doesn't help. Thx
-
PLS-00306: wrong number or types of arguments in call to 'IS NULL'
Hello in a nutshell, the following script doesn't work as expected: DECLARE v_Flight CORE.T_Flight%RowType := NULL; BEGIN IF (v_Flight IS NULL) THEN DBMS_OUTPUT.PUT_LINE('v_Flight is null'); END IF; END; whereby 'CORE.T_Flight' is an existing DB tabl