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 BEC

Instead 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

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
    Rich

    The 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.

  • How to set PSD as the default for Ctrl-S when saving a layered DNG for the first time?

    Something has changed in my settings!! My Edit>Preferences>File Handling is checked to require Ask Before Saving Layered TIFF Files.
    Today I hit Ctrl-S with a layered DNG and it saved it as an Edit.tif
    What do I need to change so that the default on Ctrl-S from a Layered DNG is a Layered PSD?
    Thanks,

    Similar question. When I hit Ctrl-Alt-S, the default is TIFF; is there a way to make the default PSD?

  • Problem when saving the Data basis for the Consolidation

    Hi Gurus,
    I am having 2 problems.
    1) When i try to execute the UCWB transaction . It gives an information message
    " Data basis DB needs to be generated (after upgrade) . I am following the procedure given in that "<b>Run maintenance of data basis DB in display mode. Go to the "Data Streams" tab page. Choose the "Generate" button.
    If changes to Customizing settings are permitted in the current system or client, as an alternative you can maintain the data basis in change mode and save. In the case of systems supplied with Customizing transports, as an alternative you can generate the data basis in the source system and then transport it again.</b>
    Even after doing that procedure when i again execute the UCWB. it give me the same message.
    2) when is try to save data basis for the consolidation . it give me this error message.
    "Field 0HC_ATCCODE: This compound differs from that of basic field 0HC_MEDCTG"
    I have checked the referenced Info objects . Checked the compound info objects. Activated them again. They dont differ in any way. but still i get this problem.
    Please help me out. If someone has come across this error and solved. Please help me.
    Regards
    satish

    Hi satish,
    I constantly receive the message like your #2 saying that it was a critical change in X infoobject. It's just a warning and I found several OSS notes saying that this message is not correct. Just ignore it.
    In case of your Q #1. The data basis might be generated in two ways: by pressing Save icon and by clicking the Generate icon (the system refers just to this very option) and then - Save. The last way is used in Productive environment. Try it.
    Hope this helps.

  • Error when saving a default format for a date field in 11g

    Getting this error when attempting to save the default for a date field in 11g:
    The current xml is invalid with the following errors: Bad xml instance! <?xml version="1.0"?> <sawsavedformat:metadata xmlns:sawsavedformat="com.siebel.analytics.web/savedformat/v1.1"><sawsavedformat:columnSavedFormats><sawsavedformat:columnSavedFormat xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sawsavedformat:regularColumnSavedFormat" columnName="&quot;Retrospectives&quot;.&quot;Time Dim&quot;.&quot;Two Months Ago&quot;"><saw:displayFormat><saw:formatSpec suppress="suppress" wrapText="true" visibility="visible" hAlign="left" vAlign="top"><saw:dataFormat xsi:type="saw:custom" customFormat="MMMM dd, yyyy" displayTimeZone=""/></saw:formatSpec></saw:displayFormat><saw:tableHeading><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:tableHeading><saw:columnHeading><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:columnHeading></sawsavedformat:columnSavedFormat></sawsavedformat:columnSavedFormats></sawsavedformat:metadata>
    Line:2, Col:608, Attribute 'displayTimeZone' is not declared for element 'dataFormat'
    Thoughts and suggestions?

    I have a Support Request open with Oracle right now (it's taking a few weeks to resolve) but here's the update:
    OBIEE 10g handles DATE types differently than 11g. Both the support rep and I can't figure out how, but they are different. If you bring the column in as a DATETIME in your Physical Layer you can't save it system-wide, even if you do set a time zone for your account (My Account -> Preferences -> Time Zone). If you bring the column in as DATE you can save it system-wide but you can't display the hours/mins/secs, only the M/D/Y. This has been tested on a 9i and 10g database and produced the same thing on both. The problem never occurred with those same columns using OBIEE 10g.
    Oracle support has not fully admitted this as a bug, but the rep working on this SR said this will probably be fixed in the next release- 11.1.1.4, which is due out late Jan/early Feb of this year. He is trying to reproduce this so he can log it as a bug (which we all are hoping for!) so Oracle can address it.
    For now, I've found that you are stuck with two options: 1) bring the column in as a DATE, display it system-wide as a saved format, but you can't show the time, and 2) don't save that date value with a system-wide formatting and set it manually on every report you need a custom format (don't forget to set your time zone).
    If I hear anything more back from Oracle support I'll update this thread.
    Sorry guys, looks like we're all stranded on this one...

  • Problem when saving a PowerPoint 2008 for Mac file to PDF.

    When I save my PowerPoint 2008 for Mac file as a PDF, the text/font comes out wrong in the PDF -- kind of looks degraded (thinner, darker, more pixilated). I've tried changing the font in the PowerPoint file many times and tried saving it as a PDF both directly and through print -- but each time the text/font doesn't come through correctly in the PDF.  The images/photos in the PowerPoint file all convert to the PDF just fine.  Can anyone help?

    Hi KT!
    I have requested that a Host, relocate your Topic to a more appropriate Forum.
    As it will be transferred, it is not necessary for you to repost elsewhere, at this time.
    But for future reference, please review the first entry How To Post A New Topic, on Feedback About Discussions.
    That is the Forum where you erroneously posted your issue.
    ali b

  • How to make the fields of BPM object not saved in database.

    Is it possible to declare some attributes of BPM object not saved in database.
    For example: Order has attribute orderId and date, user (other attributes)... we only want OBPM save orderId. We want the other attributes could be saved and retrieved by external DAO classes.
    We still want to use the OOTB presentation from BPM object (not the customer jsp).
    Thanks

    When you say:
    Is it possible to declare some attributes of BPM object not saved in database.do you mean you do not want the information stored in the Oracle BPM Engine's database?
    If this is the case, create a BPM Object with just two attributes. One would store your orderId as a primitive data type. The other attribute would be a BPM Object that would store all the other data you are going to retrieve from the external database.
    At the beginning of the screenflow, read the database using the orderId attribute and populate the other attribute (the BPM Object). At the end of the screenflow just before it flows to the end activity, you could set the second attribute (again, the BPM Object attribute) to null. This would keep the BPM object with the two attributes from storing anything but the orderId in the Engine's database table for the work item instance.
    Dan

  • Saving a JPEG file for printing

    When saving a JPEG file for printing using Elements9, should one use "baseline standard, optimized or progressive"?

    Thanks, Andromeda....  I see that PSE8 Organizer has the ability to update the Caption as you have described.  The caption appears in the Description field in the General area and in the Description field in the IPTC area of the image file.  I was unable to update the Title or any other fields using Organizer.  Looks like PSE8 Editor must be used to update all the metadata fields in the image file.  Thus far, the only way I have been able to update the metadata in a JPEG file without having to re-compress it is with a HEX editor.  This, however, is a slow process at best.  Too bad Organizer or Editor does not provide the abilty to update all fields in the metadata without having to recompress the file.  I am not a programmer; however, it would appear to be a fairly straight-forward process.  Thanks, again.

  • 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.B

    I 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

  • When saving a pdf the objects on the page appear offset of the page boundries.

    This happens mostly in illustrator but it just happened again to me while printing a .ps booklet out of indesign and converting to a pdf using distiller.
    See the image below:
    The left shows my InDesign Document. On the right is the pdf that results from the save. As you can see the page boundaries are being completely disregarded when saving the pdf and everything is equally shifted down and to the right.
    Here is an example of me having the same problem in illustrator:
    As you can see there is sometimes zero correlation between what is on the artboard and what page the objects end up on in the pdf.
    This problem also has another strange symptom, it seems to have to do with dragging images from firefox onto an artboard in illustrator. The image is place automatically in the center and all objects in the file move together in one direction. see before and after photos below:
    Before:
    After image dragged in:
    You can even continue to drag images in and it will move in the same direction the same amount every time:
    I'm running Adobe CS6 on OSX 10.9.1.
    Thanks in advance!

    In so many words: We can't know. You have not provided any details about your exact settings, what version of Acrobat, your placed images, color settings, color profiles and a million other things including perhaps providing your test fioles for inspection by other people. That aside simply ask in teh relevant ID/ AI/ Acro/ PDF forums. This place here is a dead place and only meant for general sales, install and activation questions, not specific workflow questions.
    Mylenium

  • Check when saving Logistics Invoice Verification (MRMBADI_INVOICE_SAVE)

    Hi everybody, we have an ECC 6.0. with IS-Retail platform, and we have noticed that during Logistics Invoice Verification process (Tx MIRO), it´s possible to make mistakes by choosing a vendor, then picking an invoice from another vendor, with the particularity that both invoices have the same delivery note number as PO reference (same vendor´s delivery note number / GOHEAD-LFSNR). The system doesn´t check if PO reference corresponds with correct vendor while saving the document.
    Our question for you is if there is a Customizing way to activate a validation which allow us to solve mistakes describe before???
    We found BAdI method IF_EX_MRM_INVOICE_UPDATE PROCESS_AT_SAVE which is processed when saving an invoice, the method calls are encapsulated in the function module MRMBADI_INVOICE_SAVE which is responsible for saving invoices.
    If there isn´t a Customizing way to activate a check like that, the second question we have for you is if you have experience with this BAdI??? Does it work with this kind of validation??? We need to ensure that PO reference corresponds to correct vendor (GOHEAD-LIFNR / RF02K-LIFNR).
    Thanks in advanced for your help,
    Regards,
    Miyuki Quiroz.

    Hi,
    Duplicate invoice check will fulfill your requirement. System will check is the invoice exists with same invoice date, reference and company code.
    Follow the path SPRO -- IMG -- MM -- LIV -- Incoming Invoice -- Set Check for Duplicate Invoices
    Also tick check box for "check double invoice" in vendor master accounting data.
    In case you want amount also as one of the checking parameters, then you need to go for validation. No standard setting is allowed for that.
    Nikhil

  • Sequence of check when saving customer/vendor

    For customers, I am aware that there are 3 possibilities to check the contents of the entered data before the customer is really saved:
    - Settings of field status group
    - Message control
    - User exit
    Can anyone advise me in which order these settings are checked when saving a customer?
    Best regards
    Martin

    Hello,
    No, you can't. BP will always be created first and then a corresponding supplier/customer will be created depending on CVI configurations.

  • HELP! When saving a pdf the objects on the page appear offset of the page boundries.

    This happens mostly in illustrator but it just happened again to me while printing a .ps booklet out of indesign and converting to a pdf using distiller.
    See the image below:
    The left shows my InDesign Document. On the right is the pdf that results from the save. As you can see the page boundaries are being completely disregarded when saving the pdf and everything is equally shifted down and to the right.
    Here is an example of me having the same problem in illustrator:
    As you can see there is sometimes zero correlation between what is on the artboard and what page the objects end up on in the pdf.
    This problem also has another strange symptom, it seems to have to do with dragging images from firefox onto an artboard in illustrator. The image is place automatically in the center and all objects in the file move together in one direction. see before and after photos below:
    Before:
    After image dragged in:
    You can even continue to drag images in and it will move in the same direction the same amount every time:
    I'm running Adobe CS6 on OSX 10.9.1. Please let me know what other settings you might need to know to help solve this problem.
    Thanks in advance!

    In so many words: We can't know. You have not provided any details about your exact settings, what version of Acrobat, your placed images, color settings, color profiles and a million other things including perhaps providing your test fioles for inspection by other people. That aside simply ask in teh relevant ID/ AI/ Acro/ PDF forums. This place here is a dead place and only meant for general sales, install and activation questions, not specific workflow questions.
    Mylenium

  • 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
    Olivier

    Through 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

  • BAPI/FM to update Technical Objects in VA41/42

    Hi,
      I need to update the Equipment and Functional Location for an item using the Technical Objects options... in the VA41/42.
      Is there a BAPI which update this Info. I am using the BAPI BAPI_CONTRACT_CREATEFROMDATA, to create it, but it does not accept the Technical objects.
    Regards,
    K

    Try these BAPI's
    BAPI_LISTING_CONDITIONS,
    BAPI_AGREEMENTS
    Regards,
    Rajasekhar Reddy.

Maybe you are looking for

  • Help! Can't publish to iWeb

    Tried to publish on iWeb (after not using for over a year) and a box pops up saying "Enter the password for "c368387" on "web1439.hostexcellence.com." Anyone know what this means and how to fix??  Thank you

  • Problem while running SOA Server

    Hi, i'm trying to starting SOA server. I started Admin Server successfully but I have problems while starting SOA server. When i'm trying to do that i get many errors, last three lines in console are following: 12 mismatched character '<EOF>' expecti

  • I have photoshop cs4 getting 150:30 error, using macbook air and mountain lion  solution?

    i have a macbbook air(2013) using mountain lion  10.9.2  i have photoshop cs4 and now get error 150:30(license error),  i tried looking to delete flex net program but i don't seem to have it. how do i resolve this?

  • Graph icon in lists views.

    Hi Colleagues, In one CRM 7.0 SP6 I cannot see the graph icon as usual in lists such as Service Request Search and List views. Is there any configuration or user parameter to enable it? In other CRM 7.0 all list contains the graph icon. Best regards,

  • Please help! (creating new rows in a table)

    Hi guys. I have the following table: Guest ID | visit ID | start date | end date | days | total amount | avg amount 1234.......| 6750...| 01/01/08...| 20/01/08 | 20....| $2000.........| $100 Avg amount = amout per day = days/total amount I need to fi