Restrict Award Types in respect of Grant Types in GM-GTE
Dear Experts,
We are implementing GM-GTE in our client. As per client, they have provided us 3-4 award types to be used for a single Grant Type. For example, For Grant Type A1, we have got Award Types 01, 02, 03, 04 and for Grant Type A2, we have got Award Types 11, 12, 13, 14.
Now when we go in GMGRANT for creating a grant and in the box of Award Types, we can see the whole list of Award Types available regardless of Grant Types (in our case that would be 01, 02, 03, 04, 11, 12, 13, 14). I want to know how can we restrict those, so that they can be only used with their relevant Grant Types and not availble to use with any other Grant Type, which does not pertain to it. Is their any standard method to do it?
Regards,
Amar
There is no standard way to accomplish this. Your ABAPER can define customer enhancements related to the business object Grant (BUS0035) for the required functionality.
Br
Similar Messages
-
Restricting issue of goods to cost center with respect to material type
Dear Users,
I have a requirement like we want to restrict issue of goods to cost center with respect to material type i.e., we want to issue goods to cost center only through reservation and that too only for specific material types. Is there any standard solution for this, please provide your suggestions.
Thanks,
ManojHi Ajay,
Thanks for valuable input.
I also thought in the same line , but user has the following concern on this:
Assessment Cycle: As per Users, it cannot be used because this will allocate based on allocation basis. But they need, the values that was posted at the time of transaction and as per materials. So it wont be accurate through Assessment cycle,
OKB9: They have different Cost center for different valuation area for the same GL Account.
Hence through OKB9 also, we cannot post directly to COPA.
That's the reason the above option were not adopted.
My other concern to this is:
In CKM3, we have two lines under consumption, one for Normal sales PGI and other is Cost Center.
After doing revaluation of consumption in CKMLCP, we see one line under Cost Center :Revaluation of Consumption Figure"
My question, where can I see that figure whether in any table or in Cost Center report??
If that is also available we can try to match those values and post to COPA.
Let me know your thought on this.
Thanks and regards
Kami -
Message Types for respective Modules
Hello All,
Could you please let me know how we can determine the message type and idoc types for respective Modules based ont the description. Example FICO i.e. Invoice or etc.
Thank you.
Regards,
DineshHi,
Thanks for ur reply. But i have descriptions stating "SAP Inbound Inventory Transfer" and required specification to be implemented is "Plan to Fulfill.Inventory transfer with in the plant". In this case, which idoc must be used. I have checked in the tables earlier different message types.
Regards,
dinesh -
Restriction of Purchase Group on PO Document Type
Hi Experts,
We have different PO Document Type, and Purchase Group. Now, want to restrict Purchase Group based on PO Document Type.
For Example:
For PO RM Document Type only Purchase group P01 - RM allow in PO; for other purchase group system should not allow saving PO.
Please guide ...
Thanks in advance
With Warm Regards,
DipenHi Dipen,
You can definitely restrict the users via Roles and Authorizations.
in the role for PO creation, the object for Purchasing Grp is M_BANF_EKG
field is EKGRP
Make sure that he has the value as P01(Only)
and the object for the Document Type is M_BANF_BSA
Field is: BSART:
give the field Value as RM
Hope it helps you.
Regards,
Yawar Khan -
Can i create demand with respect to valuation type for a material in MRP
hI,
is ther any way to create demand for a material ith respect to vaulation type.
tha means i want to give a demand for a material during a particular period
saying that i want to produce the same material with this vaulation type 200 quantity and another valuation type 300 quantity. will the MRPplan separately.
is ther any provesion for it
thanks
regards
madanDear Mr.Madan,
This is not possible.
MRP has nothing to do with Valuation type.
Valuation class has the following functions
Allows the stock values of materials of the same material type to be posted to different G/L accounts.
Allows the stock values of materials of different material types to be posted to the same G/L account.
Determines together with other factors the G/L accounts updated for a valuation-relevant transaction (such as a goods movement).
MRP considers the demand given,MRP type,lot size,procurement type and the stocks available.
But what do u want to capture exactly?
Regards
Mangal -
MM revision with respect to material type
Hello Team,
Can we restrict material revisions only for few material types.? If so how?
regards,
sai
Edited by: Csaba Szommer on Jan 17, 2012 8:47 AMHello
1)put t-code cc01
2)don't give any external no.
3)give change type
4)give description
5)make change no. status active
6)select object type and tick mark over material only
7)select object (e.g, give material no.)
then save it.Then note the change number.
8)Goto CC11 t.code,give material no.
enter now,
then give change number
give revision level 01
save now
9)goto,MM02 t code
Give material no. along with change no. and enter now
Then you can see Basic data one revision level
Regards
Gyana -
Delivery creation with respect to Storage Type
Hi Gurus,
Can we have a control on the deliveries creation with respect to the storage Types.
The situation is to have the outbound deliveries created only from a perticular storage type neglecting other storage types. Is there any customization?
Thanks
ShashidharHi ,
For this you have to define storage type serch strategy,
Path,
LE> WM>Master data >Material>storage type indicator \
LE> WM>Master data >Material>storage section indicator
Then,
LE> WM>Strategires>activate storage type serch (whmaintion indicator -- st type)
LE> WM>Strategires-->activate storage section serch (wh -- maintion indicator -- st section)
Maintain the material master with warehouse number & storage type.
( In the case of fixed bin maintain the storage bin in wm-2 view)
Maintain the storage type indicator & storage section indicator.
If you have allready maintained the storage type search strategy then remove the symbol *** from yor storage type search.
Dev -
Restrict display and posting for specific document types
Hi,
Is it possible to restrict display and posting for specific document types? I want to restrict authorization to SM document type in FS10N, and KSB1 tcode. Please help
Best Regards,
KIRAN.Sandipan Choudhury wrote:
FS10N checks for this object ("Check" in Su24) but when user doesnot has this authorization object he gets access to all doc types and when the user is restricted to specific doc types (object present in user's authorization) he will get access to only those doc types. This is how the authorization check for F_BKPF_BLA works, in other words this authorization is Optional.
Sorry, but this is not true and seems to be an invention of how you would like it to work...
The coding works like this (generally):
if sy-subrc ne 0.
select single * from t003 where blart = postab-blart.
check sy-subrc = 0.
blrtab-blart = t003-blart.
blrtab-brgru = t003-brgru.
append blrtab.
endif.
if blrtab-brgru ne space. "<--- important condition!!
authority-check object 'F_BKPF_BLA'
id 'BRGRU' field blrtab-brgru
id 'ACTVT' field actvt.
if sy-subrc ne 0.
rcode = 4.
endif.
endif.
endif.
The "optional" aspect is whether or not the document type has an auth group on it in T003, failing which the check is suppressed.
If it reaches the check, then it found something and then checks that selected value.
Moral of the story:
--> Do not believe SU53.
--> Do not make assumptions from ST01 traces.
--> Read the documentation carefully.
--> Read the code to see how it really works (you can jump to the coding location from the trace).
Cheers,
Julius -
How to assign different Message Type to different Doc. Types
Hi,
Can anyone tell me how can I assign different Message Type to different Doc. Types e.g. in ME21N. So that whenever the Doc Type is selected the respective Message Type is automatically assigned.
Luckyhi there
follow this path
spro - materials management - purchasing - messages - output cntrol - message types - define message types for p/o
then
spro - materials management - purchasing - messages - output cntrol - message determination schemas - define message determination schemas for purchase order
then
go to
mn04
give doc type - enter
enter partner role & other parametrs -
Plz help upgrade issue moving data from char type structure to non char typ
Hi Experts
plz help its very urgent
Data :workout(5000) .
FIELD-SYMBOLS : <FS_WORKOUT> TYPE ANY.
workout = ' u' .
ASSIGN WORKOUT TO <FS_WORKOUT> CASTING TYPE C .
BAPISDITM = <FS_WORKOUT>.
i am getting dump after BAPISDITM = <FS_WORKOUT>.
i think i am getting the dump bcoz i am moving character type structure to non character type structure but i think with field symbols we can remove this issue thats y i used it but its not working plz help me
its very urgent
*dump is :*
Short text
Data objects in Unicode programs cannot be converted.
What happened?
Error in the ABAP Application Program
The current ABAP program "ZSDR0009" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
How to correct the error
Use only convertible operands "dst" and "src" for the statement
"MOVE src TO dst"
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UC_OBJECTS_NOT_CONVERTIBLE" " "
"ZSDR0009" or "ZSDR0009_I02"
"USER_COMMAND"
thanx in advancei got d solution in this thread
Hi all,
data: gv_line(6000) type c.
Bvbapkom = gv_line.
But i am getting the Error like : gv_line and Bvbapkom are not mutually convertable.
Note: Bvbapkom is a Structure
How do i solve this ?
Mahesh
KR
Posts: 210
Registered: 11/24/06
Forum Points: 0
Re: gv_line and Bvbapkom are not mutually convertable.
Posted: Nov 30, 2007 8:40 AM in response to: KR Reply
Hi ,
i got the solution
ANSWER:
Field-symbols: <X_Bvbapkom> type x,
<X_gv_line> type x.
Assign: Bvbapkom to <X_Bvbapkom> casting,
gv_line to <X_gv_line> casting.
<X_Bvbapkom> = <X_gv_line>.
Nasaka Ramakris...
Posts: 4
Registered: 1/19/08
Forum Points: 20
Re: gv_line and Bvbapkom are not mutually convertable.
Posted: Jan 19, 2008 7:42 AM in response to: KR Reply
Hi Check this answer.
ANSWER:
Field-symbols: <X_Bvbapkom> type x,
<X_gv_line> type x.
Assign: Bvbapkom to <X_Bvbapkom> casting,
gv_line to <X_gv_line> casting.
<X_Bvbapkom> = <X_gv_line>. -
Converting object wrapper type array into equivalent primary type array
Hi All!
My question is how to convert object wrapper type array into equivalent prime type array, e.g. Integer[] -> int[] or Float[] -> float[] etc.
Is sound like a trivial task however the problem is that I do not know the type I work with. To understand what I mean, please read the following code -
//Method signature
Object createArray( Class clazz, String value ) throws Exception;
//and usage should be as follows:
Object arr = createArray( Integer.class, "2%%3%%4" );
//"arr" will be passed as a parameter of a method again via reflection
public void compute( Object... args ) {
a = (int[])args[0];
//or
Object arr = createArray( Double.class, "2%%3%%4" );
public void compute( Object... args ) {
b = (double[])args[0];
//and the method implementation -
Object createArray( Class clazz, String value ) throws Exception {
String[] split = value.split( "%%" );
//create array, e.g. Integer[] or Double[] etc.
Object[] o = (Object[])Array.newInstance( clazz, split.length );
//fill the array with parsed values, on parse error exception will be thrown
for (int i = 0; i < split.length; i++) {
Method meth = clazz.getMethod( "valueOf", new Class[]{ String.class });
o[i] = meth.invoke( null, new Object[]{ split[i] });
//here convert Object[] to Object of type int[] or double[] etc...
/* and return that object*/
//NB!!! I want to avoid the following code:
if( o instanceof Integer[] ) {
int[] ar = new int[o.length];
for (int i = 0; i < o.length; i++) {
ar[i] = (Integer)o;
return ar;
} else if( o instanceof Double[] ) {
//...repeat "else if" for all primary types... :(
return null;
Unfortunately I was unable to find any useful method in Java API (I work with 1.5).
Did I make myself clear? :)
Thanks in advance,
Pavel GrigorenkoI think I've found the answer myself ;-)
Never thought I could use something like int.class or double.class,
so the next statement holds int[] q = (int[])Array.newInstance( int.class, 2 );
and the easy solution is the following -
Object primeArray = Array.newInstance( token.getPrimeClass(), split.length );
for (int j = 0; j < split.length; j++) {
Method meth = clazz.getMethod( "valueOf", new Class[]{ String.class });
Object val = meth.invoke( null, new Object[]{ split[j] });
Array.set( primeArray, j, val );
}where "token.getPrimeClass()" return appropriate Class, i.e. int.class, float.class etc. -
SQL user defined type mapping with Java Class type
SECRET_TAB_TYPE is userdefined type in SQL Schema. but accessing this way it is giving invalid column type error(see code below )??
I have made a class with same name attributes as in SQL Type
Connection con = DriverManager.getConnection(URL,Username, Password );
java.util.Map map = con.getTypeMap();
map.put("SchemaName.SECRET_TAB_TYPE",Class.forName("SECRET_TAB_TYPE"));
CallableStatement pstmt = con.prepareCall( "{ call smartapi.FetchSharedSecret(?,?,?,?,?,?) }" );
pstmt.setString(1,"SM");
pstmt.setString(2,"BT");
pstmt.setString(3,"COM");
pstmt.registerOutParameter(4, Types.JAVA_OBJECT);//
pstmt.registerOutParameter(5,Types.VARCHAR);
pstmt.executeQuery();
secret_tab=(SECRET_TAB_TYPE)pstmt.getObject(4);
message= pstmt.getString(5);STATS_T_TEST_
docs.oracle.com/cd/B19306_01/server.102/b14200/functions157.htm
STATS_T_TEST_ONE: A one-sample t-test
STATS_T_TEST_PAIRED: A two-sample, paired t-test (also known as a crossed t-test)
STATS_T_TEST_INDEP: A t-test of two independent groups with the same variance (pooled variances)
STATS_T_TEST_INDEPU: A t-test of two independent groups with unequal variance (unpooled variances) -
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value
I am trying to insert records into a temporary table with date values concatenated with other string values into one large string value.I am getting the following error:
Msg 242, Level 16, State 3, Line 12
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
Msg 241, Level 16, State 1, Line 28
Conversion failed when converting date and/or time from character string.
-My code below
Declare
@hdrLOCAL char(255),
@CR char(255),
@BLDCHKDT DATETIME,
@BLDCHTIME DATETIME,
@hdrline int
SELECT @hdrLOCAL = DDLINE FROM DD40400 WHERE INDXLONG =1
SELECT @CR = DDLINE FROM DD40400 WHERE INDXLONG =2
SELECT @hdrline =1
SELECT
@BLDCHKDT = CONVERT(varchar(20),T756.PAYDATE,105) ,
-- convert(varchar,getdate(),15)
@BLDCHTIME= CONVERT(varchar(20),T756.PAYDATE,105)
FROM STATS.dbo.DD10500 T762
LEFT OUTER JOIN STATS.dbo.DD10400 T756 ON (
T762.INDXLONG = T756.INDXLONG
AND T756.INCLPYMT = 1
WHERE (T756.INCLPYMT = 1)
AND (T762.DDAMTDLR <> 0)
Create TABLE [dbo].[##DD10200B](
[INDXLONG] [int] NOT NULL,
[DDLINE] [varchar](8000) NOT NULL,
[DEX_ROW_ID] [int] IDENTITY(1,1) NOT NULL,
BEGIN
INSERT INTO ##DD10200B (INDXLONG,DDLINE)
VALUES (1,@hdrLOCAL +',' + @CR +','+ @BLDCHKDT +',' + @BLDCHTIME )
END
Msg 242, Level 16, State 3, Line 12
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
Msg 241, Level 16, State 1, Line 28
Conversion failed when converting date and/or time from character string.
The Best thing in Life is LifeSince the Variable
BLDCHKDT and BLDCHTIME are of type date time why are you trying to assign it a value
of type varchar
and the format 105 gives you dd-mm-yyyy but SQL server takes the default format as mm-dd-yyyy so the error occurs for all dates that
are greater than 12
try the below code
Declare
@hdrLOCAL char(255),
@CR char(255),
@BLDCHKDT Varchar(50),
@BLDCHTIME Varchar(50),
@hdrline int
SELECT @hdrLOCAL = DDLINE FROM DD40400 WHERE INDXLONG =1
SELECT @CR = DDLINE FROM DD40400 WHERE INDXLONG =2
SELECT @hdrline =1
SELECT
@BLDCHKDT = CONVERT(varchar(20),T756.PAYDATE,105) ,
-- convert(varchar,getdate(),15)
@BLDCHTIME= CONVERT(varchar(20),T756.PAYDATE,105)
FROM STATS.dbo.DD10500 T762
LEFT OUTER JOIN STATS.dbo.DD10400 T756 ON (
T762.INDXLONG = T756.INDXLONG
AND T756.INCLPYMT = 1
WHERE (T756.INCLPYMT = 1)
AND (T762.DDAMTDLR <> 0)
Create TABLE [dbo].[##DD10200B](
[INDXLONG] [int] NOT NULL,
[DDLINE] [varchar](8000) NOT NULL,
[DEX_ROW_ID] [int] IDENTITY(1,1) NOT NULL,
BEGIN
INSERT INTO ##DD10200B (INDXLONG,DDLINE)
VALUES (1,@hdrLOCAL +',' + @CR +','+ @BLDCHKDT +',' + @BLDCHTIME )
END
the only change done is
@BLDCHKDT Varchar(50),
@BLDCHTIME Varchar(50),
Surender Singh Bhadauria
My Blog -
Below select statement results in "The conversion of a nvarchar data type to a datetime data type resulted in an out of range value" error. By the way Terms
field's data type is nvarchar
SELECT * from INVOICE
where convert(datetime,Terms)
BETWEEN
'01/01/14'
and
'01/30/15'If you can't use TRY_CONVERT (It's only available in 2012+) You should be able to validate the data with something like this (based on your example date formats):
DECLARE @notDate TABLE (Terms NVARCHAR(10))
INSERT INTO @notDate (Terms) VALUES
('01/01/14'),('02/29/14'),('01/32/15'),('13/13/14'),('13/3/14'),('13-13/14'),('02/29/12'),('02/29/13')
SELECT *,
CASE WHEN (LEN(Terms) - 2) <> LEN(REPLACE(Terms,'/','')) OR LEN(Terms) <> 8 THEN 'Bad Form'
WHEN LEFT(Terms,2) > 12 THEN 'Bad Month'
WHEN LEFT(Terms,2) IN (9,4,6,11) AND LEFT(RIGHT(Terms,5),2) > '30' THEN 'Bad Day'
WHEN LEFT(Terms,2) = 2 AND LEFT(RIGHT(Terms,5),2) > (28 + CASE WHEN (2000+RIGHT(Terms,2)) % 400 = 0 THEN 1 WHEN (2000+RIGHT(Terms,2)) % 100 = 0 THEN 0 WHEN (2000+RIGHT(Terms,2)) % 4 = 0 THEN 1 ELSE 0 END) THEN 'Bad Day'
WHEN LEFT(Terms,2) NOT IN (2,9,4,6,11) AND LEFT(RIGHT(Terms,5),2) > '31' THEN 'Bad Day'
END
FROM @notDate
Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question. -
BPM scenario:single sender message type and multiple receiver message types
Hi,
I am doing a scenario in which i have a single file which may contain different record types say type A,B,C.
I want to separate all records of type A, all records of type B, also all records of type C into different files.
so i will have 3 files of type record A,B,C in destination.
I am using File adapter on both sides.
I think one way may be using ccBPM.Can you please inform me how to achieve it using BPM.
If there is any other way Please mention.You can use multimapping (with or without BPM)
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible ....without BPM
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure ....with BPM...is it that you will always get three output files?
Maybe you are looking for
-
How do I make this Applescript dig trough All subfolders of the Parent folder?
Im using a script to batch convert a bunch of m4v´s to a set framesize, and im using this script with automator as a Finder Service. However, if theres a folder inside my parentfolder (Omkodning) with its own folder, it doesn't look inside that folde
-
Making a photo Gallery in Flash cs4
Is there an easy way to make a cool looking, interactive photo gallery that i can insert into my website usuing flash?
-
ICloud keeps syncing my Notes between my iPad/iPhone
iCloud keeps syncing my Notes between my iPad and iPhone, even though Notes is turned off in iCloud on both devices. How can I prevent this from happening?
-
Delete sbt_tape backups
How can I delete the backups by usıng rman whıch ıs taken to tape. When I attempt to delete them the error message is: "ORA-27211: Failed to load Media Management Library".
-
Lightroom 3.5 Import Errors using Synology NAS on Macbook
Hi all, I've been trying out Lighroom 3.5 and I love it, with one exception.... When importing my archive (which is stored on a Synology Diskstation DS211j, accessed via an Airport Extreme), I get multiple import errors (around 5% of the total files)