Object key for PORDER (document links, table DRAD)
Hi,
the object key for PORDER entries in table DRAD looks like:
000003054845O00000000000020000000020000
what i know:
character 1 to 12: ordernumber (AFKO-AUFNR)
character 18 to 23: sequencenumber (AFVC-PLNFL)
character 24 to 27: operationnumber (AFVC-VORNR)
character 28 to 35: counter (AFVC-APLZL)
so whats about character 13 to 17 and 36 to 40?
Thanks, Martin
Hello Martin,
Look at the field OBJECT which indicates which is the table for which the key OBJECT Key is populated. Check the table indicated in the OBJECT field and the key for the field is the same as the value for OBJECT KEY.
Similar Messages
-
Object type for Material Document
Hi,
I need to get the object key for a material document, which has to be passed to NAST table. If 4900004026 is the material doc. then its object key is conerted as
490000402620050001. Is there any FM for conversion ?Hi,
Am not sure, whether Function Module is existing or not.
But, you can concatenate these fields to a String variable or split for the values based on Field Length to separate variables and you can proceed with your process.
Regards,
Anbalagan. -
Object key for object type WORKITEM is not generated
Hi experts,
I have a problem when I create a purchase requisition by workflow. This problem happens a client copy from production to quality system has been done.
The problem is that the object key for the object type WORKITEM is not generated. I check in transaction SWEL in quality system it displays the following data:
For the event data I have the following data:
Event Instance ID - 1099124
Object Type - BUS2105
Object key - 0120001588 (purchase requisition number)
Event - criadaoumodificada (createdorchanged)
For the Receiver Data I have the following data:
Receiver Type - WS99900003
Object Type (is not displayed)
Object Key (is empty)
Receiver FM - SWW_WI_CREATE_VIA_EVENT_IBF
RFC Destination - WORKFLOW_LOCAL_010
In the Receiver Data the object type is not displayed and the object key is not generated. In production system the object type is WORKITEM, and the object key is filled by a number of workitem.
Can anyone tell me why this happens?
Best regards,
LeonelHi Leonel,
as far as I remember, those fields are updated once the receiver function module was successfully processed. In your case, I'd suggest, that you ...
- Check the workflow local RFC destination (SM59, WORKFLOW_LOCAL_<client>)
- Check the workflow-user (SU01, User-ID WF-BATCH normally),
- Check for entries that stuck in the event processing (tRFC queue, transaction SM58).
- To verify the complete system, execute transaction SWU3. The section under "Runtime environment" should be marked green. (Ignore the red sign on definition environment).
- For a more extensive workflow runtime check, use the transaction SWUD (workflow diagnosis).
After all that, your problem might be solved, or at least you know, what's all okay
Best wishes,
Florin -
Posting key for payment documents with sales related check
Hi,
sometime during 2010 posting key for posting cusotmer payments was changed in other attibutes to sales related. a correction has been made to the posting key but now I need to correct all the documents in BSEG field XUMSW and remove the sales related check.
does anyone know of a way or a program that will do this?
your help is greatly appreciated.
CMHi,
You cannot change XUMSW (sales related item) in OB32.Here most of the fields are there for changeble option.but for your case it is not applicable.
It means you cant change that field.
If you want really modify it for certain documents you need to writ Query to change in table level.
Normal BDC and LSMW will not work.
Thanks
ANJI REDDY -
Hi Guys,
I had a requirement where i need to call a particular FM whenever a PO is getting created/changed. I had the Object Type and the event which is called when a PO is changed. How can i link the Event and the FM in R/3.So that whenever that event is called it triggers that FM Importing the Object Key.
Thanks,
Kittu.Hi Kittu,
As far as i know we cannot link a Business Object - Event to a FM directly. We can trigger a workflow whenever a Business Object - Event occurs and in this WF we can create a Step Type: Task to which we can attach the FM.
So whenever this event occurs the WF is triggered and you FM gets executed.
Please let me know if further details are required.
Regards,
Goutham. -
Requirement for object key for HashMap
Hi,
I would like to put the object to HashMap keyed by my own object. what is the requirement for the class to be key? I have a method boolean equals(Object o) defined in the key class, My key is composed by 2 ids, so in the equals method I compared the 2 ids. but it seems can't get the value out. Please help. ThanksHow do I supposed to do the hashCode? If myKey1.equals(myKey2) returns true, then myKey1.hashCode() must return the same value as myKey2.hashCode(). One consequence of this is that if something is not used to compuate equals(), then it must not be used to compute hashCode(). (Note that the reverse is not true. That is, if two objects are not equal, they can still return the same value from hashCode(), and hence, if some data is used for equals() it may still be left out of hashCode().)
You want hashCode to be 1) quick & easy to compute and 2) "well distributed" or "mostly unique. If you know how hashcodes are used (in the general sense, not just the Java hashCode() method) then you should understand why those properties are desirable. If not, just ask.
The most common approach is to use some subset of the object's fields in computing the hashCode. If you have a Person object with lastName, firstName, birthdate, height, weight, address, phone number, you probably wouldn't use all those fields. You could just lastName, or maybe a combination of lastName and firstName.
One generally combines multiple pieces by taking XORing (the "^") operator the individual pieces (for primitives) or their hashcodes (for objects). For example, in the Person example: public int hashCode() {
return lastName.hashCode() ^ firstName.hashCode(); // but make sure to check for null first
} -
Ouput determination for sales documents - Condition table
Hello All,
In the condition table I currently have the following fields - Sales org/Dist channel/Sales doc type/Order reason/User.
The field User is Created By VBAK-ERNAM. I want to change this to display the name of theperson that last modified the document. What field is this? CDHDR-USERNAME maybe?
And more importantly how do I go about making the change?
Would you recommend creating a new condition table?
Thanks in advance,
SuhasHi ,KIndly do the below settings
1.Delete the condition table from the access sequence :
SPRO-IMG-Sales &dist->Basic functions->Output Control>Out put determinationMaintain Output detrmination for sales documents---Maintain Access sequence
2.Then go to the condition table and delte the ERNAM and add the AENAM and generate .
SPRO-IMG-Sales &dist->Basic functions->Output Control>Out put determinationMaintain Output detrmination for sales documents---maintain condition table
3.Same condition table assign to the access sequence then access sequence will be assigned to out put type condition type
SPRO-IMG-Sales &dist->Basic functions->Output Control>Out put determinationMaintain Output detrmination for sales documents---Maintain output types.
4.Assign the out put type to the partner function
SPRO-IMG-Sales &dist->Basic functions->Output Control>Out put determinationMaintain Output detrmination for sales documents---Assign Output type to partner functions
5.Maintain the Out put type in out put determination procedure
SPRO-IMG-Sales &dist->Basic functions->Output Control>Out put determinationMaintain Output detrmination for sales documents---Maintain Output determination procedures
6.Assign out put determination procedure to the sales document type and item categoiry
SPRO-IMG-Sales &dist->Basic functions->Output Control>Out put determinationMaintain Output detrmination for sales documents---Assign Output determination procedures
OR
Delete the old condition table and create the new condition table and assigned to new access sequence.
REgards
Damu -
Detect the fields which are primary/foreign keys for each schema's tables
Hello everybody,
I'd like to know if it's possible to select a field in one of the dictionary tables to identify the fields of a table which are PK or FK in this one. I'd like to do this to generate the fields that I need to put in a technical design.
Actually I have this (if it can help you to understand what I'd like to do) :
select table_name "Table name",
column_name "Physical field name",
case when data_type = 'NUMBER' then data_type || '(' || NVL(data_precision,0) || ',' || NVL(data_scale,0) || ')'
when data_type = 'VARCHAR2' then data_type || '(' || data_length || ')'
else data_type
end "Datatype",
case when nullable = 'Y' then 'FALSE'
when nullable = 'N' then 'TRUE'
end "Not null",
/* Here I'd like to retrieve TRUE or FALSE if the field to display is a primary key or not and the same for foreign keys*/
from all_tab_columns
where table_name in (select table_name
from all_tables
where table_name like '%project_name%'
and table_name not like '%TMP%');
Thanks a lot for your help,
FlorentPlease investigate all_constraints and all_cons_colums.
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm -
PM Object list & Order time confirmation link tables
Hi Gurus,
We are using the Object list in the maintenance plan and the PM order is triggered. The list of functional locations are maintained in the Object list.
The monitoring / Inspection details are captured against individual object list during the time connfirmation using the SORT FIELD.
To track the time confirmation with reference to the functional locations used in the object list a report needs to be developed.
I can understand that the Object list initial details are stored in the table "OBJK".
However the data update after time confirmation is not refecting in the table "OBJK".
Can anybody share your experiences.
Thanks in advance
Regards,
RajNarashiman,
1. During the time confirmation (IW41) by selecting the Object list push button on the top of the page, the "SORT FIELD" can be updated and the "processing indicator" can also be set against each object line item.
2. The updated "SORT FIELD", "processing indicator" information during the tme confirmation can be seen in the order under the tab page "Objects".
Regards,
Raj -
I'm using Google Docs live online and can't find the Tab key on my keyboard. There are a few more I can't find either. I've seen the comments so I know you already know which ones I'm talking about. Can we integrate ALL the features of a normal keyboard into my phone's keyboard please? My partner has a pc-based dinosaur that figured this out. Hook a sister up, I got books to write. Hate to have to switch back to PC based phone, but I will if this hiccup isn't fixed.
You might want to let Apple know here:
http://www.apple.com/feedback/ -
Object Key required for document in Script
Hi All,
I require Object Key for Document to compair with Nast-vstat. Requirement is check vstat value. How will i get object key in SAP Script.
Regards
Divekar MahadevObjectkey(objky) you can get from NAST table. It is basically the document number.
Regards,
Mallick -
Error -maintain archiving parameters for outgoing documents in archive link
Hi,
I am trying to archive an outgoing document from SAP i.e. an invoice to a content repository using archive link and getting the below error:
Maintain archiving parameter(s) for output type RD00 (appl. V3)
Message no. VN096
Diagnosis
At the time of output determination, the archiving parameters for output type RD00 (application V3) were incorrectly maintained in Customizing.
Additional information:
SAP object:
Archiving object:
Procedure
Maintain the archiving parameters and repeat output determination for the required document.
Kindly help as to from which transaction I can maintain archiving parameters for this transaction ???
With Regards
NehaHi,
Which storage device are you using? I can only speculate the problem. Ok. So output type is configured properly. Can you check the object type for your document type in Transaction code OAC3. Check it should be VBRK. If it is not then change it to VBRK. Now go to transcation code OAD5 and check every thing is configured there or not. If it is all done then it should work. I presume that all basic customization is done in your system.
Regards
Sirfraz -
How to create a foreign key for the table from two different tables?
Hi All,
I have a three table like below. In the below table SAMPLE_CONS_CHECK and SAMPLE_CONS2_CHECK will be having the primary key for NAME column. The same SAMPLE_CONS3_CHECK table also having the primary key for NAME column and forieign key for SAMPLE_CONS_CHECK and SAMPLE_CONS2_CHECK tables. See the below code 2
code 1:
CREATE TABLE SAMPLE_CONS_CHECK
(NAME VARCHAR2(10),
SERIES VARCHAR2(5)
CREATE TABLE SAMPLE_CONS2_CHECK
(NAME VARCHAR2(5),
MODEL NUMBER
CREATE TABLE SAMPLE_CONS3_CHECK
(NAME VARCHAR2(5),
MODEL_NO NUMBER
)code 2
alter table SAMPLE_CONS_CHECK
add constraint SAMPLE_CONS_CHECK_pk primary key (NAME)
alter table SAMPLE_CONS2_CHECK
add constraint SAMPLE_CONS2_CHECK_pk primary key (NAME)
alter table SAMPLE_CONS3_CHECK
add constraint SAMPLE_CONS3_CHECK_pk primary key (NAME)
ALTER TABLE SAMPLE_CONS3_CHECK ADD
CONSTRAINT SAMPLE_CONS3_CHECK_FK1 FOREIGN KEY
NAME
) REFERENCES SAMPLE_CONS_CHECK
NAME
) ON DELETE CASCADE;
ALTER TABLE SAMPLE_CONS3_CHECK ADD
CONSTRAINT SAMPLE_CONS3_CHECK_FK2 FOREIGN KEY
NAME
) REFERENCES SAMPLE_CONS2_CHECK
NAME
) ON DELETE CASCADE;From the above schenario i am able to insert the data to SAMPLE_CONS3_CHECK table. But the parent data is already available in the parent table. The problem is here two different constarints from two different tables. While inserting, it is checking from both the tables whether the parent is exist or not.
How can i solve this problem? Can anyone halp me about this?
Thanks
Edited by: orasuriya on Aug 8, 2009 2:02 AMActually the design is completely incorrect.
What you say is
I have
'foo', 'foo series'
'foo','foo model'
'foo',666
By virtue of table3 referring to both table1 and table2.
This means you actually need to have 1 (one) table:
'foo','foo series','foo model', 666
And the 'problem' disappears.
Sybrand Bakker
Senior Oracle DBA -
What is the Object Type for User Define table ?
Dear All Experts,
I create one of the User Define Table with no. of UDF's
I already register User Define Table with Unique ID.
As per my knowledge, Unique ID is our Object type for that User Define Table.
I want to add Transaction Notification Code for created Used Define Table.
This Transaction Notification prevents user to must enter name in that form.
IF (@object_type = 'Z_Roto' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U'))
BEGIN
If not Exists (Select T0.DocEntry from [@Z_ROTO] T0 Where ( T0.Name is null OR T0.Name = ' ' ) AND T0.Code = @list_of_cols_val_tab_del )
begin
SET @error = 1
SET @error_message = 'Name is NULL then So, Please enter ZERO Value i.e. 0 in Filed_Name'
End
End
Please help me for this problem.
Thanks & Regards,
Nishit MakadiaHi All,
Thanks for your replay.
Below code is working for User Define Table's Transaction Notification
IF (@transaction_type = 'A' OR @transaction_type = 'U') AND @object_type = 'Z_Roto'
BEGIN
If Exists (Select T0.Code from [@Z_ROTO] T0 Where ( T0.Name is null OR T0.Name = ' ' ) AND T0.Code = @list_of_cols_val_tab_del)
begin
select @error = 10
select @error_message = 'Name is NULL then So, Please enter ZERO Value i.e. 0 in Filed_Name'
End
End
Necessary to Remember 4 Things. That are mentioned below.
1) Register User Define Table (UDT) with using "Object Registration Wizard". For Example : @object_type = 'Z_Roto'
2) When you define selection criteria then it must be compulsory for use Code Field. For Example : Select T0.Code from [@Z_Roto]
3) When you define selection criteria then it must be compulsory for use Code for @list_of_cols_val_tab_del.
4) Use error code as 10 Number
Thanks & Regards,
Nishit Makadia -
Activate standard badi - prompts for Object Key?
In SE19 when trying to activate an SAP delivered implementation of a badi I'm prompted for an object key for the implementation class.
fyi Running ECC6 on Basis 7 kb14.
Go to SE19
Display badi FIAA_BW_DELTA_UPDATE
Go to environment menu, choose activate.
Notice that the activate option is greyed out?
Go back and change the FIAA_BW_DELETA_UPDATE badi implementation. Go to environment menu, choose activate. You'll be prompted for an object key for the implementing class - CL_IM_FIAA_BW_DELTA_UPDATE.
Is this correct behavior? We don't want to change the class - just activate it. Could I get around this by copying the class changing the implementation class to a ZCL_IM_FIAA_BW_DELTA_UPDATE?
Thanks in advance for any help on this topic.Hi Ryan.
You need to apply an OSS note for this
Please check the extract below..it will solve the problem
check the following Notes.
Check these OSS Notes - 828240, 688477 and 590034,599896
Note Pasted below :
When you load the delta-enabled InfoSources of asset accounting, no time stamp information is updated in the OLTP system if you have selected "Simulation of the delta process initialization" (initialization without data transfer; technical mode 'S') as the update mode.
This affects the InfoSources:
1. 0ASSET_ATTR_TEXT
2. 0ASSET_AFAB_ATTR
3. 0FI_AA_11
4. 0FI_AA_12
As a result of the error, you cannot start delta extraction after the initialization without data transfer because the delta extractor does not find any time stamp information it can use.
Other terms
RSA3, BWOM2_TIMEST, delta, DeltaInit, BWFIT, 0FI_GL_4, BWFIT_GET_TIMESTAMPS, BWFIT_RESET_TIMESTAMPS, BWFIT_UPDATE_TIMESTAMPS
Reason and Prerequisites
a) The problem is caused by a program error.
b) The 'FIAA_BW_DELTA_UPDATE' BADI is not active.
Solution
For a: Implement the source code corrections to create a correct time stamp for the initialization without data transfer.
For b: For a data extraction to the BW system according to the delta method, the 'FIAA_BW_DELTA_UPDATE' BADI must be active. When assets are changed, this BADI writes the corresponding change entries which are read by the extractors to determine the delta values. If this BADI is not active, the extraction terminates with error BWFIAA 001 (BAdI implementation FIAA_BW_DELTA_UPDATE inactive in source system). During a DeltaInit extraction with data transfer, the system flags the data request as incorrect or canceled in the monitor and issues the error message. However, during the DeltaInit extraction without data transfer, the system does not issue an error in the BW system even though the extractor triggered an error message and the termination of the extraction in the OLTP system. The data request in the BW system has the status 'successful' and the user cannot see that an error has occurred. However, a time stamp is not created in these cases since the following delta extractions would cause inconsistencies because the BADI would not be able to log all changes that have occurred since the last extraction.
Regards
Byju
Maybe you are looking for
-
Digital Sound Output suddenly muted (though Apple TV is not)
I'm wondering if there's a simple explanation (and fix) to the problem. Before upgrading iTunes and OSX to the most current versions, I encountered the problem of no output via USB. That problem I attributed to a broken audio output jack requiring
-
Hi i have a NOKIA 500 BELLE and in my app PHOTO EDITOR i have hundreds of photos i dont want and its taking up alot of memory is there anyway to delet thoes photos?
-
This started with an install of Oracle Financials that failed and led me to the discovery that I can't even install a generic database on this machine, the two issues are certainly related. Why would I get this failure on a clean install??? Is there
-
Changing file access permissions?!
I have a MacBook Pro retina running os x mountain lion, if that helps any of you guys answer this question. I recently took a screenshot of an area of the screen using the command-shift-4 combination. When i was trying to open it, though, an error c
-
How to compile for arch on Ubuntu without root?
Maybe this is not the right section, but since it is about compiling... I have access to a rather powerful server, so I thought I could maybe compile some AUR packages like kernel-rc there. Unfortunately it runs ubuntu so gcc is still 4.4 and all the