Update tracking number through : BADI ME_REQ_Posted

HI ALL,
greetings.
i had a query .
i have to update the table EBAN and update the field
tracking number(EBAN-BEDNR)at the line item level in the
TCODE : ME52N.
i have already generated a number through number range .and want to populate the tracking number and subsequently update table EBAN at SAVE Button of ME52n.
you can find the field tracking number at the line item under the tab contact person in the tcode me52n.
i would appreciate any help from ur side
thanks in advance.
Gaurav.

Hello Gaurav,
Try using user exit 005(EXIT_SAPLMEREQ_005) which is fired for each item. U can incorporate ur logic to generate the tracking number in this exit.

Similar Messages

  • Changing data captured via ME52N through BADI - ME_REQ_POSTED not working!

    Hi All,
    I am trying to change the 'Release Date' value everytime some data is changed on a purchase requisition via transaction ME52N.  I am using BADI 'ME_REQ_POSTED' via my own implementation of interface method 'IF_EX_ME_REQ_POSTED~POSTED'.
    Everything works and I can access all the data that I need except the fact that the standard variables with item data (i.e. 'IM_EBAN') cannot be changed and so I am forced to rather change table EBAN directly by using a 'MODIFY' statement after processing the data within the BAdi method.
    However when I check table EBAN via se16 I find that the field that I want to change (i.e. EBAN-FRGDT) does not change at all even though the transaction states that the document has been saved successfully and my BADI implementation has been executed in full.
    Therefore how can I ensure that the field is updated via this BADI or via a direct update within the BAdi implementation?
    Thanks.

    Hi,
    I have solved this one.
    Thanks.

  • SCM EWM,,,,,,,,to update Tracking number ,Frieght cs

    Hi Gurus,
    Here i am Working on EWM,,,I am getting data from Legacy system,,,,,,,,like
    Handling unit,DOCNO,TOtal weight,Frieght cost and Tracking NUmber,,,This data i have to update in THE EWM,,,,Could any body can help me in this,,,,,I know the tables to be updated,,,,
    /SCWM/HUHDR-----Is for update -Weight-with the handling unit(HUIDENT),,,,
    /SCWM/HU_IDENT----Is for upate the Tracking number (HUIDENT) under the Type "T" with GUI id
                                    and Frieght cost also should be update in the  SAME TABLE SAME filed but the TYPE is "R".........Here HANDLING unit,,,and Tracking NUMBER Field names are same but Tracking Number is (Alternative Handling Unit Identification),,,I guess it is clear,,,pls help me in this,,,,
    Here i am looking for Aany BAPI or Function module,,
    Could you guys can suggest me which is best method,,,,,,,,,,,,
    Thanks
    Krisna
    Title Edited by: Alvaro Tejada Galindo on Jan 11, 2008 2:27 PM

    Hello Diogo,
    currently there is no EWM-EM connection and Business Process Type available.
    Only chance would be that you create the connction by yourself.
    But this would require not only create a BPT but also coding for the connection to EM.
    On
    http://service.sap.com/scm
    > SAP SCM in Detail > Event Management -> Technical Information
    you find a document with more infos:
    Connect SAP objects to SAP EM
    Hope that helps.
    Best regards,
    Steffen

  • Can we update mseg table through badi mb-migo_badi or not???

    Hi Experts
    I had a requirement to add an additional tabstrip at the item level of MIGO transaction .
    I have implmeented the same using MB_MIGO_BADI .
    I have also added a field quantity on this tab.
    The problem now is i'm not able to update this field in the MSEG table.
    I have extended the MSEG table using append structures.
    Regards,
    Sunny

    use this fm inside ur badi
    J_1IEXGM_BADI_POST_DOCUMENT
    also chk this thread
    Re: MB_MIGO_BADI   IMPLEMENTATION
    кu03B1ятu03B9к
    Edited by: kartik tarla on Mar 11, 2009 12:12 AM

  • Badi ME_REQ_POSTED  For CJ20N Transaction

    Dear All,
    I am creating PR from PS using tcode: CJ20N and i need to check PR Requisitioner fields through CJ20N ,
    I am able to give error message for PR Requisitioner field through BADI ME_REQ_POSTED . My problem is as follows
    Suppose First time I enter wrong value (Ex. ABC ) in Requisitioner field , then it gives error message, then I give correct  Value (Ex. 1101_003 ) in Requisitioner Field  At that time also it is giving the error message.
    When I give correct value in Requisitioner Field the new value of Requisitioner is not coming in IM_EBAN
    I need to check every time latest value of Requisitioner Field in IM_EBAN in CJ20N.
    Following code I have written in IF_EX_ME_REQ_POSTED~POSTED
    IF SY-TCODE = 'CJ20N' .
        C_ATINN = 'PR_REQUISITIONER'.
        CALL FUNCTION 'CONVERSION_EXIT_ATINN_INPUT'
          EXPORTING
            INPUT  = C_ATINN
          IMPORTING
            OUTPUT = C_ATINN.
        LOOP AT IM_EBAN INTO L_S_EBAN WHERE LOEKZ IS INITIAL.
          CLEAR W_AFNAM.
          SELECT SINGLE ATWRT  INTO W_AFNAM
              FROM CAWN WHERE ATINN = C_ATINN
                          AND ATWRT = L_S_EBAN-AFNAM.
          IF SY-SUBRC <> 0.
            MESSAGE E499(SY) WITH  'Invalid requisitioner'
          ENDIF.
        ENDLOOP.
      ENDIF.
    Already searched on SDN.
    Please help me why the latest value which we enter in requisitioner is not coming in IM_EBAN
    Thanks in Advance
    Regard's
    Shabbir
    Any Help !!!
    Edited by: Shabbir Kureshi on Jul 15, 2010 1:01 PM
    Edited by: Shabbir Kureshi on Jul 15, 2010 2:08 PM

    Hello Shabbir
    If I understand you correctly then you want to prevent the creation of a purchase requisition in case of an invalid Requisitioner.
    In this case I would assume that BADI ME_REQ_POSTED is the wrong one because BAdI method implies that the PR will be saved. Why?
    There is no exception (not usual for BAdI methods) nor a CHANGING parameter like CH_FAILED defined.
    I assume that the correct BAdI for your purpose would be ME_PROCESS_REQ. Final checks BEFORE saving the PR are implemented in interface method IF_EX_ME_PROCESS_REQ~CHECK.
    In case of failure you set CH_FAILED = 'X'. In order to set an error message you may have a look at the following coding:
    METHOD if_ex_me_process_req~check .
      INCLUDE mm_messages_mac.
      DATA: ls_mereqitems        TYPE MMPUR_REQUISITION_ITEMS,
            ls_mereqitem         TYPE MMPUR_REQUISITION_ITEM,
            l_mereqitem          TYPE mereq_item,
            l_msgty              TYPE sy-msgty,
            l_msgno              TYPE t100c-msgnr.
    *-Get the item data
      ls_mereqitems = im_header->get_items( ).
    *-Get the configuration of the messages from T100S
      l_msgno = '173'.
    *-Check if the PR date is in the future
      LOOP at ls_mereqitems into ls_mereqitem.
        l_mereqitem = ls_mereqitem-item->get_data( ).
        CHECK     l_mereqitem-badat > sy-datlo
        AND   NOT l_msgno IS INITIAL.
        CALL FUNCTION 'READ_CUSTOMIZED_MESSAGE'
          EXPORTING
            i_arbgb = 'FICUSTOM'
            i_dtype = '-'
            i_msgnr = l_msgno
          IMPORTING
            e_msgty = l_msgty.
        IF 1 = 2.
          MESSAGE w173(ficustom). "WHEN POSTING
    *    MESSAGE w170(ficustom). "WHEN HOLDING
        ENDIF.
        IF NOT l_msgty = '-'.
          IF l_msgty = 'E'.
            ch_failed = ' '.
          ENDIF.
          sy-msgno = l_msgno.
          mmpur_message l_msgty 'FICUSTOM' sy-msgno
          l_mereqitem-bnfpo space space space.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    Regards
      Uwe

  • Suitable Exit/BADI for populating Requirement Tracking Number in PO and PR

    Hi all,
    I need help from you all. I need a single exit or badi which will trigger before saving any PO or PR while creating.
    For PO, it should handle 3 possible cases.
    1. Tcode : ME21
    2. Tcode : ME21N
    3. BAPI function module (Ex: BAPI_PO_CREATE1)
    For PR, it should also handle 3 possible cases
      1. Tcode : ME51
      2. Tcode : ME51N
      3. BAPI function module (Ex: BAPI_PR_CREATE)
    I need to populate Requirement Tracking Number (BEDNR) field in the line item from a custom number range object and also have to update a custom table.
    Please suggest...
    Raj

    Hi
    <b>At runtime, you will get the GUID in the BADI Interface.</b>
    Incase this BADI does not help, go for another BADI
    1) <u>BBP_SEND_MEDIUM_MODE</u>     
    (Determines the Default Settings for the Send Medium)
    2) '<u>BBP_OUTPUT_CHANGE_SF'</u>.
    <u>Here are some related links -></u>
    Re: PO output medium issue
    Re: SRM PO SMARTFORM
    Re: Control PO output to vendor
    Re: Add a Printer ?  -> LP01
    Hope this will help.
    Regards
    - Atul

  • BADI-Shopping cart number to Tracking Number in PR

    Hi,
    Is there any BADI  is  used for populating shopping cart number in the tracking field in the backend PR.We are using classic scenario.
    or how a shopping cart number can be populated in the bakend(R/3) in tracking number field.
    With Regards
    Sri.
    Edited by: sri ram on Mar 24, 2009 12:14 PM
    Edited by: sri ram on Mar 24, 2009 3:14 PM

    Hi,
    To transfer sc no to Traking number in PR use the BADI  BBP_CREATE_BE_RQ_NEW
    method FILL_RQ_INTERFACE
    Another way of transfer..
    Use the BBP_DOC_CHANGE_BADI for this, method BBP_SC_CHANGE.
    Then something like this, replace {work area} with a variable of your own choice.
    DATA: {work area} TYPE bbp_pds_sc_item_icu.
    LOOP AT it_item INTO {work area}.
    Selecr single object_id INTO
    {work area}-be_tracking_no FROM
    crmd_orderadm_h WHERE
    guid = is_header-guid.
    MODIFY it_item FROM {work area} TRANSPORTING be_tracking_no.
    ENDLOOP.
    et_item = it_item.
    at the end of your code to transfer the import parameters to the export.
    Thanks,
    prasad .s

  • Updating infotype through BADI

    I need to update an 'Z'/ custom infotype without using BDC through BADI . How to do this ?

    Hi
    Try implementing BADI HRPAD00INFTY.
    Regards
    Shounak

  • Item had tracking number on the 4th, NOT received yet, NO update since the 7th! HELP! :(

    I pre-ordered a DVD set on January 10th, the release date being today. On March 4th, I received the tracking number for my item, but there has been NO update on the tracking number provided since March 7th. I called Best Buy and they said to call UPS. I did so, and they said to call Best Buy! I feel like I'm getting nowhere!
    While I know that there was severe weather in TN, OH and KY during the time I was waiting for the tracking number to be activated (between the 4th and the 6th),I know that something should have happened to my item between the 7th and now.
    Please help! Thank you in advance!

    Good morning FS81, 
    Having to wait for your item to update upon release can make anyone anxious! I'm sorry to hear that your DVD may not have shipped as soon as you expected. When items release and pre-orders are being fulfilled, we do our best to ship them as soon as possible so that the items reach our customer's as close to release date as possible.
    With the release yesterday, it's likely we were unable to ship until then although it may have been prepared and ready for the release date. I'm glad to hear that it did in fact update on the release date, and is due to arrive today, 3/11/15. I apologize for any confusion or distress that this experience may have caused you. Please let us know if you should have any questions! 
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • How to update the track number for my ipod ?

    hello guys
    i got an ipod photo
    i already transfer lots of mp3s into the ipod
    but some of the song arent list in the correct order
    seems like i have to update the track number
    can i do it automatically with itunes ?
    maybe there is an option to do this with the 'music store' function ?
    or do u guys have any other suggestion instead of manually update the track number?
    hope u guys will help me
    thx

    Well you use iTUnes to organize your music on the PC and the iPOd. If these songs are in a playlist, you need to open that playlist in iTunes and organize it by the headers.

  • Update ZPURCHASE THROUGH BADI .. at the time of saving Purchase Order

    Dear All Gurus,
    I have a situation wherein i have to save the Purchase Order Details in My DB table (ZPURCHASE ) at the time of Purchase Order Creation through BADI...
    Fields of ZPURCHASE are (Mandt,EBELN,BUKRS)
    Can some one guide me how can i achieve this..
    I tried doing it through User Exits.. i have written a piece of code when saving the purchase order but my problem is .. The purchase order numbers are generated only after SAVE is complete..
    The other alternative i want to try is through BADI.
    Looking forward for your reply.
    Thanks !!

    > I have a situation wherein i have to save the Purchase Order Details in My DB table (ZPURCHASE ) at the time of Purchase Order Creation through BADI...
    > Fields of ZPURCHASE are (Mandt,EBELN,BUKRS)
    I have no solution for your actual problem (wrong forum, you should try the MM forum) but I wonder why you just don't use the data that is already there in EKKO and EKPO?
    Markus

  • Regarding the BADI ME_REQ_POSTED after saving the tcode ME51N

    Hi,
    Currenlty i am using the badi ME_REQ_POSTED to update the header texts in ME51N while creating the PR.
    I am getting the PR number through IM_EBAN.
    My issue is that i have written the code in the badi to pass the input of that PR number in table RSDBS to get the reservation number.
    But once the transaction ME51N got saved, then only the table RSDBS is getting updated with the generated PR number.
    Is there any way to get updates of the table RSDBS before the transaction got saved.
    Please let me know if my question is not clear.
    Thanks & Regards.
    Prabu

    Hi,
    I don't think this is possible functionally? To achieve this, you need to modify the std code.
    Regards,
    Raj

  • Two phones ordered, only one shipped. The iPhone 6 has shipped with tracking number and charge to my card. iPhone 6 Plus has no information available, no one at CS can tell me if this is normal, if it is delayed, any info appreciated.

    I placed an upgrade order for two phones, an iPhone 6 and 6plus.
    I was in the Verizon shopping cart at 11:55 and checked out by 12:01 AM pacific time.
    I do have my email confirmation for both phones with ship date 9/19
    The iPhone 6 has shipped with tracking number and the charge to my card came through for the price of this phone.
    There is no other information available - nothing on the status of the 6 Plus. Customer service doesn't know if this is normal or if my order went through, its really bad.
    Any further information would be much appreciated.

    I was just told by a Verizon sales rep that, when her team got in, when she checked the system at 3:03 (midnight+ 3 minutes)  all 6Plus had a back order date of October, and now its going into November even though the pre-order system was showing 9/19 - that all verizon iphone 6 plus had an instant sell out.
    She had no additional information on my iPhone 6 plus, not even if there was a chance for it to ship out, when the back order date would be - no further information.
    (A different rep I talked to said all iphone 6 plus pre orders had a ship date of October, all of them - I asked what Verizon is going to do when they advertised iphone 6 plus for 9/19 delivery and your telling me they never had any available - at this point he transferred me... *****)

  • How to solve the problem: ipod doesn't  sort tracks by track number

    After lots of attempts, I think I've found the solution that solves this problem (is it a BUG of the ipod software last update?).
    PROBLEM DESCRIPTION
    ===================
    For some albums, ipod seams to be not able to sort songs by track number, no matter how you order the tracks through itunes.
    This problem normally appears in albums that are NOT of the same artist (ex: soundtracks).
    Once you upload on ipod (for ex.) your soundtrack, it can happen, when you browse the ipod in the following way:
    (from the main menu): music -> albums -> <name of the album> -> <tracks list>
    that the tracks list IN THE ipod appears NOT sorted by track number.
    SOLUTION
    ========
    This problem is due to a particular tag, "album artist": try to DELETE what is written in this tag for each song that doesn't appear in the correct order.
    For those that are not aware about itunes:
    1) open itunes when your ipod is connected to the pc
    2) select a song ON THE IPOD that you notice is not in the right position
    3) right click the mouse on it and the select "get info": a popup appears
    4) select the "info" tag on this popup
    5) delete what is written in the text area named "album artist"
    6) click "ok"
    TEST AND REMARK
    ================
    Another suggestion, useful to test the result of this action through itunes.
    It seams that ipod software makes a specific sequence of queries: when you select a specific album on your ipod, first it groups songs by album name (it seams a nonsense, because the songs that belong to the same album have, of course, the same album name), then by "album artist" and only at the end by track number.
    So, if you delete the content of the tag "album artist", automatically ipod should sort all songs by track number.
    Therefore, try to make this test: in itunes, in the ipod section, click on the colum "album" in order to sort your album by album name.
    If the songs appear in the right order (that is, sorted by tracks), your should have solved the problem.
    Hope that this will help the ones who have this problem.

    Hi, welcome to Apple Discusions.
    Is the album marked up as an audiobook by any chance?
    See http://samsoft.org.uk/iTunes/grouping.asp and http://samsoft.org.uk/iTunes/audiobooks.asp for more info.
    tt2

  • With using any version of iTunes, whenever I import songs into my library using the "add to library" function, iTunes adds those songs in songs' alphabetical order. This is pretty annoying since it does not preserve the logical track number or album.

    With using any version of iTunes, whenever I import songs into my library using the "add to library" function, iTunes adds those songs in songs' alphabetical order. This is pretty annoying since it does not preserve the logical track number or even the album sort order (for example when adding 2 albums stored in a unique folder). Anyone has any ideas ? Been stumped for a while....!!!

    hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music'  then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo

Maybe you are looking for

  • Display Image in Report

    Hi, I want to display image link in one of the columns in report. ex: if i click that image it should go to google maps. I stored the image in /res/s_protal/image.jpg and also in oc4j. I know to fmap to show it only once. but i want to reflect it in

  • USE of CAF database

    Hi all, This is a fundamental question i need to know as i am new to composites. Why do we design the Service Entity module in CAF perspective while developing  a composite? Is is for persistence database? Where is this persistence stored? Can there

  • Revision (transaction) management. Am I doing OK?

    I need to track audit information about all tables within a data schema, which app users see via grants on the schema each app users maps to (no app user is supposed to connect directly on the data schema). To achieve this, I have a Revision table in

  • Quicktime .mov files with MPEG-2 codec playback error

    I have a series of .mov files, and I'm not able to open them in QT X or QT 7.6.6. The codecs listed in the Info for the files are: MPEG-2, Linear PCM, and Timecode. Original format is MPEG HD, at 1920x1080. Does anyone know how I can play them back?

  • Macbook doesn't want to recognize the cd rom

    We bought my daughter a macbook before she left for college in September. It has the intel core2duo, 2.16 ghz, and 2 gig of memory. For some reason when she pops in a disk, the macbook doesn't recognize it and doesn't do anything. You can hear it is