Automatically adding material texts (MAKT) when saving material in MM42?

Hi,
In retail, when saving changes to a material (MM42), if texts in some languages are missing, I want to add them automatically by copy from an existing one.
I'm trying to use method REFERENZ of BADI_ARTICLE_REF_RT but I can't seem to understand how it works.
Any help appreciated.
Thanks.
Regards,
Nuno

Transaction Code - MM42                     Change Material &
Exit Name           Description
MGW00001            Material Master (Retail): Additional Data
MGW00002            Material Master (Retail): Number Assignment
No of Exits:          2
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal

Similar Messages

  • Text missing when saving GIF

    Hi,
    When saving a GIF the white text is disappearing from the dark background. All other layers are visible still. I have saved GIF's without text and have had no problems. Any ideas to resolve this are greatly appreciated.
    I'm using the latest build of PS CC only, no plugins, on a Windows 7 based machine.
    Thanks.

    Hi,
    Here are a couple of images. The first shows the file in PS CC with the first changed frame added, while thye second shows the same in the 'save for web' screen.
    I have only had this problem while using text in GIF's. Animated images save with no problems.
    Thanks.

  • Is there anyway to stop PS Touch automatically resizing the file/image when saving to Gallery

    I bought the Note primarily for the PS touch feature as a way of editting my photos on the move and not being tied to my PC at home. Now i load up my images from the MicroSD card and edit away but when i save them i only have the option of saving to Gallery and not the memory card (not a major problem itself). However they are automatically reduced in both file size but also image size, which is fine for small prints but i like having the option of printing larger so would prefer to keep the large file size if possible.
    On a similar note is it possible to save direct back to the memory card overwritting the original or is it always going to go to the gallery?

    The only thing you can to it to set the  import size to the max value within the PS Touch Settings-> Image Import
    When your image is even larger than the MAX value, PS Touch downscales the image.
    Hope that answers your question.
    Guido

  • Preview erases my text input when saving PDF

    I'm filling out some pdf forms but when I press save all of my input text disappears.
    Any info on this?
    Thanks!

    keybounce wrote:
    This isn't helpful enough. I'm running into this exact problem, with tax forms from the IRS. The PDF's are marked as giving me full permissions. I can say "save as", and the result is an unedited copy of the original file.
    So I found out what's going on with the tax forms, at least.
    The IRS is using an outdated form preparation program. They even state that their output is compatible with, and will save with edits on Adobe Reader 7 or 8, but not with reader 9.
    Is there any way to override or remove the security settings in the PDF file? I mean, if older versions of reader can save the changes, then it must actually be possible, merely a "This flag tells me to disable something that I'm perfectly able to do" in the program, so how can I either disable that flag or change the behavior of the program?
    (At least in the USA's copyright laws, there is something called "Fair Use" that lets you do things that would otherwise be prohibited. To deny any form of Fair Use is to deny a protected right, which could get into legal challenges.)

  • Automatically adding alt text to graphics

    Here is a pie-in-the-sky project that is way beyond my abilities. Anyone up for that challenge will have my (and probably other's) endless gratitude.
    I would like a script that creates an "alt text" for graphics based on the text of its caption in the document.
    The structure would be something along the lines of:
    1. Enumerating each anchored frame that contains a graphic
         a. Testing to see if a specific paragraph style follows the anchored frame
         b. If exists, selecting the text of that specific paragraph style
         c. Setting the "Alternate" object property of the anchored frame
    So after most graphics we have a caption using a "Figure Title" paragraph style. The script should create the text like: "This image is a screen shot of " + figTitle. Then populate the Alternate field of the Object Attributes dialog box of the Object Properties of the anchored frame.

    Milo--
    While I'm not volunteering to write the script, I would encourage you to tackle it yourself. It is hardly a pie-in-the-sky project, and if you have any desire to expand your abilities, this would be a worthwhile exercise.
    You've already taken the first step by outlining the basic structure.
    There are several threads you might find useful in putting it all together
    http://forums.adobe.com/thread/959627?tstart=0 --The main subject is about deleting aframes, but it spends a bit of time discussing how to iterate through all the frames in a document and determining their contents.
    http://extendingframemaker.blogspot.com/2012/01/getting-elements-text.html --While the listed subject is getting text from an element, the approach is very similar to how you get text from a paragraph
    http://forums.adobe.com/thread/926370?tstart=0 --Regarding setting attribute values

  • I don't accept cookies except from "Exception" domains. However, it seems that any site that want to set a cookie is automatically added to my list of "Exceptions". Why is this?

    I have "Accept cookies from sites" unchecked. I have a list of exceptions for domains that I allow to set cookies. However, it seems some site not on my exception list are automatically added to my list when they want to set cookies.
    Why/how is this happening?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • MIGO printing material document when saving.

    Hi,
    how enabling automatically the printing of materials document in MIGO when saving ?
    Best regards

    The steps are the following:
    trx M706 or SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03;
    Default Values: Dispatch Time is 3 or 4 as per reqmt. and Tr medium is 1, Print Parameter is 7;
    trx MN21, for output type WE01, WE02, WE03 select Tr Type WE, Print Version 1, 2, 3, maintain Print Item       as 1.
    For enabling printing when user post a goods receipt is necessary set in trx SU01 for the users the parameter NDR and activate it with an X.
    This will set the tick in the field XNAPR in MIGO.
    At every logon system will propose the field checked
    If the user will remove the tick or will put again the tick during a session system will remember
    the last setting.
    At the following logon system will propose again the above field checked
    System will also remember if user has set in MIGO "GR Note Vers1 or GR Note Vers 2 or GR Note Vers3" for the entire session and furthers logons.

  • PO item Texts, Un-necessary characters ( &#10) are automatically added

    All SAP Gurus,
    In PO Texts (Item), we enter some text and when we are saving the PO, some un-necessary characters (
&#10) are automatically added into it.
    Only these characters are getting addded into the PO text.
    And these are added after each line we have entered.
    What may be the reason for this?
    Even after we remove these characters manually, these get added again when we try to save the PO again in ME22N.
    Regards,

    Hi,
    I think you can remove this additional characters(&#10).In me22, Under PO text ,there is SAPscript Editior,select that,then it will take into  sapscipt editor,then remove additional characters,then save it.
    I hope it will clear your problem.
    With Regards,
    Jaheer.

  • Automatic Packaging material as delivery item

    Hello Friends,
    In the delivery document there was a automatic packaging material created and deleted in the delivery document, due to which the weight is pickedfrom that of item of delivery document and not from the Handling unit.
    I would like to know in what circumstances the automatic packaging material get added to the delivery document, when i observe the changes for the document there were some changes in the Net weight and Gross weight.
    Can you guage anything from the above statements, how is that an automatic packaging material is added.
    Thank you.

    Hi,
    Are you using automatic packing functionality in SAP?
    As the name specifies, this can be used to pack materials automatically; based on pre-defined set of instructions. Once those instructions are configured, at delivery creation point, materials will be packed automatically.
    Best regards,
    Anupa

  • How come my macbook Pro doesn't automatically connect to my wifi when it is saved under known networks?

    How come my macbook Pro doesn't automatically connect to my wifi when it is saved under known networks and i have the box checked under network settings?

    Random35,
    does your wi-fi router filter access by MAC address? If it does, then have you added your MacBook Pro’s MAC address to your router’s whitelist of acceptable MAC addresses?

  • Why does Illustrator keep adding a "-01" to filename when saving/exporting?

    Is there a way to turn this off? I can't overwrite files like i want. When i either save or export a file, Regardless of what i name it, when i click save, Illustrator is automatically adding a "-01" to the end of the filename. Then i have to go back in and manually delete the old file and change the new filename by deleting the "-01" on the end. This has caused me to delete the wrong files a few times.
    It's annoying and i'd like it to stop!
    Thanks!

    Actually, unchecking the "use artboards" only works to a certain degree. If you have any artwork sitting outside the artboard, it shows up in the saved or exported file. That can be a problem if you like to open Illustrator files in Preview to make quick PDF proofs for clients (like I do) or need to open the file directly in Photoshop. In that case, you're forced to check the "use artboards" option in order to hide any temp/sidelined art, which triggers the numbered naming scheme.

  • Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?

    Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?
    I use the Tools > Annotate > Add Text feature, and when I click away after adding text, it automatically changes the text box size such that the last letter -- or last word -- gets bumped off into an invisible line below it, forcing me to manually adjust every single text box. It is highly annoying when trying to complete PDF forms (e.g. job applications).
    It appears to be a glitch, quite honestly, an error resulting from Apple's product design. Has it been fixed in the new operating system (for which they want $30)?
    I would very much appreciate any help you can provide! Thank you for your time.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How automatically saving a copy when saving a file?

    Hi,
    For my pictures (RAW and PSD) I use a separate external disk, our Timecapsule would be full in a year. My work flow in copying is normally no problem. But of course now my iMac drive is 'broken' I find a few PSD-files not be copied to the external drive. I wondered, is there a simple way to automatically save a copy when saving a file (and replace an earlier version of the copy)?
    Murk

    Thanks. FWIW I'm very keen on improving tethering and lobbied Adobe endlessly until they added the overlay for shooting into layouts because it was a major reason why some of my clients were unable to switch to Lightroom from PhaseOne. But we have to be realistic and remember that tethering just isn't a key market for Adobe as it is for PhaseOne, so progress is painfully slow. For example, where is live view or setting exposure which are in PhaseOne? I'd be amazed if we get those features for a few versions, and that's why I point serious tethered shooters to other solutions. And realistically, assuming your understanding of the SDK is correct you shouldn't expect a change until the next full version of Lightroom.  Good if it happens, but I wouldn't bet on it.

  • Why does my cursor not automatically select the entire word when I try to select text by starting/ending in the middle of a word?

    In any other browser I've used (or word processor, for that matter) when I select text using my mouse cursor, if I start and/or end in the middle of a word, it automatically selects the whole word when I'm selecting more than one word. But for some reason this is not happening in Firefox. If I try to select say 3 words, and I start in the middle of the first word and end in the middle of the last word, it will only select those parts, not all 3 words entirely.

    Firefox allows to select part of a word. You can select a word with a double click and use Shift + left click to set the end of the selection, so you need to click at the end of the last word instead of in it.

  • Creating a Service Order automatically when saving a Sales Order

    Hello SDN,
    I'm trying to have SAP automatically create a Service Order when a Sales Order is created. To this end, I've tried implementing BADI workitem_template and have been using method before_update. I've been using BAPI BAPI_ALM_ORDER_MAINTAIN to create the service order.
    The problem is that in order for the BAPI to save the service order, the sales order needs to be fully saved and operational. Otherwise it just keeps saying 'sales order does not exist'. So the problem is that the BADI is intervening too soon in the saving process. The temporary sales order numbers have been replaced with actual ones, but the records do not show in the database just yet. I think there's a commit that still needs to be done or something.
    However, I cannot find a BADI or user exit that intervenes after the sales order is saved into the database, so this leaves me stranded.
    Any suggestions would be heartily apprechiated.
    Kind Regards,
    Niels.
    Edited by: Niels Ruelens on Feb 20, 2008 4:20 PM
    Edited by: Niels Ruelens on Feb 20, 2008 4:22 PM

    Following your suggestions, I've created an update function module and inserted it into the USEREXIT_SAVE_DOCUMENT. In this function module, I'm calling the BAPI.
    Problem with this approach is that I cannot debug, nor is he actually doing anything. Here's the code that is put in the function. Is there anything wrong with the way I call the BAPI perhaps?
      DATA:
        lt_srule     TYPE TABLE OF bapi_alm_order_srule,
        lt_bheader   TYPE TABLE OF bapi_alm_order_headers_i,
        lt_srule_up  TYPE TABLE OF bapi_alm_order_srule_up,
        lt_methods   TYPE TABLE OF bapi_alm_order_method,
        lt_return    TYPE TABLE OF bapiret2,
        ls_vbak      TYPE vbak,
        ls_vbap      TYPE vbap,
        ls_bheader   TYPE bapi_alm_order_headers_i,
    *    ls_header    TYPE cobai_s_header,
        ls_prps      TYPE prps,
        ls_srule     TYPE bapi_alm_order_srule,
        ls_srule_up  TYPE bapi_alm_order_srule_up,
        ls_methods   TYPE bapi_alm_order_method.
    *    ls_item      TYPE cobai_s_item.
      SELECT SINGLE * INTO ls_vbak
      FROM vbak
      WHERE vbeln = vbeln.
      SELECT SINGLE * INTO ls_vbap
      FROM vbap
      WHERE vbeln = vbeln.
      FREE: lt_methods, lt_bheader, lt_srule.
    * Fill methods
      CLEAR ls_methods.
      ls_methods-refnumber  = 1.
      ls_methods-objecttype = 'HEADER'.
      ls_methods-method     = 'CREATE'.
      ls_methods-objectkey  = '%00000000001'.
      APPEND ls_methods TO lt_methods.
    *  CLEAR ls_methods.
    *  ls_methods-refnumber  = 1.
    *  ls_methods-objecttype = 'SRULE'.
    *  ls_methods-method     = 'CREATE'.
    *  ls_methods-objectkey  = '%00000000001'.
    *  APPEND ls_methods TO lt_methods.
      CLEAR ls_methods.
      ls_methods-refnumber  = 1.
      ls_methods-objecttype = ''.
      ls_methods-method     = 'SAVE'.
      ls_methods-objectkey  = '%00000000001'.
      APPEND ls_methods TO lt_methods.
    * Fill header
      CLEAR ls_bheader.
      ls_bheader-orderid    = '%00000000001'.
      ls_bheader-order_type = 'ZM02'.
      ls_bheader-funct_loc  = 'FERBL_TD5C_DER'.
      ls_bheader-planplant  = 'B006'.
      ls_bheader-sales_ord  = vbeln.
      ls_bheader-s_ord_item = '00010'.
      APPEND ls_bheader TO lt_bheader.
    ** Convert the internal WBS to an external WBS element
    *  SELECT SINGLE * INTO ls_prps
    *  FROM prps
    *  WHERE pspnr = ls_vbap-ps_psp_pnr.
    **   Fill settlement rules
    *  ls_srule-objnr =   ls_item-aufnr.
    ****    ls_srule-sales_ord = caufvd_imp-kdauf_aufk.
    ****    ls_srule-s_ord_item = caufvd_imp-kdpos_aufk.
    *  ls_srule-wbs_element = ls_item-projn.
    *  ls_srule-settl_type = 'FUL'.
    *  ls_srule-percentage = 100.
    *  ls_srule-extnr = 1.
    *  APPEND ls_srule TO lt_srule.
    *  ls_srule_up-wbs_element = 'X'.
    *  ls_srule_up-sales_ord = 'X'.
    *  ls_srule_up-s_ord_item = 'X'.
    *  ls_srule_up-orderid = 'X'.
    *  ls_srule_up-settl_type = 'X'.
    *  ls_srule_up-percentage = 'X'.
    *  ls_srule_up-extnr = 'X'.
    *  APPEND ls_srule_up TO lt_srule_up.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods              = lt_methods
          it_header               = lt_bheader
    *          IT_HEADER_UP            =
    *          IT_HEADER_SRV           =
    *          IT_HEADER_SRV_UP        =
    *          IT_USERSTATUS           =
    *          IT_PARTNER              =
    *          IT_PARTNER_UP           =
    *          IT_OPERATION            =
    *          IT_OPERATION_UP         =
    *          IT_RELATION             =
    *          IT_RELATION_UP          =
    *          IT_COMPONENT            =
    *          IT_COMPONENT_UP         =
    *          IT_OBJECTLIST           =
    *          IT_OBJECTLIST_UP        =
    *          IT_OLIST_RELATION       =
    *          IT_TEXT                 =
    *          IT_TEXT_LINES           =
    *     it_srule                = lt_srule
    *     it_srule_up             = lt_srule_up
    *          IT_TASKLISTS            =
    *          EXTENSION_IN            =
             return                  = lt_return.
    *          ET_NUMBERS              =.
      IF sy-subrc = 0.
      ENDIF.
    Edited by: Niels Ruelens on Feb 20, 2008 4:58 PM

Maybe you are looking for

  • How do I use Time Machine to restore applications to a new computer?

    Hello again I just upgraded to a newer computer (not brand new, though: 20" imac with intel core 2 duo). I traded in the older one and the files from it were transferred over, but not the applications. Now, a year ago I took my tech friend's advice a

  • DBMS_XMLStore package

    In emp table i'm having releving_date column as not null and no default value. Without getting releving date from XML message how to populate value into emp table using dbms_XMLStore package. In the below example whater values we are getting from XML

  • The ringtone option does not appear in itunes

    have the iphone 4... have the app to change songs into ringtones. when I look on the itunes home page when I sync my iphone it does not have the option for ringtones on the left side fo the screen.

  • Syncing and single album rather than my entire itunes library.

    I have an album I would like to move to my iphone. It is on a different computer than I normally use. I can link my iphone up but if I choose to sync with it, it will remove everything I have added from my other computer. I just want to add a single

  • Any way to duplicate a track and designate a channel to it?

    My issuse is that I have audio with 2 channels that i import into Audition and they all need noise reduction. I need to take out multiple low frequency band hums, and cant nail them with any filters so I need to do the clips oen by one with the noise