Notification Action Log missing fields
Hello,
We are working with Quality Notifications in SAP and have found the following issue:
Some of the changes made on a quality notification do not get recorded in the action log. Examples are: Additional batch field, Subject long text, adding or deleting attachments, deleting a task, creating a defect, etc.
How do I check which fields are relevant to be shown in the action log? can we add more fields to be relevant to the action log ? Have you found any workaround for this problem?
Any input will be appreciated...
Thanks,
Jose
Hi Jose,
Did you find the solution to your problem?
I'm also trying add some fields to check for the Action Log and unable to find it in the Config.
Thanks,
Arthi
Similar Messages
-
Hi all,
Is it possible for me to determine the fields, in the work order, that are relevant for the action log? I have noticed that not all changes are displayed in the action log even if the data element for the field is flagged for change documents.
Thanking you in advance for your assistance
MHi,
Check the various flags in customizing transaction OIOE based on plant and order type. If customizing is adjusted the changes are only effective for new orders.
-Paul
Moving to [Enterprise Asset Management (EAM)|Enterprise Asset Management (SAP EAM); forum -
Using MISSING FIELD VALUES ARE NULL for external table
I want to place a null for values missing in the sub_account field. Here is my external table:
CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_log_dir
AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\log';
CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_bad_dir
AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\bad';
create table ext_INCOMING_ORDERS_table (
Account varchar(5),
Sub_Account varchar(1),
Override_Code varchar(1),
Nomenclature varchar(28),
chg_nbr varchar(3),
quantity integer,
U_I varchar(5),
zipcode varchar(5),
type_reject varchar(2)
organization external
type oracle_loader
default directory user_dir
access parameters
records delimited by newline
missing field values are null
badfile INCOMING_ORDERS_bad_dir:'INCOMING_ORDERS%a_%p.bad'
logfile INCOMING_ORDERS_log_dir:'INCOMING_ORDERS%a_%p.log'
fields
Account(1:5) char(5),
Sub_Account(7:7) char(1),
Override_Code(10:10) char(1),
Nomenclature(11:38) char(28),
chg_nbr(40:42) char(3),
quantity(44:48) integer external,
U_I(50:54) char(5),
zipcode(56:60) char(5),
type_reject(61:62) char(2)
location('PTCLICK.MANUAL.NOMEN.TXT','PTCLICK.ORDERS.TXT', 'EUR_RES.TXT', 'MQ.TXT', 'BPRO.TXT')
reject limit unlimited;
How can I place the MISSING FIELD VALUES ARE NULL for missing values for the sub_account?made the change I received this error:
SQL> select * from ext_INCOMING_ORDERS_table;
select * from ext_INCOMING_ORDERS_table
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-00554: error encountered while parsing access parameters
KUP-01005: syntax error: found "no": expecting one of: "comma, date_format,
defaultif, enclosed, ltrim, lrtrim, ldrtrim, notrim, nullif, optionally, ),
rtrim, terminated"
KUP-01007: at line 7 column 26
CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_log_dir
AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\log';
CREATE OR REPLACE DIRECTORY INCOMING_ORDERS_bad_dir
AS 'c:\starpubs\starpubs\dataformats\logs\INCOMING_ORDERS\bad';
create table ext_INCOMING_ORDERS_table (
Account varchar(5),
Sub_Account varchar(1),
Override_Code varchar(1),
Nomenclature varchar(28),
chg_nbr varchar(3),
quantity integer,
U_I varchar(5),
zipcode varchar(5),
type_reject varchar(2)
organization external
type oracle_loader
default directory user_dir
access parameters
records delimited by newline
badfile INCOMING_ORDERS_bad_dir:'INCOMING_ORDERS%a_%p.bad'
logfile INCOMING_ORDERS_log_dir:'INCOMING_ORDERS%a_%p.log'
fields
Account(1:5) char(5),
Sub_Account(7:7) char(1) NO PRESERVE BLANKS,
Override_Code(10:10) char(1),
Nomenclature(11:38) char(28),
chg_nbr(40:42) char(3),
quantity(44:48) integer external,
U_I(50:54) char(5),
zipcode(56:60) char(5),
type_reject(61:62) char(2)
location('PTCLICK.MANUAL.NOMEN.TXT','PTCLICK.ORDERS.TXT', 'EUR_RES.TXT', 'MQ.TXT', 'BPRO.TXT')
reject limit unlimited; -
E-mail Alert Notification Action doesn't work
Don't receive Alert notifications on email.
Attributes-> Actions-> Critical Action send to email.
At occurrence Critical Alert of the notification are not sent on email.
If a host or the agent are not accessible, the notification is sent on my email.
How to solve this problem or where see Actions log.
I use the built in module of sending notificationns email.sh.
Whether it's necessary to adjust on each server "Sendmail" for sending notifications or to adjust "Sendmail" on a server where it's installed SunMC.
Enough in that case it's better to use Halcyon PrimeAlert EventAction????
Any Idea?You're right: if you're using the default out-of-the-box email actions, then you need to make sure sendmail is set up on every system with an Agent.
Quite often production systems are running restricted Solaris installs without sendmail, or are behind a firewall that denies email.. that's when you'd really want EventAction (so you only need sendmail on your SunMC Server).
EventAction really is the way to go for any kind of SunMC notification/integration... ...but I work for Halcyon, so you have to assume I'm a biased vendor :)
Regards,
[email protected]
http://www.HalcyonInc.com -
Hi Guys,
Can anybody tell me how to see action logs for sales documents?Also i want to know how to change sales doc type...( i know we can mention in vov8...alt.sales doc types...how to get that(configure) list(in my system list is empty).What i am supposed to do from va01 side?
Points for sure
Thanks
RamaChandraChange logs
Go to the order in VA03 and in the menu
Environment----Changes
Here you can mention the line item and see the change logs.
You can sort the logs based on header, item, sch.line, date etc
It will also show you the old value and new value, changed by and the changed time.
Alternate sales doc type
In VOV8 you can mention the alternate sales docu type
Once this is done, come to VA01 and give hte original dcument number
Once you enter teh screen to enter the sold to party, at the header level, there will be radio button to select the other sales document also. If you want you can now select the other doc type.
That radio button enabling you to select the other doc type will be near to the Requested Delivery date field at the header level.
Here you can select the other document type.
Hope this helps.
Reward if this helps. -
No change documents exist in action log @ PM order
I have created Z order type copying PM01 , when I am testing this for action loge it is giving message No change documents exist
Am I missing some config ?Make sure you have activated change documents for the order type /plant combination under SPRO > PM > Maintenance and service processing > Orders > Settings for order type > Define change documents.
Regards
Narasimhan -
VIMp: Writing to Action Log
Hi gurus,o
I want to write en error message to action log based on someion in myy program condit.Please suggest FM to be used in my code.
I tried using code
g_protocol = cl_log_ppf=>create_log( ip_object = 'PPF' ).
MESSAGE s030(sppf_media) INTO g_dummy.
cl_log_ppf=>add_message( ip_problemclass = sppf_pclass_1
ip_handle = g_protocol ).
The above code didnt gernerate my message in action log.
Also i tried using FM BAL_LOG_MSG_ADD and 'CRM_MESSAGE_COLLECT.
Still no solution.I think some parameters are missing in the above FM.Can anyone of you who have worked on the same provide me a sample code.
Or is there any otehr FM to be used..
Please reply,
Points will be rewarded.LGWR writes synchronously to the active mirrored group of redo log files.If one of the files in the group is damaged or unavailable, LGWR continues writing to other files in the group and logs an error in the LGWR trace file and in the system alert file.
See the follwoing fro more detail:
http://stanford.edu/dept/itss/docs/oracle/10g/server.101/b10743/process.htm -
PDF Form Submit Alert to find missing fields
I have created a PDF form using Adobe Acrobat X Pro for our website and am testing it. When I submit my form, but have left required fields blank, I want it to locate those blank fields. Instead it makes me find the missing fields, which is hard to do on my complex form. Please help I have searched and found no answers.
I see. You can't change this built-in feature behavior, but you could implement your own scheme with JavaScript. The problem with this approach is it won't work if JavaScript is disabled or not (fully) supported, as with most mobile PDF viewers. It would involve replacing the Submit Form action with the submitForm JavaScript method, but only after a script scans the required fields to see if any are blank. The script could set just the missing fields' border color and even set the focus to the first missing one. One problem with setting the border color is it would print in that color, unlike the other type of highlighting.
If you want to pursue this JavaScript option, post again. -
Dear All,
Can anyone please tell in which table data of action logs for maintenance orders,purchase
requisition,maintenance plan with maintenance item stores? please note that in SPRO ,change
documents for maintenance plans is not flagged.Even though is it possible to view changes at
table level for maintenace plan & item.For other document type, the check box for change
document is flagged.
I need these tables name to pull both new & old value for any changes of a field for the
maintenance order,purchange requisiotion,maintenance plan or maintenace item.
Thanks in advance.
Rgds
RajibHi Sunil,
Thanks for your response.But in table CDPOS ,I am entering maintenace order no in field
OBJECTCLAS or in other field also OBJECTID,sytem is throughing message as no values found.
Even I have tried by entering the order no in field OBJECTID .But same result.While from front
screen in IW33 following menu path extras-action log , changes are reflecting.Can
you please tell where I am doing mistake?
Also what about change document in maintenace plan/item as in SPRO change documents check box
are not flagged.Is it possible to get the change document in CDPOS table even though in SPRO
it is not maintained.
Thanks in advance
Rgds
Rajib -
Capture process issue...archive log missing!!!!!
Hi,
Oracle Streams capture process is alternating between INITIALIZING and DICTIONARY INITIALIZATION state and not proceeding after this state to capture updates made on table.
we have accidentally missing archivelogs and no backup archive logs.
Now I am going to recreate the capture process again.
How I can start the the capture process from new SCN ?
And Waht is the batter way to remove the archive log files from central server, because
SCN used by capture processes?
Thanks,
Faziarain
Edited by: [email protected] on Aug 12, 2009 12:27 AMUsing dbms_Streams_Adm to add a capture, perform also a dbms_capture_adm.build. You will see in v$archived_log at the column dictionary_begin a 'yes', which means that the first_change# of this archivelog is first suitable SCN for starting capture.
'rman' is the prefered way in 10g+ to remove the archives as it is aware of streams constraints. If you can't use rman to purge the archives, then you need to check the min required SCN in your system by script and act accordingly.
Since 10g, I recommend to use rman, but nevertheless, here is the script I made in 9i in the old time were rman was eating the archives needed by Streams with appetite.
#!/usr/bin/ksh
# program : watch_arc.sh
# purpose : check your archive directory and if actual percentage is > MAX_PERC
# then undertake the action coded by -a param
# Author : Bernard Polarski
# Date : 01-08-2000
# 12-09-2005 : added option -s MAX_SIZE
# 20-11-2005 : added option -f to check if an archive is applied on data guard site before deleting it
# 20-12-2005 : added option -z to check if an archive is still needed by logminer in a streams operation
# set -xv
#--------------------------- default values if not defined --------------
# put here default values if you don't want to code then at run time
MAX_PERC=85
ARC_DIR=
ACTION=
LOG=/tmp/watch_arch.log
EXT_ARC=
PART=2
#------------------------- Function section -----------------------------
get_perc_occup()
cd $ARC_DIR
if [ $MAX_SIZE -gt 0 ];then
# size is given in mb, we calculate all in K
TOTAL_DISK=`expr $MAX_SIZE \* 1024`
USED=`du -ks . | tail -1| awk '{print $1}'` # in Kb!
else
USED=`df -k . | tail -1| awk '{print $3}'` # in Kb!
if [ `uname -a | awk '{print $1}'` = HP-UX ] ;then
TOTAL_DISK=`df -b . | cut -f2 -d: | awk '{print $1}'`
elif [ `uname -s` = AIX ] ;then
TOTAL_DISK=`df -k . | tail -1| awk '{print $2}'`
elif [ `uname -s` = ReliantUNIX-N ] ;then
TOTAL_DISK=`df -k . | tail -1| awk '{print $2}'`
else
# works on Sun
TOTAL_DISK=`df -b . | sed '/avail/d' | awk '{print $2}'`
fi
fi
USED100=`expr $USED \* 100`
USG_PERC=`expr $USED100 / $TOTAL_DISK`
echo $USG_PERC
#------------------------ Main process ------------------------------------------
usage()
cat <<EOF
Usage : watch_arc.sh -h
watch_arc.sh -p <MAX_PERC> -e <EXTENTION> -l -d -m <TARGET_DIR> -r <PART>
-t <ARCHIVE_DIR> -c <gzip|compress> -v <LOGFILE>
-s <MAX_SIZE (meg)> -i <SID> -g -f
Note :
-c compress file after move using either compress or gzip (if available)
if -c is given without -m then file will be compressed in ARCHIVE DIR
-d Delete selected files
-e Extention of files to be processed
-f Check if log has been applied, required -i <sid> and -g if v8
-g Version 8 (use svrmgrl instead of sqlplus /
-i Oracle SID
-l List file that will be processing using -d or -m
-h help
-m move file to TARGET_DIR
-p Max percentage above wich action is triggered.
Actions are of type -l, -d or -m
-t ARCHIVE_DIR
-s Perform action if size of target dir is bigger than MAX_SIZE (meg)
-v report action performed in LOGFILE
-r Part of files that will be affected by action :
2=half, 3=a third, 4=a quater .... [ default=2 ]
-z Check if log is still needed by logminer (used in streams),
it requires -i <sid> and also -g for Oracle 8i
This program list, delete or move half of all file whose extention is given [ or default 'arc']
It check the size of the archive directory and if the percentage occupancy is above the given limit
then it performs the action on the half older files.
How to use this prg :
run this file from the crontab, say, each hour.
example
1) Delete archive that is sharing common arch disk, when you are at 85% of 2500 mega perform delete half of the files
whose extention is 'arc' using default affected file (default is -r 2)
0,30 * * * * /usr/local/bin/watch_arc.sh -e arc -t /arc/POLDEV -s 2500 -p 85 -d -v /var/tmp/watch_arc.POLDEV.log
2) Delete archive that is sharing common disk with oother DB in /archive, act when 90% of 140G, affect by deleting
a quater of all files (-r 4) whose extention is 'dbf' but connect before as sysdba in POLDEV db (-i) if they are
applied (-f is a dataguard option)
watch_arc.sh -e dbf -t /archive/standby/CITSPRD -s 140000 -p 90 -d -f -i POLDEV -r 4 -v /tmp/watch_arc.POLDEV.log
3) Delete archive of DB POLDEV when it reaches 75% affect 1/3 third of files, but connect in DB to check if
logminer do not need this archive (-z). this is usefull in 9iR2 when using Rman as rman do not support delete input
in connection to Logminer.
watch_arc.sh -e arc -t /archive/standby/CITSPRD -p 75 -d -z -i POLDEV -r 3 -v /tmp/watch_arc.POLDEV.log
EOF
#------------------------- Function section -----------------------------
if [ "x-$1" = "x-" ];then
usage
exit
fi
MAX_SIZE=-1 # disable this feature if it is not specificaly selected
while getopts c:e:p:m:r:s:i:t:v:dhlfgz ARG
do
case $ARG in
e ) EXT_ARC=$OPTARG ;;
f ) CHECK_APPLIED=YES ;;
g ) VERSION8=TRUE;;
i ) ORACLE_SID=$OPTARG;;
h ) usage
exit ;;
c ) COMPRESS_PRG=$OPTARG ;;
p ) MAX_PERC=$OPTARG ;;
d ) ACTION=delete ;;
l ) ACTION=list ;;
m ) ACTION=move
TARGET_DIR=$OPTARG
if [ ! -d $TARGET_DIR ] ;then
echo "Dir $TARGET_DIR does not exits"
exit
fi;;
r) PART=$OPTARG ;;
s) MAX_SIZE=$OPTARG ;;
t) ARC_DIR=$OPTARG ;;
v) VERBOSE=TRUE
LOG=$OPTARG
if [ ! -f $LOG ];then
> $LOG
fi ;;
z) LOGMINER=TRUE;;
esac
done
if [ "x-$ARC_DIR" = "x-" ];then
echo "NO ARC_DIR : aborting"
exit
fi
if [ "x-$EXT_ARC" = "x-" ];then
echo "NO EXT_ARC : aborting"
exit
fi
if [ "x-$ACTION" = "x-" ];then
echo "NO ACTION : aborting"
exit
fi
if [ ! "x-$COMPRESS_PRG" = "x-" ];then
if [ ! "x-$ACTION" = "x-move" ];then
ACTION=compress
fi
fi
if [ "$CHECK_APPLIED" = "YES" ];then
if [ -n "$ORACLE_SID" ];then
export PATH=$PATH:/usr/local/bin
export ORAENV_ASK=NO
export ORACLE_SID=$ORACLE_SID
. /usr/local/bin/oraenv
fi
if [ "$VERSION8" = "TRUE" ];then
ret=`svrmgrl <<EOF
connect internal
select max(sequence#) from v\\$log_history ;
EOF`
LAST_APPLIED=`echo $ret | sed 's/.*------ \([^ ][^ ]* \).*/\1/' | awk '{print $1}'`
else
ret=`sqlplus -s '/ as sysdba' <<EOF
set pagesize 0 head off pause off
select max(SEQUENCE#) FROM V\\$ARCHIVED_LOG where applied = 'YES';
EOF`
LAST_APPLIED=`echo $ret | awk '{print $1}'`
fi
elif [ "$LOGMINER" = "TRUE" ];then
if [ -n "$ORACLE_SID" ];then
export PATH=$PATH:/usr/local/bin
export ORAENV_ASK=NO
export ORACLE_SID=$ORACLE_SID
. /usr/local/bin/oraenv
fi
var=`sqlplus -s '/ as sysdba' <<EOF
set pagesize 0 head off pause off serveroutput on
DECLARE
hScn number := 0;
lScn number := 0;
sScn number;
ascn number;
alog varchar2(1000);
begin
select min(start_scn), min(applied_scn) into sScn, ascn from dba_capture ;
DBMS_OUTPUT.ENABLE(2000);
for cr in (select distinct(a.ckpt_scn)
from system.logmnr_restart_ckpt\\$ a
where a.ckpt_scn <= ascn and a.valid = 1
and exists (select * from system.logmnr_log\\$ l
where a.ckpt_scn between l.first_change# and l.next_change#)
order by a.ckpt_scn desc)
loop
if (hScn = 0) then
hScn := cr.ckpt_scn;
else
lScn := cr.ckpt_scn;
exit;
end if;
end loop;
if lScn = 0 then
lScn := sScn;
end if;
select min(sequence#) into alog from v\\$archived_log where lScn between first_change# and next_change#;
dbms_output.put_line(alog);
end;
EOF`
# if there are no mandatory keep archive, instead of a number we just get the "PLS/SQL successfull"
ret=`echo $var | awk '{print $1}'`
if [ ! "$ret" = "PL/SQL" ];then
LAST_APPLIED=$ret
else
unset LOGMINER
fi
fi
PERC_NOW=`get_perc_occup`
if [ $PERC_NOW -gt $MAX_PERC ];then
cd $ARC_DIR
cpt=`ls -tr *.$EXT_ARC | wc -w`
if [ ! "x-$cpt" = "x-" ];then
MID=`expr $cpt / $PART`
cpt=0
ls -tr *.$EXT_ARC |while read ARC
do
cpt=`expr $cpt + 1`
if [ $cpt -gt $MID ];then
break
fi
if [ "$CHECK_APPLIED" = "YES" -o "$LOGMINER" = "TRUE" ];then
VAR=`echo $ARC | sed 's/.*_\([0-9][0-9]*\)\..*/\1/' | sed 's/[^0-9][^0-9].*//'`
if [ $VAR -gt $LAST_APPLIED ];then
continue
fi
fi
case $ACTION in
'compress' ) $COMPRESS_PRG $ARC_DIR/$ARC
if [ "x-$VERBOSE" = "x-TRUE" ];then
echo " `date +%d-%m-%Y' '%H:%M` : $ARC compressed using $COMPRESS_PRG" >> $LOG
fi ;;
'delete' ) rm $ARC_DIR/$ARC
if [ "x-$VERBOSE" = "x-TRUE" ];then
echo " `date +%d-%m-%Y' '%H:%M` : $ARC deleted" >> $LOG
fi ;;
'list' ) ls -l $ARC_DIR/$ARC ;;
'move' ) mv $ARC_DIR/$ARC $TARGET_DIR
if [ ! "x-$COMPRESS_PRG" = "x-" ];then
$COMPRESS_PRG $TARGET_DIR/$ARC
if [ "x-$VERBOSE" = "x-TRUE" ];then
echo " `date +%d-%m-%Y' '%H:%M` : $ARC moved to $TARGET_DIR and compressed" >> $LOG
fi
else
if [ "x-$VERBOSE" = "x-TRUE" ];then
echo " `date +%d-%m-%Y' '%H:%M` : $ARC moved to $TARGET_DIR" >> $LOG
fi
fi ;;
esac
done
else
echo "Warning : The filesystem is not full due to archive logs !"
exit
fi
elif [ "x-$VERBOSE" = "x-TRUE" ];then
echo "Nothing to do at `date +%d-%m-%Y' '%H:%M`" >> $LOG
fi -
Chnage or Action Log for PERMIT
Hi All,
Many of our objects in SAP have a change or action log. I cannot find such a log for PERMITs.
Are you aware of any such change log, or is there a configuration setting to enable changes in PERMITs to be reflected in the overall PM Order Change Log? Do you have to turn on some sort of CHANGE option to track changes for permits?Hi,
The individual fields that are changeable do not have 'change document' flagged on data element. Example - for field 'order release' the data element K_AF is not flagged. Similar for other fields so no change documents will be created.
Anyway there is no change document functionality built into the permit maintenance transaction IPMD.
-Paul -
Action Log Entry Private is "Blue" not ticked.
Hi Colleagues,
i have a question. Maybee i only didn`t see the awnser in the admin guide.
When you have a Action Log Comment sometimes the comment is not ticked as private it`s the field is "filed" out in blue.
What does this mean?Comments with this item checked will not show on the end user portal. since this is SQL bool under the covers, it has three possible values. TRUE (i.e. this comment should NOT be shown to user), FALSE (it's ok to show this to users) and NULL (?).
I believe, but can't confirm, that null comments are shown to users. -
hello all,
i have an requirement related to 'IW32'.
run the tcode iw32 enter a work order.
then extra->document for header -> action log
then you will get the log in which u get who last changed and changed date of work order.
My question is regarding table in which this log will maintain or
is there any function module which can give me log detail based on this work order.
Please help me.
regards.hi paul,
thanks for your answer and your valuable time . but i already got these table by debugging .
But i am facing a different problem.
as in table "CDHDR" contain a field "OBJECTID" and i am getting from table "AUFK" fields "AUFNR, OBJNR " I need a relation to get the data from "CDHDR" based on the data that i got from "AUFK"
Mean i need a relation between "AUFNR or OBJNR " and "OBJECTID" .
regards
Punit -
Equipment action log and display changes nnot updating
Hello Guys,
it is little strange but for some of the equipments action log and display changes are not being updated.
The records are there only till 2007 but since 2008 whatever changes we make now they are not being recorded in action log or changes.
But strange thing here is usage list is being updated as it is supposed to be.
i have checked most of the config. but really not helpful.
i am clueless here.
Can anyone help?
Thanks & Regards,
vaibhavHi,
Please see attached code for your review:
Appreciate your valuable comments.
INCLUDE ZXEQMU02
*By: Ralph McKnight/AC Date: Mar061998.
*Description: Additional fields to be saved on append structures
during equipment add/change - This development was
Undertaken as a core modification - The exporting
function parameters were changes to pass back the
structures with the new user values.
*Sir4726 - Disable equipment popup box for equipment type 'E'
*Sartd42467-Add kokrs & kostl to auto maint
*By Ralph McKnight Apr161998.
*SARTD 75148 - 4.6C Upgrade, CH4K902173, Import/Export parameters can no
longer have the same names, added a Changing parameter to
return the changed values of EQUI and EQUZ to save the
append structure fields ZAEQUI and ZAEQUZ for Job
Resource Scheduling.
- Also set the flags to update EQUI and EQUZ.
by: HBAY342
*SARTD 92504 - Save new maintenance plant into ABAP memory. Needed for
9/26/02 E.Krenz
*SARTD 109167 - AMI Foreign Trade REquirement. - Validations against
- AMI Foreign Trade Synchronization tables(ZAESYNCDIV &
(ZAESYNCMAT) before save
of the equipment.
SARTD 111318 - CHLK9A0I4A Check Equipment Acquisition Date, Value and
currency to avoid dump by SAP Standard system
SARTD 113133 AMI project: Added function call to prevent users from
manually changing equipments when it is on a AMI transfer
form.
KR 140649 AMI: Added parameter to FM call
for Z_AMI_CHCK_IE02_UPDATE_ALLOWED. E.Krenz 12/23/03
03/02/2004 HBB8705 CHLK9A0WYR EQUZ Append field rename
Modification Log
Date User Transport KR Description
06/29/2005 HBAK946 CHLK9A1N05 169999 RA Equipment Lockdown
If equip is RA, check authority
If no auth., then issue a mess
06/30/2005 HBAK946 CHLK9A1N29 169999 RA Equipment Lockdown
Only process RA check if in
t-code IE01, IE02 will be
handled in user-exit
Begin of CH4K902173 - 4.6C upgrade - Changed import/export/changing
parameters
Old way follows:
*This is how the call to this routine should look with our mods.
*Note: the changes to the std are labeled with "DS Part 6 - RGM1
call customer-function '001'
exporting
data_equi = equi
data_eqkt = eqkt
data_equz = equz
data_iloa = iloa
importing
own_msg = own_msg
data_equi = equi "DS Part 6 - RGM1
data_eqkt = eqkt "DS Part 6 - RGM1
data_equz = equz "DS Part 6 - RGM1
data_iloa = iloa "DS Part 6 - RGM1
exceptions
posting_not_allowed = 1
others = 2.
New way follows:
CALL CUSTOMER-FUNCTION '001'
EXPORTING
ACTIVITY_TYPE = ACTIVITY_TYPE
DATA_EQUI = EQUI
DATA_EQKT = EQKT
DATA_EQUZ = EQUZ
DATA_ILOA = ILOA
MAIN_CLASS = RM63E-KLASSE
DATA_RM63E = RM63E
IMPORTING
UPDATE_DATA_EQ = UPDATE_DATA_EQ
UPDATE_FLAGS_EQ = UPDATE_FLAGS_EQ
UPDATE_DATA_EZ = UPDATE_DATA_EZ
UPDATE_FLAGS_EZ = UPDATE_FLAGS_EZ
CHANGING
CHGD_EQUI = EQUI
CHGD_EQUZ = EQUZ
EXCEPTIONS
POSTING_NOT_ALLOWED = 1
POSTING_NOT_ALLOWED_EXT = 2
OTHERS = 3.
End of CH4K902173 - 4.6C upgrade - Changed import/export/changing
Changes for SARTD 111318 to check Acquisition Date, Value and currency
Commented By Nikhil. Function Module looks to be specific for US.
*data: v_retval like sy-subrc.
"CHLK9A0I4A
*call function 'Z_VERIFY_ACQUISITION_DATA'
"CHLK9A0I4A
exporting
"CHLK9A0I4A
p_equi = data_equi
"CHLK9A0I4A
importing
"CHLK9A0I4A
retval = v_retval.
"CHLK9A0I4A
*if v_retval ne 0.
"CHLK9A0I4A
raise posting_not_allowed.
"CHLK9A0I4A
*endif.
"CHLK9A0I4A
End of changes for SARTD 111318
*======================================================================
Begin of AMI
*======================================================================
Begin of insert SARTD 113133
read calling AMI program
DATA: z_ami_program(30) TYPE c.
CALL FUNCTION 'Z_AMI_CHECK_AMI_PRG_ACTIVE'
IMPORTING
p_ami_program = z_ami_program.
AMI validations if Equipment Update is allowed
For checking Equipment Check permission.
CALL FUNCTION 'Z_AMI_CHCK_IE02_UPDATE_ALLOWED'
EXPORTING
active_ami_program = z_ami_program
data_equz = data_equz
data_equi = data_equi
data_iloa = data_iloa
main_class = main_class
data_rm63e = data_rm63e
EXCEPTIONS
update_not_allowed = 8.
IF sy-subrc NE 0.
RAISE posting_not_allowed.
ENDIF.
Commented By Nikhil. Function Module looks to be specific for US.
checks for equipment ring fencing (only for manual IE02)
*if z_ami_program is initial.
call function 'Z_AMI_IE02_EXIT_RING_FENCING'
exporting
data_equz = data_equz
data_rm63e = data_rm63e
exceptions
update_not_allowed = 8.
if sy-subrc ne 0.
raise posting_not_allowed.
endif.
*endif.
End of INSERT SARTD 113133
*======================================================================
End of AMI
*======================================================================
*======================================================================
Begin of RA Equipment Lockdown >> CHLK9A1N05
*======================================================================
check if equipment is Radio Active
DATA: i_matnr_tab LIKE zhazind OCCURS 0 WITH HEADER LINE.
DATA: v_land1(3) TYPE c.
DATA: v_ra_flag(1) TYPE c.
*Begin of code insertion by pavan on 02 June, 2008.
DATA: zeqpnr_eccn-zeccn TYPE zeqpnr_eccn-zeccn,
wa_zeqpnr_eccn TYPE zeqpnr_eccn.
break pkumar.
IF sy-ucomm = 'BU'.
IMPORT zeqpnr_eccn-zeccn FROM MEMORY ID 'ZECCNUM'.
MOVE: data_equi-equnr TO wa_zeqpnr_eccn-zeqnr,
zeqpnr_eccn-zeccn TO wa_zeqpnr_eccn-zeccn.
MODIFY zeqpnr_eccn FROM wa_zeqpnr_eccn.
CLEAR wa_zeqpnr_eccn.
ENDIF.
*End of code insertion by pavan on 02 June, 2008.
IF sy-tcode = 'IE01'.
IF NOT data_equi-matnr IS INITIAL AND
NOT data_equz-zzswerk IS INITIAL.
SELECT SINGLE land1 FROM t001w
INTO v_land1
WHERE werks = data_equz-zzswerk.
CLEAR: i_matnr_tab.
REFRESH: i_matnr_tab.
i_matnr_tab-matnr = data_equi-matnr.
APPEND i_matnr_tab TO i_matnr_tab.
CALL FUNCTION 'Z_MATERIAL_HAZARD'
EXPORTING
pland1 = v_land1
TABLES
matnr_tab = i_matnr_tab.
check if radio active
READ TABLE i_matnr_tab INDEX 1.
IF sy-subrc = 0.
IF i_matnr_tab-ramat = 'X'.
check if user has Radio Active access
AUTHORITY-CHECK OBJECT 'S_TCODE'
ID 'TCD' FIELD 'ZIE02_RA'.
IF sy-subrc NE 0.
MESSAGE w000(z5) WITH 'No access to create RA equipment'.
RAISE posting_not_allowed.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
*======================================================================
End of RA Equipment Lockdown << CHLK9A1N05
*======================================================================
*CHECK NOT data_equi-eqtyp = 'E'.
*CHECK NOT data_equi-eqtyp = 'F'.
DATA: v_stor_ucomm LIKE sy-ucomm.
DATA: v_equnr LIKE data_equz-equnr.
*Save the system user command field
v_stor_ucomm = sy-ucomm.
v_equnr = data_equz-equnr.
*Get the additional information
CALL FUNCTION 'Z_GET_MORE_EQUIPMENT_INFO'
CHANGING
s_equi = data_equi
s_equz = data_equz
s_rm63e = data_rm63e
EXCEPTIONS
cancelled = 1.
*Begin of changes for SARTD 113691
IF sy-subrc NE 0. "CHLK9A0KY9
RAISE posting_not_allowed. "CHLK9A0KY9
ENDIF. "CHLK9A0KY9
End of changes for SARTD 113691
*Restore the equip number
data_equz-equnr = v_equnr.
data_equz-zzkokrs = data_iloa-kokrs. "CHLK9A0WYR
data_equz-zzkostl = data_iloa-kostl. "CHLK9A0WYR
data_equz-zzswerk = data_iloa-swerk. "CHLK9A0WYR
*****SARTD 109167
*vALIDATE VALUES PER ami fOREIGN TRADE SYNCHRONIZATION RULES
*set screen 0101.
CALL FUNCTION 'Z_AMIFT_VALIDATE_EQUIP_MATNR'
TABLES
P_MESSAGES =
CHANGING
p_equi = data_equi
p_equz = data_equz.
*****SARTD 109167
CH4K902173 - Should update EQUI and EQUZ, set flag to TRUE.
chgd_equi = data_equi. "CH4K902173
chgd_equz = data_equz. "CH4K902173
*Begin of Changes - CHLK980219 data not retained when creating record
*UPDATE_FLAGS_EQ = 'X'. "CH4K902173
*UPDATE_FLAGS_EZ = 'X'. "CH4K902173
*End of Changes
*If cancel was hit then back out of save
IF sy-subrc NE 0.
RAISE posting_not_allowed.
ENDIF.
*Restore the system user command field
sy-ucomm = v_stor_ucomm.
Begin of insert SARTD 92504, AMI 9/26/02, E.Krenz
Store new maintenance plant in memory to be used by ZAEQASBR for
immediate ransfer of maintenance items.
EXPORT data_equz TO MEMORY ID 'ZAEQASBR'.
End of insert
>> CHLK9A1N29
clear transaction varient before going to IE02 or IE01 main screen
CALL FUNCTION 'RS_HDSYS_SET_TC_VARIANT'
EXPORTING
variant = ' '
flag_client_independent = 'X'
overwrite_variant = 'X'.
<< CHLK9A1N29
Regards,
vaibhav. -
Missing fields in Purchasing View
Dear all,
We have got an issue like this.For our client we are using Workflow to
create a material.For this we made a process like this .
User1-Basic Data1&2
User2-Sales Views
User3 or User4-Purchasing Views.Both are having same roles in workflow.
User5- MRP1,2,3&4 Views
User6- Finance&Costing Views
When we create a material,we are getting an issue in Purchasing View.
In Purchasing View User 3 able to see all fields in Purchasing view.
If User 4 tried to fill the data for this Purchasing View some fields
are hidden,which we are not able to see.The missing fields are as
follows.
Purchasing Group,Plant-sp.matl status,Tax ind. f.
material,Qual.f.FreeGoodsDis,Autom.PO,but both user3 and user4 share
same roles in workflow.
After that we had given SAP_ALL to User4 and tried to create a material
using standard MM01,then also we are not able to see all fields in
Purchasing View.But User 3 is able to see those fields through MM01 too.I have attached a document,please go through it.
What would be the reason for this?Please suggest us possible
solution,as soon as possible.
Regards
Ganesh.Hi,
Option:1=>For user 3 and user 4 , problems in cretaion of material difference, Consult your Basis Consultant.
Option:2=>For hidden field,follow below steps( in user 3 , check and correct for user 4)
1. Just click the tab ,(Which is hidden for user 4, in user 3 )and get the field name
2.Go to T.Code: OMSR and enter that field name and get Selection Group in user
3.In USER 4,Go to T.code: OMS9 and select your material type and go to "overviews" .In the next screen, you can see your field selection Group, click that and you can make that field required entry for User4 and save.
Now try to create material in USER 4.
Hope helpful to you and then reward.
Regards,
Biju K
Maybe you are looking for
-
Hi Everyone, When I downloaded the new iPhone iOS update, I lost most of the apps from my iphone screen. How do I add them back to my iPhone display? I plan to upgrade to the newer phone later this year. Thank you!
-
PDF in AIR - read PDF scroll position? No events.
I'd like to capture scroll events when viewing a PDF file, and I can't figure out how to do it (or if it can be done). I have a pretty simple AIR application, where I'm trying to render PDF content in AIR. This includes: <mx:HTML id="myHTML" heigh
-
Mass change to activate the old line item display
hi I want to know that is there any program like RFSEPA01 to activate the old line items display. There is no mass change option in this program. I am searching for a program which can change on mass level as i am working on many company codes. Thank
-
I have a requirement is to check that the intercompany billing document is not billed with zero value. If a document has the zero value incorrectly, then stop it from saving - the next billing run will correct the issue. Can you please tell me whet
-
In shuffle mode, cant go to menu
I have a click wheel ipod, not the video one though. I just purchased it about 4 days ago. And, last night, I was listening to it in shuffle mode, and decided I wanted to listen to a certain artist.. I turned off "hold" and hit "menu". Nothing happen