Technical objects from contracts
I am trying to update the partners on an equipment master based on the partners assigned to the line item of an SD contract , the equipment is linked to the contract line item in the technical objects. does anyone know of an exit that will allow for this or the internal table that hold the link between the technical object and the contract item ?
Thanks
Edited by: Brendon Shotton on Oct 6, 2008 6:27 PM
You can create a User Exit in CMOD for the 2LIS_11_VAITM DataSource to get the data. There should be a 1:1 (equi or inner join) or 0:1 (outer join) relationship of the data that you want to include, so that you don't create duplicate data.
Another option would be to create generic DataSources and join the data in BW.
Similar Messages
-
Swapping Technical Objects on Service Contract (VA42)
Hi,
I need to develop a funtion that will swap Technical Objects on Contracts. The reason for the change is a swap of equipment under warranty.
I have been looking at the IWOL function group trying to determine if the needed functions are there. Has anyone else done this before? If so, which BAPIs did you use to perfom this process?
Thanks
RichThe main contract data is stored in VBAK/VBAP, that is correct.
I'm not sure of all of the tables associated with the Technical Object link. Here's some that I've found in my search.
EQUI, contains the equipment (technical objects)
SER02, gives OBKNR(s) by sdaufnr(vbeln) and posnr.
OBJK, gives SERNR(s) by OBKNR.
There are probably more tables involved, I can't say for certain. There must be another table that links EQUI-EQUNR with either SER02 or OBJK.
Note: Just to clarify what it is I'm trying to do. What I need to do is to add a new Technical Object to an existing Contract Line item. And delete and existing Technical Object from an existing Contract Line item. -
Extracting Technical Object List on Contract Items (View VISER02)
Hi,
We have build a simple extractor to get a full load of the VISER02 view into BI.
However this does not give us the set of objects which have been deleted by the users from the technical object list on the contract items.
We have looked at following options:
1. preventing users from removing equipments from the object list using SAP ERP user-exit. It was put in place, then rejected by the business
2. flagging the SER02 underlying table for changes, and then develop a custom extractor on the change log tables. Sounds over complex.
3. extracting VISER02 in full into a DSO into BI, then using a second DSO and with some mechanism identifying and flagging the equipments that disappeared. Not nice to do this in BI.
4. using an SAP ERP user-exit, saving the equipments removed from the object list to a custom table in SAP ERP, then extracting that table in delta mode.
Any more thought?
Thanks!!I found the problem This issue was caused by a condition within get_content method whereby all non hex input should have import param 'RAW' given, despite the difference in the objecttype being retrieved from the previousl class method cl_fitv_gos=>get_links.
So no need to reply.
Thanks,
Kevin -
Copy from VBRP to technical object Serial Number in Sales Order
Hi SAP colleagues,
I need some help in the following issue. Hopefully somebody can assist. In a F2 invoice in the field VBRP-CHARG, the serial number of the product is available. In the business of my client, many return orders exist (KR, RE, etc.). The return order is created while referencing to the billing document. At this moment SAP users (transaction VA01) must fill in the serial number manually via Extra -> Technical Objects. Regularly people forget to do this or use an incorrect serial number. This leads to all kind of problems further on in the process.
The question is: how can this process be automatized? So the serial number which is available in VBRP-CHARG, should be copied automatically into the return order in the technical object area in the field SERNR.
Who knows how to solve this technically in SAP?
Best regards,
PaulHi Karan,
First of all thanks a lot for your answer. Unfortunately it is more complex... The batch number which is available in VBRP-CHARG should be copied into the Technical Object area in the sales order. Menu path: Extra -> Technical Objects. So this is equipment functionality related to sales orders. So copying using copy control from VBRP to VBAP or VBAK will not solve the problem. Do you have any idee how this can be achieved (tables like SER02, OBJK are relevant)?
Best regards,
Paul -
Technical objects required to be mandatory in service contract VA41
Hi
I've got exactly the same issue as the one described in the thread.
Technical objects required to be mandatory in service contract VA41
Unfortunately for me it has never been answered, and seems to be quite old now.
Does anybody knows how it could be set or developed?
Regards
OlivierThrough standard configuration, it is not possible. However, you can try with any of the following exits
USEREXIT_MOVE_FIELD_TO_VBAP or
USEREXIT_SAVE_DOCUMENT
in the program MV45AFZZ where your technical team needs to validate those required fields as mandatory which is quite possible through coding.
G. Lakshmipathi -
Incompletion Log(Service Contracts-Technical Objects)
Dear Experts,
Our Requirement is to include Equipment (Technical Objects) in the Service Contract - Incompletion Log. We could not find the Equipment Details. Please post your thoughts.
Regards,
shareeqHi Zakaria,
I know it is possible to make it compulsory when introducing a service material in the service contract. You should check transaction OISD. Here you should check fields RTYP (02) and ROBJ (02) .
"The reference type determines whether you can or must specify a technical reference object when you create a service order automatically, or whether you can generate a service order without a technical reference object."
I hope this will help you. -
Adding Technical objects (equipment) in sales contract
Hi Gurus!,
I trying to add an equipment in a sales contract (Extras / Technical Objects) but the system gives the message V1 192 (Serial number profile is missing for material 212 in plant 0001), the material is a maintenance service, and the equipment has a serial number, Why a the system checks the serial profile of material master data?
Best regards,
AmparoDear Prase,
As you have explained, that´s the case you sale material as equipment, but in our case we sale a service maintenance over a client equipment. Does not logical create a serial number related to service material.
Thanks in advance for your help.
Amparo -
Adding Technical objects linkage sales contract to equipement document
hi Gurus,
I am trying to add an equipment in a sales contract (Extras / Technical Objects) but the system gives the message V1 192 (Serial number profile is missing for material 212 in plant 0001), the material is a maintenance service, and the equipment has a serial number, Why a the system checks the serial profile of material master data?
KrishnaDear Prase,
As you have explained, that´s the case you sale material as equipment, but in our case we sale a service maintenance over a client equipment. Does not logical create a serial number related to service material.
Thanks in advance for your help.
Amparo -
Which SD Table holds the Technical Object Information?
I am writing a report in SQ01 and can't find an SD table holding the technical objects information from the Sales contracts or orders. Can anyone suggest a table or which tables to joins I need. .
Thanks
Jen.... also:
inner join with sales ordem item:
VBPM-VBELN = VBAP-VBELN
VBPM-POSNR = VBAP-POSNR
Available fields:
Technical reference object type
Technical reference object
Serial number -
Check on Technical Objects when saving VA41/VA42 (Enhancement for SD)
Hi All,
I need to check whether a particular Equipment/Tech Object is already linked to any other existing Sales Document based on Sales Doc Type while saving. If so i need to raise an error and stop the VA41/VA42 Save.
I tried USER EXIT SAVE DOCUMENT PREPARE under SAPMV45A but i cant access the Tech Objects attached which is under SAPLIWOL.
Kindly advise me how to access Tech Objects data from SAPMV45A under SAVE DOCUMENT PREPARE or any better option is there.
Thanks,
Saleem BECInstead of validating technical object, you can try to validate the technical field name which would be very much available in the user exit.
G. Lakshmipathi -
Add/Remove data object from dataset
Hello,
I was working out a way to add and remove data from a dataset
on the fly and could not figure out any built in methods to do
this.
As I have decided to include spry in my project I like to try
and utilise as much as of its code as possible since it is
complicated to explain I have created a simple example – a
colour picker! (thought it might be more interesting…) of
what I am trying to achieve at
http://www.freshfresh.co.uk/spry/
- if you have a go on this and maybe look at the source code (all
the JS is embedded in HTML there are no modifications to other the
other core files). I have only used spry effects etc, including the
‘accordion’ – which I have become quite attached
to, it is really good for condensing pages down.
You will see I am using the setDataFromDoc method to create
the dataset – I tried the .data = myArrayOfData; .dataHash =
hashTable; method i.e. creating from an object rather than array
but it did’nt seem to play ball with the
addDataChangedObserver method – it did’nt update itself
each time it was modified (I am sorry I cannot remember exactly
what I did – but I tried all kinds of ways…). I stuck
with the string method because it worked - each time my new dataset
changed it updated itself on the screen (you will have to have a
look to understand.....sorry!!), but I would be interested to know
how such a thing could be implemented using the object route if you
believe this would be more efficient.
My second question is more simple – is there a shorter
way to add and remove a data object from a dataset? – as you
can see from the source code I have effectively created an
‘interface’ to do these tasks…. I could’nt
work out whether these methods are already built in. Maybe they
are?
Third question is… to extract a data object from a
dataset I use the .dataHash[the_row_id] method – is this the
right thing to do or could it lead to complications… that is
using methods that might supposedly be private?
Fourth question (observation really) – whilst creating
that colour picker example I went over board with my datasets and
loaded in several palettes some of which had over 1000 elements or
data objects. Which inevitably was very slow (on my computer
anyway) – but it got me thinking about trimming the contents
of my spry regions for better performance. I am I right in thinking
that the less HTML etc that there is in a spry region the quicker
SPRY will process it. For example say you had spry repeat with an
image tag in with some onclick, onmousover, onmouseout, style
attributes etc and compare this to a spry repeat with a simple
image with minimal attributes set. I suppose what I am trying to
say is – does spry ‘store’ all the contents of
each spry region somewhere? Or does it just process it and leave it
to the browser dom?
Fifth observation.... I find it really difficult to explain
computer technicalities in writing. It must be tough reading these
posts.... I know I find it difficult sometimes when dealing with
written end user feedback!
AndrewJust clarifying my questions a bit further....
I found some old code regarding question 1 by using the
object method I mean something like this...
var mySwatches = [{'@hex':'ff0000'},{'@hex':'00ff00'}];
var hashTable = [];
function createDs(){
for (var i = 0; i < mySwatches.length; i++)
mySwatches
.ds_RowID = i;
hashTable = mySwatches
dsMySwatches.data = mySwatches;
dsMySwatches.dataHash = hashTable;
dsMySwatches.loadData();
i.e. not writing out a whole XML string string as the online
example does. When using this way I did'nt seem to be able to get
the HTML to refresh. I tried using [
Spry.Data.updateRegion('mydata'); ] after recreating the dataset I
also tried adding an [ .addDataChangedObserver ] (like in the
string example) amongst numerous other ways but it just would not
work like the string way. - Maybe I did something wrong somewhere.
In question 3 I refer to the [ .hash ] method .... its not a
'method' its a 'property' - my question should read - is it ok to
access private properties (from a browser campatiblity/security
point of view) that do not have specific methods to gain access to
them. I suppose it does'nt really matter with JS...
In question 4 I mention minimising the amount of code in a
spry region to speed it up. A clearer example of this might be for
example - a gallery with lots of images. As we know there will be a
slight delay as SPRY writes all the html so to speed up that intial
write I strip out all the image attributes such as onlclick do
this, onmouse over do that... and add these after the images have
loaded using a seperate function similar to my
fillSwatches(ds,prefix) function in my online colorpicker example.
I suppose it like a 2 tier processing of all the data. SPRY does
the intial display writing to get everything in place and then
another pass is made over to add any further functionality
adjustments etc. I am still not sure if that makes any sense!
***edit
Also on the subject of speed and the application as a whole
i.e. including my PHP - In one example I was creating I ended up
with an XML structure where each node has over 14 attributes i.e.
<somenode att1=”x” ……..
att14=”z”/> - as the file grew it obviously took
longer to process particularly on the server side, i.e. added all
those attributes just slowed it all down. So I did
this…… <somenode att1=”x:y:z” /> i.e
condensed selected attributes into a string that I could explode
later on.
Obviously this limits SPRYS ability to access the attributes
using the {attr} syntax. I had to create a function to explode the
array and do the ‘necessary’ on a second pass over the
data – this works ok for me. But its interesting that in this
particular case the server could not refresh the XML in an
acceptable time without doing this – just thought that might
be interesting to you. I suppose technically what I am doing is
abusing the concept of an XML structure and simply using it as a
‘carrier’ to feed my application …. Which I
suppose is where JSON comes in…. which is a bit more compact
and maybe faster to manipulate on both the server and client side
– I don’t really know, I have never used it –
just throwing ideas around!!
Andrew -
Create File Object from a remote file
Hi,
I would like to know about how to create a new File object from a file in a remote machine, it is a web application, i have the remote route of the file, and if I need the ip of the remote machine, I would like to know how to get it too.
File fileobject = new File(�What do I have to put here or before or whatever?);
Thank you very much.
J.First, from the technical point of view you can't create a File object unless it's a file on the computer where the code is running. It doesn't matter if you have an IP address or something, if you haven't mapped a drive to it you can't create a File object.
But more importantly, you can't just reach out from your server and grab a file from the client's computer. That's an obvious security violation and if you didn't realize that you shouldn't be designing web applications yet. If you want a file uploaded then you have to provide the client with an HTML form where they select a file to be uploaded. -
Urgent - BDC program to update technical objects using transaction VA42
Hi,
Currently my program updates technical objects details at item level as well as BOM header level.
But my client insists on updating at contract level i.e when u go to va42 transaction and without selecting any item, we need to go to menu,technical objects where the client wants all the items to be displayed.
How to do this way?, is it possible, please advise on this regard.
Very urgent!
Thanks in advance
Anandh.BI went into va42 and tried to extras->technical objects but it saying to select the item. Without selecting any item it is not going into technical objects.
You can only do BDC if is possible manually, since its not possible you cannot do BDC for that.
Cheers,
Satya -
Transporting object from development to production server
Hi Everyone,
Could you plz tell me how can i transport a object from development server to production serevr if that object is local in production server. And also could u tell me if the transfer structure is replaced if the names are different in both the server???Could you plz tell me how can i transport a object from development server to production serevr if that object is local in production server.
Case 1: Object is in Prod, but not in Dev. and you want to align the systems through transports.
You will have to send it to D (which could be done by changing transport routes & then following normal transport procedure) & then will have to bring it back with overwrite originals.
Case 2: Object is present both in Prod & Dev.
You can send the transports D->P with Overwrite originals (following the transport procedures).
And also could u tell me if the transfer structure is replaced if the names are different in both the server???
If technical names are different in both the servers, the transfer structure will not be overwritten. -
Move RE cost from Contract No to Building/Property within RE module instead of FI
Hi, RE experts:
Our company's process moves costs from contract to Buildings/Properties by posting a FI document that will debit to Buildings/Properties and credit to contract nomber.
Is there any way to move the cost from contract to Buildings/Properties within the Real Estate module instead of posting FI documents?
Thanks,
JennyHi Jenny,
As per my understanding through a REFX contract you can make the FI posting entries, at the same time you can define the objects as per your cleint requirement, for those objects you can distibute the charges / conditions what you are paying through a contract.
In your case you want to flow the costs to Building, so try to assign the building in the RECN Contract in Objects Tab, (instead of rental object).
While adding the conditions in the contract ( conditions tab ) try to select the Building and for that you can assign the conditions.
To assign building in contract ( Objects tab ) you may need to do the foloowing configuration as below.
SPRO - Flexible Real Estate Management (RE-FX) --> Contract --> Objects --> Permitted Object Types per Contract Type --> you can select your contract type and assign it to building, so that it will allows you to assign the building in contract.
( Attached screen shot FYI ) .
After assigning in contract - conditions tab - simulation mode - you can see the object cash flow ( against your building & partner related cash flow ).
Thanks & Best Regards,
Subbarao.Narne
Maybe you are looking for
-
Duplicate records in BW / PSA
Hello all, I want to load information about equipment from R/3 into BW. The equipments were migrated from another system into R/3. Now, the load fails because there are some records which are duplicated (I can see all the records in the PSA table for
-
Illustrator CS6 Path Fill Glitch
Hello, I made a path and filled it with black. When I zoom in to make anchor adjustments, the fill and the path outline are offset making it very difficult to adjust and align filled paths. This happens all the time. Anyone else have this problem? Ho
-
Color problem - Hot & Cold areas
I have downloaded a trial version of Aperture 2 and have been familiarizing myself with its various new features. I played with the preference settings and now my photos are showing "hot" and "cold" areas even after I reset the sliders to 100% for ho
-
How to map many finished product in one bom
Sir, i hav one raw material sheet in which i will cut number of finished products.how i map in bom.all finished product has cut in differnt quantity.
-
Firefox kept hanging up. I tried Refresh button; received "almost done" message, then nothing happened. I quit & restarted Firefox, & now get message that profile is missing or moved. Used Mozilla instructions to locate profile, it was not in folder