BADI MB_BAPI_GOODSMVT_CREATE

Hi
I have appended custom  fields in MSEG table. Now i want to update the custom fields using
BADI MB_BAPI_GOODSMVT_CREATE during GR document creation.
I went thru forum, but no proper answer for this?
Pls confirm which way its possible to update the fields
1)creating Classic implementation ZXXXX and passing parameter EXTENSIONIN
  in METHOD EXTENSIONIN_TO_MATDOC can solve my problem? Should i have to use BAPIPAREX structure?
2)only Enhancement spot MB_GOODSMOVEMENT can solve filling the Custom fields in MSEG table?
After many reference i am confused whether BAPI BAPI_GOODSMVT_CREATE allows enhancement parameter or not?
Pls confirm.
Regards
Chandra

Hi
I have added key fields BLNR(document no)  Itemno and  custom zfieldsv in MSEG into my new BAPI structure ZMSEG_BAPI.
Now i am trying to pass values to those zfields using VALUEPART1 and update the MSEG table using BADI method EXTENSIONIN_TO_MATDOC
since I am creating document using BAPI_GOODSMVT_CREATE i will not have key field values of document number and item no to pass in Valuepart1 field.
Can you pls confirm should i have to pass blank valuesfor key field in valuepart1. just wondering how the key fields n BAPI structure will related with MSEG Table.
Regard
Chandra
Edited by: princeck on Sep 26, 2011 3:17 AM

Similar Messages

  • Custom fields not updaing from BADI implmentaion MB_BAPI_GOODSMVT_CREATE

    Dear All,
    I am using BAPI_GOODSMVT_CREATE for creating GRN.For some custom fields in append structure of MSEG( Material document ), i have implemented BADI MB_BAPI_GOODSMVT_CREATE. PAssing custom fields in Extension of BAPI...
    But still values are not getting reflected in Material Document.
    Please suggest me , if i am missing any step.
    regards,
    subhash karidhal

    Hi
    I have added key fields BLNR(document no)  Itemno and  custom zfieldsv in MSEG into my new BAPI structure ZMSEG_BAPI.
    Now i am trying to pass values to those zfields using VALUEPART1 and update the MSEG table using BADI method EXTENSIONIN_TO_MATDOC
    since I am creating document using BAPI_GOODSMVT_CREATE i will not have key field values of document number and item no to pass in Valuepart1 field.
    Can you pls confirm should i have to pass blank valuesfor key field in valuepart1. just wondering how the key fields n BAPI structure will related with MSEG Table.
    Regard
    Chandra
    Edited by: princeck on Sep 26, 2011 3:17 AM

  • Issue with BADI in BAPI_GOODSMVT_CREATE

    Dear All,
    I am using BAPI BAPI_GOODSMVT_CREATE to create GR with some custom fields for this custom fields am using EXTENSION in BAPI but while execution am getting exception 'badi not implemented' in internal BADI below am sending that code.
    Call BAdI MB_BAPI_GOODSMVT_CREATE to fill own fields
        TRY.
            get badi lo_mb_bapi_GOODSMVT_CREATE.
          CATCH cx_badi_not_implemented.                    "#EC NO_HANDLER
        ENDTRY.
    Kindly suggest me some solution why this BADI throwing exception...as i think this BADI should implemented automatically when i call BAPI BAPI_GOODSMVT_CREATE

    Hello Raj
    Can you share your answer?
    I have added my fields in MSEG table and i want to update those fields using BADI
    MB_BAPI_GOODSMVT_CREATE.
    Can you pls tellme how you have done this.
    Regards
    Chandra

  • Enhancement for MB01 - Need to check the document before post

    Hi All,
    I need to check a material document before posting in MB01 for a field "GR/GI Slip No" which we are using to enter "gate entry no".The issue now is as i'm using a table control screen to post GRs in bulk . i want to avoid duplicate GRs of a particular gate entry.during analysis i found that an exit/Badi at MB01 - end  may serve my purpose well.
    thanks and regards,
    sachin soni

    Hi,
    You may try the EXIT:
    MBCF0005  Material document item for goods receipt/issue slip
    or BADIs:
    MB_BAPI_GOODSMVT_CREATE
    MB_BATCH_MASTER
    MB_DOCUMENT_BADI
    Regards,
    Renjith Michael.

  • How to enhance extra fields in BAPI_GOODSMVT_CREATE.

    Dear Sap Gurus,
    I am facing a problem . I am using standard bapi for MIGO transaction i.e. BAPI_GOODSMVT_CREATE . it is working fine. in our company, along with BADI, MIGO was modified with two extra tab viz. Waybill and ExchangeRate. Here we are maintaining some of  own developed fields . Plz guide me how can i modify this Bapi so that i can update these developed fields . The appropriate answers will be highly appreciated <removed by moderator>.
    Is there any alternative solution?
    NOTE : Currently Using ECC 5.0 SAP
    Thanks & Regards,
    Vijay
    Edited by: Thomas Zloch on Oct 19, 2010 5:43 PM

    Hello,
    1. Use structure BAPIPAREX for passing custom fields. (There are several blogs/posts on how to make use of this).
    2. In the BAPI i noticed there is a BAdI to populate these fields into your business tables.
    Call BAdI MB_BAPI_GOODSMVT_CREATE to fill own fields
        TRY.
            get badi lo_mb_bapi_GOODSMVT_CREATE.
          CATCH cx_badi_not_implemented.                    "#EC NO_HANDLER
        ENDTRY.
        TRY.
            call badi lo_mb_bapi_goodsmvt_create->extensionin_to_matdoc
              EXPORTING
                EXTENSION_IN = EXTENSIONIN[]
              CHANGING
                CS_IMKPF     = S_IMKPF
                CT_IMSEG     = T_IMSEG[]
                CT_RETURN    = return.
          CATCH cx_badi_initial_reference.                  "#EC NO_HANDLER
        ENDTRY.

  • How can i implement 'Distribute Qty' function in BAPI_GOODSMVT_CREATE

    Hi all,
    Using MIGO For GR. if more than one Batch or Production Date or Vendor Batch for same Purchase Order Line Item and Deliv date, need to hit ‘Distribute Qty’ button to split the entry line into multiple lines before enter Production Date and Vendor Batch.
    So I want use bapi BAPI_GOODSMVT_CREATE  implement MIGO function for a interface. Anyone have some suggestion how can i implement the 'Distribute Qty' function in the bapi.
    My email address: [email protected]

    Hello,
    1. Use structure BAPIPAREX for passing custom fields. (There are several blogs/posts on how to make use of this).
    2. In the BAPI i noticed there is a BAdI to populate these fields into your business tables.
    Call BAdI MB_BAPI_GOODSMVT_CREATE to fill own fields
        TRY.
            get badi lo_mb_bapi_GOODSMVT_CREATE.
          CATCH cx_badi_not_implemented.                    "#EC NO_HANDLER
        ENDTRY.
        TRY.
            call badi lo_mb_bapi_goodsmvt_create->extensionin_to_matdoc
              EXPORTING
                EXTENSION_IN = EXTENSIONIN[]
              CHANGING
                CS_IMKPF     = S_IMKPF
                CT_IMSEG     = T_IMSEG[]
                CT_RETURN    = return.
          CATCH cx_badi_initial_reference.                  "#EC NO_HANDLER
        ENDTRY.

  • How to include z-fields into BAPI_GOODSMVT_CREATE

    Hi,
    In MIGO transaction, we have aded some fields on external tabs.
    These fields are mandatory fields
    The data of these fields will be stored in a Z-table when we save the MIGO.
    We have used BADI s to do this. It is working fine.
    Now, I want to post some data using MIGO tansaction. I want to use BAPI_GOODSMVT_CREATE to post tha data.
    How can I include my newly added fields in this BAPI ?
    Can u plz write the solutions?
    Thanks

    Hi,
    Go through the FM documentation of BAPI_GOODSMVT_CREATE, this gives some information how to populate the custom fields.
    Table parameter : EXTENSIONIN
    And check the BADI:  MB_BAPI_GOODSMVT_CREATE which is used to populate the custom fields for the material document.
    I think you also require to implement this badi in your case.
    You also need to extend the tables with the custom fields
    With regards,
    Dwarakanath.S

  • BADI for changing fields during Creation of BP in CRM

    Hello to everyone,
      I need to find a BADI (or other way) to default several fields during BP creation in CRM (4.0 SR1 SP9). The fields I will like to set are TAX TYPE, TAX NUMBER, TAX CATEGORY, etc.. I have found the BADI BUPA_TAX_UPDATE but i dont see any suitable parameters (structures) to changes these fields. Please advice and thanks in advance.

    Hi
    If you use function BUPA_NUMBERS_GET then your BP number will already be buffered and you can avoid a DB read. It may also be that the BP is not in the DB yet anyway.
    You can only pass one GUID in at a time - loop through IT_CHANGED_INSTANCES into a variable of type BU_PARTNER_GUID and pass that into the function as input parameter IV_PARTNER_GUID.
    Cheers
    Dom

  • Implementing BADI MD_ADD_COL_EZPS for MD04 custom column

    Hi there,
    I'm using BADI MD_ADD_COL_EZPS to display 3 new buttons and three new columns in MD04.
    For each line item that is displayed, the custom column is filled, after the button is hit -This works fine.
    My Question is:
    Is there any way to limit the value that is filled into the new column so that it only appears on the FIRST line item/row?
    (At the moment it is repeated all the way down the page - the new value is a material characteristic, so doesn't change, will always be the same for each line)
    I've looked at all the available structures/tables in the FILL_ADD_COLUMNS method of the BADI, and none seem suitable
    to determine the "first" row. (ie. something like the way SY-TABIX or SY-INDEX might be used)
    Any help appreciated.
    Thanks,
    David.

    Hi Shubhendu,
    in the method 'ACTIVATE_ADD_COLUMNS', you can set the flag EZ1_MODE to '1' to make the first column visible always. (it's been a while, but I think setting it to '2' makes it visible when the button is pressed.)
    Same applies to EZ2_MODE for second column, EZ3_MODE for third.
    look at the flags/parameters in this method, and also in FILL_ADD_COLUMNS, to fill the data.
    here you need to fill structure EMDEZX_USEX1 (for column 1) etc.
    The code is hit for each record displayed in MD04
    Hopefully this helps you.
    Regards,
    David

  • Help Needed Badly | BlackBerry INC000025111306 | BlackBerry PlayBook - Tablet button does not work, almost stuck, copper under screen, seventh repair

    I was really Humilitated my RIM on this Ticket whcih i rasied.
    1) I bought a new tablet in last november in 2 months i had a Charger issue 
    2) They said this charger issue we cannot replace with new tablet and gave me a refurbished Tablet to me .
    3) Which also had same charging issue and they exchanged 2 more tablets and the last tablet which was given to me by RIM have a safety concern
     - 1 Small mesh of wire is poping out from the Tablet 
     - Power Button is very hard and its not that easy to press,
    So i raised the above ticket and was esclated internally with RMA as well and i got an update from the esclation agents that we will reply back in 2 Days i waited almost 3 weeks and called 2 times in this 3 weeks for an Update asking for a new tablet so that atleast once in all i can jeep a good 1 Tablet.
    But they never bothered to call me and today i called them again and RIM gave me a call back mentioning we cannot give a new tablet we can again check this tablet repair it and give it back , If we cannot repir then give a replacement new/Old tablet,
    I was wondering how can a tablet from RIM can go out without such safety concern ? How a mesh of wire can comeout of tablet so what safety norms RIM is follwoing for customer.
    AM i not humilitated? since after taking all these struggle tto get a good tablet i have been considered as bad.
    What RIM have to say for this, I am planing to take this to Legal department to follow how i can get a justice for this.

    I would have deleted this but can't find a delete?
    At any rate. got the Blackberry going again but it reset it and lost all the info, pictures and so forth.. oh well. at least it is still working.
    Thanks.

  • Error message in a BADI getting displayed in a popup instead of status bar

    Hello All,
    I have implemented a BADI in ECC6 to prevent the change of formula in ERP from transaction O3I8.
    The BADI gets called on clicking 'Save' from transaction o3I8.
    Within the  BADI i am giving an error message using the following command:
    Message e000(ZABC) .
    However , the message gets displayed in a pop up instead of the status bar .
    The same is for information and warning messages.
    Any suggestions on how to display them in the status bar ?
    TIA
    Regards,
    Vartika

    Hi Brad,
    The checkbox to display messages in pop-up  is already switched off.
    Still themessages are getting displayed in pop-up.
    Regards,
    Vartika

  • Error message from a BAD PDF

    I am using Adobe Reader to render PDF documents as a part of a process and then convert it into TIFF. Some of the documents that come in are corrupt PDF documents and cannot render itself in the reader and hence cannot be converted. This is the error that the reader throws:
    ADobe reader could not open "test.PDF" because it is either not a supported file type or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decoded)
    Now, the process is automated with no human intervention. with the advent of this error message, since there is a modal dialog box waiting for a response from the user, the process is interrupted and needs human intervention.
    My question is simply this. Is there an API i could use where i can figure out beforehand if the PDF is bad so i can reject such files early on? research shows that using the adobe forms server which has the PDF utility services, there is a query "Is a PDF document" that is available. I do not want to use a server product.
    Is there any other ADOBE product that exposes something similar?

    I guess i forgot to add that piece of information. WE do not create the PDFs. We receive PDFs from external sources over which we have absolutely no control  and that explains why we get such corrupt documents in the first place. I was just wondering if there was a simple API event/method/means attached to any ADOBE product which is compatible with .net that tells me if the PDF is corrupt UPFRONT.

  • Error while transporting infospoke with BADI in BW7.0

    Hi:
    We have an infospoke with Transformation ( ie with BADI) in BI7.0.
    While transporting to Quality box it gives error.
    "Transfer structure /BIC/CZZTXXXXX3 could not be generated
    Error when activating InfoSpoke ZTXXXXX3.
    Message no. RSOH010 "
    Could you please help in rectifying the error.
    PS: we tried transporting BADI first and then the infosoke but still its failing.
    Regards!
    Saniya

    Hi
    Check the forum link below
    Transport Problems with Spokes that have BADIs
    Thanks

  • IPod can no longer sync or charge, bad pin connectors?

    I've got an iPod touch thats a year old now that suddenly no longer will charge/sync to anything. I'm thinking maybe the pins are bad?
    I've had difficulty inserting chargers into it since I got it, I've been careful to not handle it too roughly but it does take a strong push to get the charger in there. Of all the ipods I've had (and i had the first gen iPod touch before this too) over the years, never had that problem.
    Before I get a bunch of "just reset it" kinds of replies, it is functioning properly other then that. Last night I did have it hooked up and synced to my Mac so it fully charged, but just now I went to connect it and now it refuses to connect at all. I've tried 2 cords, and with the same cords I plugged my iPhone in as well and it all worked fine, so it's definitely not my other hardware. iPod software is also up to date as well.
    I haven't had a real issue of it not syncing with my computer before today, but in the past month it's had issues staying properly synced to my car radio (play it through USB). It would sometimes drop off or glitch up and not want to work correctly, though in the past week it started working more normally again.
    I listen to my ipod as much as humanly possibly, so I'm wondering if this something I can take to the Apple Store and see if its fixable or replaceable. I've been looking for a great excuse to get the new red ipod touch but I've been unemployed since August.. Of course it has to break before I get a new job
    Has anyone else had the issue of having difficulty getting the sync cords into their ipod touches/problems where the pins just die?
    EDIT: Nevermind. My imac suddenly wont sync my iphone either but I plugged the ipod into the iphone charger and it synced immediately. It's something on my computer's end.
    Message was edited by: Arei

    *all the songs are there, but there are shown in light grey and not able to be high lighted.*
    *I'm also not able to play from my ipod list, only from my itunes??*
    Grey text when you look at the content and a lock symbol at the bottom of the screen just indicates that the iPod is set to sync automatically with iTunes. If you want to play the iPod songs through iTunes, delete songs from the iPod, drag songs from iTunes, add playlists to the iPod etc. you need to change the update setting to "manually manage songs and videos" as per the link above. The text will change from grey to black and everything will be directly accessible through iTunes
    *I have seen a friend plug his ipod into some one elses computer and the same thing happened, it showed all the content but he was not able to access it, or modify it.*
    Again that's most likely because the iPod was set to auto-sync with his home library. If you want to connect and use an iPod on more than one computer or with more than one library you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply. The content of iTunes and the iPod are not syncronised in this mode so the two can be different. You can directly access the content of the iPod and play it through iTunes and you can drag and drop whatever you want to the iPod from either library:
    Using iPod with Multiple computers
    *Before I backed up my itunes libary from my external hard drive, and itunes was empty, it would not allow itunes to be copyied from my ipod?*
    iTunes will only give you the option to copy your iTunes Store purchases directly from an iPod to the computer, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
    For everything else (music from CDs, other downloads etc) there are third party utilities that you can use to retrieve the music files and playlists from your iPod.

  • IPod Touch 5.1.1 no longer sync'ing w/ iTunes 11.1.3(8). . . .Bad Battery ???

    Three day ago my iPod began acting up in a major way.  The battery charging symbol within the battery indicator is no longer showing the iPod being charged when plug in to my MacBook Pro 5.1 via one of my two USB ports.  A new Apple iPod cable was purchased thinking it was a bad wire or pin not making the proper contact with this device.  The same conditions are happening with this new cable.  I have several other peripheral devices and those devices are working and are connecting to my MBP's USB port without any issues.  I have noticed for the past six months my iPod Touch 3rd Gen has been showing signs in needing longer charging times and seems to drain quicker than it used too.  The iPod for the past two nights have been charging for more than eight-hours each night and is sporadic as if it deciding "I'm I fully or 30% charged?" Although subtle, It seems to jump within the sliding battery scale when the device is powered off for a while.  Sometime showing 80% charged when used for a few hours to 30% charged when used for ten minutes.  My iPod is now over three-years old and I think it is time for a new battery!
    But, in all honesty, not sync'ing with iTunes is it more than just have a new battery professionally installed? Or are there other electronical problems/components going bad with these devices?  What else can be wrong other than a new battery or will a new battery fix all what is mentioned above? Please be very honest and technical if needed, Thanks!

    Apple will exchange your iPod for a refurbished one with a new battery for $79. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following will replace the bttery for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens         
    Replace the battery yourself if you are up to it. You can purchase a replacement battery for about $10
    iPod Touch Repair – iFixit                  

Maybe you are looking for

  • Retrieve RR backups from external hard drive

    I am trying to recover data files that have been backed-up using Lenovo Rescue and Recovery which I am unable to retrieve. They include a lot of photos and documents. How the files got to where they are now is rather complex: 1. The laptop was set-up

  • Problems with special characters uploading data into oracle database

    Greetings I have a problem uploading data into oracle tables from sybase datasource. The data that I want to upload is in Spanish, for example when I have a varchar field with the data 'Consultoría', in oracle table the data upload with interrogation

  • Using a laptop as a second screen

    I have a G5 desk top and an old G4 power mac laptop. Is there any way to use the laptop screen as a second monitor for the desk top? Would be very handy to have that extra screen for FCP?

  • Unity -- Best practice for Attendant Console and Operator

    I am fairly new to Voice Over IP. I am in a new position for managing our phones, e.g., Moves, Adds, Changes and Call Handler management. We use version 8.6.2. Our system is comprised of 19 different buildings, with 1 to 2 Attendant Consoles per buil

  • Processes of device management of SAP ISU

    Can any one tell me all the processes and sub processes of device management of SAP ISU. Thanks in advance for your help. Moderator Note - thread locked due to rules violation - no generic postings Edited by: William Eastman on Mar 12, 2010 2:16 PM