Object Class and Object Id for material Determination tables.
I want to know what is the Object Class and Object Id for material Determination records to verify tables CDHDR and CDPOS.
The purpose is to know the changes done by the different users for material determination records.
Can any one help.
Hi ZZZSUNNY,
Similar question is answered recently.Please find the below link which will helps you
Material determination: how to see the creater of a record?
Thanks
Dasaradha
Similar Messages
-
ALV using ABAP Classes and Objects
Hi All,
I am trying to print the values in my internal table using ALV, using ABAP classes and objects. Here the title for columns are picked based on the title specified in the data element. I want to set the title of my columns by my own. how to achieve this ?. Please provide me a sample code if possible.
thanks & regards,
Navneeth.KHello Navneeth
The following sample report shows how to build and modify a fieldcatalog (routine <b>BUILD_FIELDCATALOG_KNB1</b>).
*& Report ZUS_SDN_ALVGRID_EVENTS
REPORT zus_sdn_alvgrid_events.
DATA:
gd_okcode TYPE ui_func,
gt_fcat TYPE lvc_t_fcat,
go_docking TYPE REF TO cl_gui_docking_container,
go_grid1 TYPE REF TO cl_gui_alv_grid.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1.
PARAMETERS:
p_bukrs TYPE bukrs DEFAULT '2000' OBLIGATORY.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING
e_row_id
e_column_id
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_hotspot_click.
* define local data
DATA:
ls_knb1 TYPE knb1,
ls_col_id TYPE lvc_s_col.
READ TABLE gt_knb1 INTO ls_knb1 INDEX e_row_id-index.
CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
CASE e_column_id-fieldname.
WHEN 'KUNNR'.
SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
SET PARAMETER ID 'BUK' FIELD ls_knb1-bukrs.
CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
WHEN 'ERNAM'.
* SET PARAMETER ID 'USR' FIELD ls_knb1-ernam.
* NOTE: no parameter id available, yet simply show the priciple
CALL TRANSACTION 'SU01' AND SKIP FIRST SCREEN.
WHEN OTHERS.
* do nothing
ENDCASE.
* Set active cell to field BUKRS otherwise the focus is still on
* field KUNNR which will always raise event HOTSPOT_CLICK
ls_col_id-fieldname = 'BUKRS'.
CALL METHOD go_grid1->set_current_cell_via_id
EXPORTING
is_row_id = e_row_id
is_column_id = ls_col_id.
ENDMETHOD. "handle_hotspot_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
SELECT * FROM knb1 INTO TABLE gt_knb1
WHERE bukrs = p_bukrs.
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Create ALV grid
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_docking
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Set event handler
SET HANDLER:
lcl_eventhandler=>handle_hotspot_click FOR go_grid1.
* Build fieldcatalog and set hotspot for field KUNNR
PERFORM build_fieldcatalog_knb1.
* Display data
CALL METHOD go_grid1->set_table_for_first_display
CHANGING
it_outtab = gt_knb1
it_fieldcatalog = gt_fcat
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the target dynpro
CALL METHOD go_docking->link
EXPORTING
repid = syst-repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* ok-code field = GD_OKCODE
CALL SCREEN '0100'.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'.
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form BUILD_FIELDCATALOG_KNB1
* text
* --> p1 text
* <-- p2 text
FORM build_fieldcatalog_knb1 .
* define local data
DATA:
ls_fcat TYPE lvc_s_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
* I_BUFFER_ACTIVE =
i_structure_name = 'KNB1'
* I_CLIENT_NEVER_DISPLAY = 'X'
* I_BYPASSING_BUFFER =
* I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT gt_fcat INTO ls_fcat
WHERE ( fieldname = 'KUNNR' OR
fieldname = 'ERNAM' ).
ls_fcat-hotspot = abap_true.
ls_fcat-scrtext_s = '<short text>'. " short text of column
ls_fcat-scrtext_m = '<medium text>'. " medium text of column
ls_fcat-scrtext_l = '<long text>'. " longtext text of column
ls_fcat-tooltip = '...'. " ALV control: Tool tip for column header
ls_fcat-coltext = '...'. " ALV control: Column heading
MODIFY gt_fcat FROM ls_fcat.
ENDLOOP.
ENDFORM. " BUILD_FIELDCATALOG_KNB1
Regards
Uwe -
AciSource object-class and dpsaci attribute
Dear all,
I am trying to create a proxy server that is connected to a JDBC data view.
All went well according to the documentation until I reached the point of creating ACI to control access to the data view.
According to the documentation, I have to extend the schema to use aciSource object-class and the dpsaci attribute.
However, there are no documentation on how to get the correct values of them.
I would be grateful for any type of help.
Thanks.Got it in dps/etc/config_schema.ldif file
The values are
attributeTypes: ( "" NAME ( 'dpsaci' ) DESC '' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'DPS' )
attributeTypes: ( "" NAME ( 'aciSource' ) DESC '' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'DPS' )
objectClasses: ( "" NAME 'aciSource' DESC 'Access Control Instructions container' MUST ( cn ) MAY ( dpsaci ) X-ORIGIN 'DPS')
I hope this could help someone in the future. -
Need help w/ created classes and objects
I am having a difficult time understanding what is wrong w/ my classes and objects. I've looked in two books and have messed around a bit. Here is what I am -attempting- to do.
I want to make a class called CLOTHING. In this class i want objects such as shirt and pants (for now).
these are the errors im getting:
.\Shirt.java:6: invalid method declaration; return type required
public Shirt(int size){
^
.\Shirt.java:3: class Clothing is public, should be declared in a file named Clothing.java
public class Clothing {
^
MyClassHW.java:10: cannot resolve symbol
symbol : constructor Shirt (int,int)
location: class Shirt
myShirt = new Shirt(1,1);
^
3 errors------------------------------------------------------------
This is the code for my Clothing class:
import java.awt.*;
public class Clothing {
private int shirtSize;
private void Shirt(Graphics s, int h, int v){
Polygon shirts;
shirts = new Polygon();
shirts.addPoint(5+h,8+v); // 1
shirts.addPoint(17+h,12+v); // 2
shirts.addPoint(19+h,13+v); // 3
shirts.addPoint(33+h,8+v); // 4
shirts.addPoint(37+h,13+v); // 5
shirts.addPoint(25+h,20+v); // 6
shirts.addPoint(25+h,28+v); // 7
shirts.addPoint(15+h,28+v); // 8
shirts.addPoint(15+h,20+v); // 9
shirts.addPoint(1+h,12+v); //10
s.fillPolygon(shirts);
}from what i understand each object is essentially a method...
Here is the code for the java applet I'm making:
import java.awt.event.*;
import java.awt.*;
import java.applet.*;
public class MyClassHW extends Applet { // implements ActionListener, AdjustmentListener {
Shirt myShirt;
int size;
public void init(){
myShirt = new Shirt(1,1);
// <applet code = "MyClassHW.class" height = 300 width=300> </applet>thank you for your time and help. as always, your efforts are appriciated..\Shirt.java:6: invalid method declaration; return type required public Shirt(int size){
I guess, public Shirt(int size) is constructor in class shirt. You have one int in this constructor. Shirt(int size)
Here you initialize your shirt with two int:
MyClassHW.java:10: cannot resolve symbolsymbol : constructor Shirt (int,int)location: class Shirt myShirt = new Shirt(1,1);
Shirt(int size, int what?)
It's why it show such message.
But even if you fix it seems like you have very vague ideas about what you are doing.
As far as I understood you need three classes.
First applet Clothing:
public class Clothing extends Applet{
Shirt myShirt;
Pants myPants;
public void init() {
myShirt = new Shirt(1); // small shirt
myPants = new Pants(32, 40); // medium waist and long legs
Second and third your classes Shirt and Pants:
public class Shirt extends Object {
int size;
public Shirt(int s) {
size = s;
public int getSize () {
return size;
same for Pants, only you need two parameters for it or whatever you want.
You could design it diffrently if you want derive your Shirts and Pants from Clothing and then to use them in your applet. But, indeeed, you desperately have to do some serious reading, where authors are accurate in they definitions and stuff, because it's kind of complicated. -
Help with Xcode what is the difference between a Function, class and object
Hi all,
I'm new here and in programming in Xcode. My question is can somebody tell me what the difference is between functions classes and object. I will appreciate it if you can involve some articels or something else.
Many thanks,
RL6001Do a Google search for object-oriented programming. When I did, I found the following tutorial, which explains what objects and classes are:
Object Oriented Programming Tutorial -
MAT error: 0xHEX is used a class and object...
Hi there,
playing around some more with MAT I ran into the following error with some of my dumps. All were taken on 1.5 SUN JVMs (running on either Solaris or Linux).
org.eclipse.mat.snapshot.SnapshotException: Error: 0x8d776450 is used as class and object simultaneously. Are you using a beta DLL for Sun JDK 1.4.2 to write the heap dump?
at org.eclipse.mat.hprof.HprofParserHandlerImpl.createRequiredFakeClasses(HprofParserHandlerImpl.java:191)
at org.eclipse.mat.hprof.HprofParserHandlerImpl.beforePass2(HprofParserHandlerImpl.java:89)
at org.eclipse.mat.hprof.HprofIndexBuilder.fill(HprofIndexBuilder.java:76)
at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.parse(SnapshotFactoryImpl.java:183)
at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnapshot(SnapshotFactoryImpl.java:101)
at org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.java:77)
at org.eclipse.mat.ui.internal.ParseHeapDumpJob.run(ParseHeapDumpJob.java:52)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Since the suggested problem (usage of JDK 1.4.2) is not the case: What else can I do to find out what is going on? Do I need any special switches for jmap? The dumps all were taken with the same command:
jmap -heap:format=b <pid>
Still, some work, some do not. Any suggestions?
bye, MichaelHi Michael,
this smells like a bug. The easiest way again is to have a look at the dump. If you zip it, it should become smaller. I could also provide upload space. Right now, I am at the J1 in San Francisco so it might not be as easy for me to fix this.
Andreas. -
Class and Object name change in the universe designer
Hello Experts
I have a confusion , I am just wondering if I devlop a bobj universe, lets say, based on SQL database and change the name of the class and object during the creation of the universe, will that fetch the data from d/base properly while running a query / report. Although universe class and object has different names than database now but the records are the same. Do we need to point the object to d/base object in some kind of different or special way .
To make my question more simple, In d/base table name is "Employee" whereas on universe side I create a class name "Staff" and at the same time field name in the database is "Emploee ID" whereas in the universe I named it "Badge number".
Please advise if that will make any difference while I run the query or Is there any kind of complication on the universe side that I should expect which I am not familiar with.
I would apprecite your response.
Best RegardsHello experts,
Let me rephrase the issue with exact scenario.
I have a table names "REGION" with fields region id, region and country id.
I have another table name REGION_SLINE with fields SL_id, region id and Sales_revenue.
I created an equi join between these two tables based on region id field and checked the cardinality which is ok.
Now when I try to create a report based on sales revenue per customer ( "customer's first name" is an other field on CUSTOMER table), I dont get any result in the report and get a message that "No data to reterive"
Also please note that when I run a report which is sales revenue per region id, I get the result, seem slike these two tables REGION and REGION_SLINE can generate the report but sales revenue per customer report is not generated because customer first name is a field of another table.
I was just wondering if I need to write some kind of where clause in the object properties of region id which is used to create equi joon link.
I woulld appreciate your response.
Regards
Edited by: SAP_LCCHS on Jul 4, 2011 9:19 AM
Edited by: SAP_LCCHS on Jul 4, 2011 9:21 AM -
Find Universe, classes and objects used in each report
I want to find a list of universes, classes and objects used in each report
or the other way to find list of reports which use a particular universe. please let know, i could not get much information from activity universe in a proper way.Hello Venkataramat,
plese post in more detail what kind of report you are using Crystal report ? webi ? Deski.
Please post in the specific forums.
If you have a Crystal Report I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
Best regards
Falk -
Can I use classes and objects to create my own package in LabVIEW?
Hi....I am writing my thesis on develpoing a simulation package. I am trying to compare simulation packages and their feautures as a scope of my project. Does anyone know if LabVIEW allows users to create their own toolboxes like MATLAB?...i mean something that can be done in object-oriented programming by making classes and objects.
thanks guysThe short answer is yes. NI sells toolkits. There's also OpenG. How you code the guts is up to you - you can do it non-LVOOP or LVOOP.
-
What is the difference between acquiring lock on a CLASS and OBJECT (instance) of that class
What is the difference between acquiring lock on a CLASS and OBJECT (instance) of that class
The Java Tutotials has several trails that discuss both implicit and explicit locking, how they work and has code examples.
The Concurrency trail has the links to the other sections you need to review
http://docs.oracle.com/javase/tutorial/essential/concurrency/index.html
The Synchronized Methods and Intrinsic Locks and Synchronization trails discusse Synchronized Methods and Statements
http://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html
And the Lock Objects trail begins the coverage of explicit locking techniques.
http://docs.oracle.com/javase/tutorial/essential/concurrency/newlocks.html -
Item Category and MRP type for material is not allowed
Hello all,
I got a Error Message:
<b>Transaction Z113 is not defined (Message no. V1347)</b>
<b>Diagnosis</b>
This combination of item category Z113 and MRP type for material is not allowed.
<b>System response</b>
The system does not allow further processing of this item.
<b>Procedure</b>
Check your entry.
You can display the combination defined in table TVEPZ, which controls scheduling line category determination, and change it as required if you have the authorization to do so. The MRP type for the material may be changed in the material master.
<b>The SD Configuration seems all right, I have:</b>
Sls Doc Type (<b>VOV8</b>) ZA9 (no delivery type assigned)
Item Category (<b>VOV7</b>) Z113
Assigs Sls Doc & Item Ctgry (<b>VOV4</b>) ZA9/ZNOR/blank/blanl/Z113
ZNOR = Std Item-Av. chck Del
ZNOR defined in MM03/Sls Org 2
Define Schedule Line (<b>VOV6</b>) = Z7 (without delivery)
Z7 has FLAG on Prod Allocation
Assign Schedule Line (<b>VOV5</b>) = Z113/ND/Z7
At table: TVEPZ
I have the entry: Z113/ND/Z7
Guys, what would?
Please help me out because I am stuck in this issue.
Thanks a lot,
BarbaraBarbara, this may be tied to Strategy Group on the Material Master (I can't read enough into the detail)
Item Category determination + MRP Type for your schedule line type ties to a Sched. Line category(this you know)
New Rqmts class gets tied to a Rqmts Type
New Rqmts Type gets assigned to rqmts class
Strategy, assign the Rqmts Type to it
Strategy Group, Assign the Strategy to it
MM02 [MRP3 view] strategy group should be the one that ties together (all the other ties
It may be something in this area that you need to trace through ?
Bill -
Material Type for Material Determination
Hi Expert,
Is there any spesific/standard material master type for material determination on SD ?
Thanks,
IBIs there any standard material type for 'Material Entered'
Normal salable materials would be created with HALB or FERT and this is in no way related to material determination. In fact, as everybody asked, if you can explain the business as to why you are comparing material type with material determination, may be you will get the right direction.
G. Lakshmipathi -
Object ID and Object ID Version fields in Displaying Object Properties - XI
Hi,
In displaying Object Properties in XI we can see different fields like Type, Description, SCV, Object ID, Object ID Version, Status, Person Responsible, Changed On, Changed By, Display Language, Original Language.
But when i refer to the SAP Library documentation for these fields, Object ID and Object ID Version are not included. Here is the link for the documentation
http://help.sap.com/saphelp_nw04/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
With that said, i have no information on those two fields, only assumptions i've made that i would like to verify in this forum with the questions below
1.
Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
Or does the Object ID change every time the object is edited and change list activated for it?
What is the behavior of these two fields when transported? e.g. dev to qa... are they both retained on the target IB's? (specifically for ID objects because the change list needs to be activated first on the target ID)
2.
Does any one know where the Object ID and Object ID Version gets stored? (saved on a table in the ABAP stack or saved somewhere in the Java stack? e.g. can be viewed in Visual Admin or a URL) I am thinking of extracting all the XI objects with their corresponding Object ID and Object ID Version (per system) in one step. I know this is possible only if the Object ID & Object ID Version are stored in an ABAP table...
Kindly give me some inputs.
Please answer directly with the questions above. I will reward points for it.
Thanks in advance.HI,
>Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
The Object Id is created the first time you create the object.
Object Version Id is created the first time you save/activate a object.
Now suppose if you modify the object a new Object Version Id will be created but the Object ID will remain the same.
For IR Objects the Object Id & Object Version ID will remain the same across systems.
For ID Objects the Object Id & Object Version ID is not the same across systems.
Not sure about the table. Can you try in SE11 and check all tables with SXMS*. Could be also that tables might not be available from GUI i.e you might have to login to DB to find out.
Regards,
Sumit -
Time constraint classes and screen number for absence type
Hi all,
What should be the Time constraint classes and screen number for absence type.
The different absence types are annual leave, sick leave , study leave , personal leave, maternity leave , juryduty leave nad leave without pay etc
Kindly help.
Regards,The time constaint class depends on the client requirement.
eg.if they want that a error needs to be generated while overlapping absences or warning message is required.
Time contraints comprise the following:
Time constraint classes that determine which collisions in time data records are allowed
Time constraint table that contains the time-based collisions allowed in the time data records
Time constraint indicator that displays whether a new data record that collides with an existing time data record can be transferred to the system or whether the transfer is prohibited
For screen number you will have to see if the is quota based deduction or just an absence. Here is the documentation of screen number from SAP
In the standard system, the following numbers are allocated to the screens:
1. 2000 - General absence
This screen is used for all absences which do not require special processing (such as paid leave of absence for getting married).
2. 2001 - Quota deduction
This screen is used for entering data on leave or time in lieu of overtime.
3. 2002 - Work incapacity
Use this screen for all absence types where continued pay should be taken into account automatically by the system.
4. Special screens have been developed for the following absence types:
2003 - maternity protection, parental leave
2004 - military and non-military service
2005 - work incapacity (Netherlands)
Please go through the documentation of the configuration.
Shrikant Basarkar -
Change document for material determination
Hello all,
I dont find the details of the changes ( change documents) made for a material with material determination, I think this is not stored in the standard SAP.
Can someone help me activating this functionality in the material determination table KOTD001.
Thanks and Best regards,
Ajit Patrogo to SE11: enter the table name CDHDR, click display
Then press CtrlShiftF10 ( in the field OBJECTCLAS enter "MATERIAL")
AND execute you will get all the changes made to the material
you will get the change number
then take number and go to table CDPOS & Repeat the same and enter the number in OBJECTID field & execute
hope this fixes your problem
Cheers
Maybe you are looking for
-
HT1420 Help I've hit the limit of my authorized computers to use iTunes.
Can someone help me with the following questions to help me free up some computers for my 5 computer authorized computer limit to iTunes. Is it possible to get a list of which computers are authorized? This would be helpful so I can find the computer
-
BB 8130 Error while Updating OS in Device Manager
OK, Hi everyone say hey to the new guy, now help him out! I was just trying to update my BB 8130 with the Alltel 4.5 OS and Device Manager 4.7, But while the program was in the stage of "Reconnecting to JVM," it closed the updater and said Error: Cou
-
Sending PO data from Oracle APPS 11i to another Oracle APPS 11i
I am trying to send the XML message (Purchase Order Data) from the Oracle APPS 11i to the other Oracle APPS 11i using XML Gateway and the AQ Adaptors in both outbound and inbound. I have created the Receive Activity for Outbound AQ Adaptor and the In
-
I recently purchased an HP Officejet 6600 and whenever I put the disk in to install the software nothing happens. How can I run the program to install it and get started using my printer???
-
Installing Oracle 10g on Windows Server 2008
Hi, I want to install Oracle 10g on Windows Server 2008. As per Oracle, I should install 10.2.0.3 and then apply patchset 10.2.0.4. For that, one has to sign in to metalink which is possible only for customers. I am using Oracle only for educational