Additional Items via Enhancement on MB1A / MB1B / MB1C - Update of Accounting Documents

Hello all!
Please, I'm in need of help from community.
I am working on a Project For México. It's a doubt that has arisen from a functional request.
They want that we create a development that might check the materials inserted on MB1A / MB1B and MB1C transaction.
If these materials meet with the functional requirements, then new materials must be inserted at this same document, correcting it.
We already have searched for User-Exits, BADIs and Enhancement-Points, and our position at the moment is that we already achieved to input the material into the material document, but those new lines aren't been recognized on subsequent Accounting Documents, that are created after the material document and that can be viewed on MB03 transaction, into the material document.
Anyone has any clue if it's possible to modify Material Documents through Enhancements/BADIs/Exits, adding new lines of materials (XMSEG), and grant the subsequent creation of accounting documents?
Thanks in advance!
Some Points that we already tried, but without success:
EXITs : MB_CF001,  MBCF0002 and  MBCF0005
BADIS: MB_MIGO_ITEM_BADI, MB_MIGO_BADI, MB_CHECK_LINE_BADI, MB_DOCUMENT_BADI_SAP, MB_DOCUMENT_BADI
Enhancements in following programs: MM07MFJ1 and MM07MFB9_BUCHEN_NUMMERNVERGABE

Hello Srilakshmi,
Thank you for the response, but unfortunately the BADIs you've mentioned don't allow me to modify Material Data tables, such as MSEG and VM07M.
MB_DOC_BADI_INTERNAL is only for SAP use, and MB_DOCUMENT_UPDATE parameters are Importing only.
Regards.
Thiago

Similar Messages

  • Item text (BSEG-SGTXT) is not getting updated in Payment document generated

    Hi All,
    Item text (BSEG-SGTXT) is not getting updated in Payment document generated through F110.
    After generating the payment document via Transaction Code u2013 F110, system is not updating the
    Text field (BSEG-SGTXT) in the payment document with the text that we have entered in the Invoice (MIRO or FI Invoice).
    In case of manual payment (F-53) we can input the text manually hence that will get updated in
    payment document but this thing is not possible with F110.
    How can I update it?
    Is there any configuration for that?
    Thanks
    Daniel Dorta

    Hi All,
    I've applied the two notes as recommended. However, when I run FBL3N for payment run items, the Text field is update with wrong data, i.e. not from the Text field in FB60
    Thus, I'll like someone to help me with what should exactly be done on the 'Step', 'Pre-requisite' and 'Substitution' side of the Substitution rule (TCode GGB1), I did not fill anything in the Pre-requisite box - is this right?
    Thanx in advance.

  • Enhancement for MB1C/MB1A before creation of an Accounting Document

    Hello everyone,
    Actually I want to get the material document number(MBLNR) before the creation of an accounting document when using the transaction MB1C or MB1A.
    I will have to use the value 'MBLNR' to update a field during the creation of an accounting document(the field SGTXT should be updated with the MBLNR).
    I have already tested the following BADI's which provide me the value of the material document number:
    - MB_DOCUMENT_BADI  (BAdIs During Creation of a Material Document)
    - MB_DOCUMENT_BADI_SAP (BADI for Creation and Changing of a Material Document)
    and I am using the BaDi 'AC_DOCUMENT' to update the required field with the material document number(MBLNR).
    The problem is that the BADI's 'MB_DOCUMENT_BADI ' and 'MB_DOCUMENT_BADI SAP' are call after the creation of the accouting document(after the BADI 'ACDOCUMENT') meaning that I can't used these BADI's as the value MBLNR is not available before.
    My idea was to export the value to memory ID before the creation of accounting document and import the value in memory ID in the BADI's 'AC_DOCUMENT' to update the field SGTXT.
    I am currently looking for other enhancements or BADI's which can help me to solve this issue.
    After much research on the internet, I did not succeed in finding a suitable hint which can help me.
    I would be grateful if someone could guide me(even a small hint will help me a lot as am I am new in the world of BADI's) on how to find a suitable way to get the document number(MBLNR) before the creation of an accounting document(before calling the BADI 'AC_DOCUMENT').
    Thanks a lot in advance for you help.
    Kind Regards,
    Bryan

    Hi
    I had a look through the program and found an enhancement spot ES_SAPMM07M available through out. Sadly i am not able to create a material document in my system some master data issue but there are various enhancement points in this enahcmenet and you need to debug on save and find the right enhancement point to export the value.
    Put a break point in the following includes which have only one subroutine in them
    MM07MFF9_F_SEGMENTE_BEWERTEN
    MM07MFF9_F_SEGMENTE_ERSTELLEN---> In this accounting item are created. If stops here and in debugger change the value if it works then there are various enhancement spot for the same.
    MM07MFF9_F_SEGMENTE_ERZEUGEN
    MM07MFF9_F_SEGMENTE_GENERIEREN
    Hope it helps
    Nabheet
    Edited by: nabheetmadan09 on Feb 1, 2012 3:49 PM

  • MB1A Missing cost center in Accounting Document.

    Hi All,
    WHile I run MB1A transaction & input the movement type & select the order number & save i get a Material Document generated (MSEG ) & an Accounting Document as well ( BSEG ).
    My requirement is to fill up the corresponding cost center value in the Accounting document which is blank as of now for all.
    Can this be achieved by some Functional setting?
    I searched for all USER EXITS & BADI's but non of them seem to have a place where i can modify the BSEG-KOSTL Value.
    Need your Valuable inputs on this.
    Thanks.
    Kevin.

    Hi Kevin,
    In MB1A the following exits are available,
    MBCF0002
    MBCF0005
    MBCF0006
    MBCF0007
    MBCF0009
    MBCF0010
    MBCF0011
    MB_CF001
    However check by putting a breakpoint on exit EXIT_SAPLFMR4_002 which is accouting document if you can do anything here.
    Thanks and regards
    Kedar

  • Mb1a/mb1b/mb1c

    MB1A-GOODS ISSUE (gi)
    MB1B-TRANSFER POSTING (tp)
    MB1C-GOODS RECEIPT (gr)

    Hi,
    MB1A ( Goods Issue) :
    Term used in inventory management to describe a reduction in warehouse stock due, for instance, to a withdrawal of stock or the delivery of goods to a customer.
    MB1B (Trnasfer of Posting) :
    Generic term covering both physical transfers of stock and changes that affect book records only (that is, which do not involve a physical movement), such as changes in the identification or classification of stocks.
    Examples are:
    Stock transfer within a plant or between plants
    Release from quality inspection
    Transfer of consignment stock to the company's own stock.
    MB1C (Goods Receipt) :
    Term from the field of inventory management denoting a physical inward movement of goods or materials.
    The SAP System differentiates between the following kinds of goods receipt:
    Goods receipt with reference to a purchase order
    Goods receipt with reference to a production order
    Other goods receipts (without reference).
    Prase

  • Regarding addition of new field in mb1a, mb1b.

    Hi,
              I want to add new field in mb1a or in mb1b in first screen below reason for   movement field and while saving this field value and with line item hav to be fetched and get stored in ztable.
              Is it possible.
    Regards,
    Natchi.

    Hi,
    Ok..I will suggest...
    You can use the badi MB_DOCUMENT_UPDATE..
    In that there is method MB_DOCUMENT_BEFORE_UPDATE
    In the method give a popup to enter your custom value..
    Then use the MB_DOCUMENT_UPDATE method to update the  Z table..
    Thanks
    Naren

  • Multiple line item in billing but only one line item in accounting document

    Hi Everyone,
    I am having one scenario in which sales order has more than one line item. Only one billing document is create for all line items in Sales Order but billing document contains as many items as sales order has. In accounting document of billing i find only one customer line which has total amount of all line items in billing as debited. My requirement is Accounting document also should have as many line of customer-debit as in billing items i.e sales order. For example :
    (1) Sales order has 2 line items.
    (2) Billing document is only ONE and has 2 line items
    (3) currently accounting document has only ONE line of Customet - Debit ( Total amount of both items)
    My requirement is
    Accounting document should have 2 line item of customer - Debit
    Customer - Debit (amount of first line item)
    Customer - Debit (amount of Second line item)
    Sales - Credit
    How can it be done ?
    Regards,
    Manish

    Hi,
    This is the SAP expected behaviour
    As far as the values correspond to same account key and same GL account as per account determination, then ti will be posted as a single line item in FI document.
    If you want the customer specific items to be posted in two GL accounts , then you have to do the account determination that way.
    For example, you should have a condition table in FICO as follows.
    Sales org/ Account key / Customer
    For this condition table, the entries shoudl be as follows.
    5110/ERS/Customer A  GL ACCOUNT IS 5000100
    5110/ERS/Customer B GL ACCOUNT IS  5000200
    In this case, there will be 2 entries for the invoice instead of just one line entry.

  • MB1C 561 with no Accounting Documents

    Hi Gurus,
    I created initial entry with MB1C 561 to bring into SAP legacy system figures, but no FI documents were created but the stocks are there, if I check MB52 I can see the value in there so the
    value of all the stock match with the value that I have outside SAP, the problem is that at GL level there is no posting. When I see the material document in MB03 it does not have any
    accouting documents.
    I thought on giving reverse with 562 but when I do this, a FI document is created debiting from the accout of spare parts, this is correct in the system but in my scenario is not because
    that account was not credited with the 561 movement. Now both 561 and 562 are working correctly and posting FI documents.
    How can I take out the stock without impacting the GL account? Is there any way to Re-post the accounting document that should be created?
    Root Cause Analysis:
    1.I checked that Materials had a moving average price before the 561 movement, so zero price is not an issue.
    2.I checke OMS2 settings for the material type and it had both quantity and value update clicked on.
    3.I checked the settings in OMJJ for movement type 561 they have EXBWR, value updates and quantity updates.
    4. I checked OBYC settings and it had the right accounts in GBB BSA
    5. I checked OMWN settings and it has the right parameters.
    Options Explored:
    1. If I do a 562 movement a FI document is created debiting from spare parts so this is not an option,
    2. Making the price 0 before doing 562 mvmnt also does not work because when I do a MR21 a FI document is created.
    Please let me know any ideas to solve this issue.

    Thanks Jurgen, We are trying to explore all other options before manually creating the journal entries. This is the inventory account so we might have to make changes to the G/L account to make manual postings possible.
    There were no update terminations so all the update tasks were processed correctly. I went through the sequence of update tasks and the tables which are updated.
    MBEW  - Updated correctly
    CKMI1 - Updated correctly
    bkpf - No Updates
    bseg - No Updates
    S031 - Updated correctly
    S032 - Updated correctly
    S033 - Updated correctly
    Is there a configuration in SAP which will update material valuation (MBEW) but not update the accounting documents?
    If I switch off the value update for material type in OMS2, there will not be any updates to MBEW and also FI. We are trying to get to the root cause of this issue and may be replicte it for reverse posting 562.
    Edited by: SFC_KY on Jan 23, 2012 3:17 AM

  • Tcode MB1B/MB1C/MB1A

    HI,
    What is the diffrence between Tcode MB1B/MB1C/MB1A

    MB1B - Transfer Posting {may physical (or) logical (not physical) stock transfer of goods}.
    MB1C - Initial Uploading for Stock
    Initial Entry of Inventory Data
    You must carry out an initial entry of stock balances when implementing the SAP System in order to transfer physical warehouse stocks or book inventories from an existing system into the SAP System as book inventories. No physical movements actually take place. The initial entry of stock balances can be carried out for the following three stock types:
    ·        Unrestricted-use stock
    ·        Stock in quality inspection
    ·        Blocked stock
    If the stocks are to be transferred from a legacy system, the initial entry of stock balances for large volumes of data is carried out via the Data Transfer Workbench (see MM Goods Movements: Data Transfer Workbench).
    You can also carry out the initial entry of stock balances manually.
    You use the following movement types to enter an initial entry of stock balances manually:
    ·        Unrestricted-use stock (561)
    ·        Stock in quality inspection (563)
    ·        Blocked stock (565)
    The quantity taken over into book inventories is posted to the appropriate stock and increases the total valuated stock of the material.
    MB1A - for Goods Issue
    Regards,
    Anbu

  • Output for MB1A , MB1B and  MB1C

    Hi Experts ,
    My client needs Output (Prinout) for MB1A , MB1B and  MB1C , I would appriciate if anybody could  guide me through correct procedure to set up .
    Thanks in advance

    Hi Greetings
    Please find the following steps
    1) Creation of Message out put type with application ME. You can use standard access sequence 0001
    SPRO --> MM --> Inventory Management and Physical Inventory --> Output Determination --> Output Determination
    2) Assigning the output type to Output Determination Procedures
    SPRO --> MM --> Inventory Management and Physical Inventory --> Output Determination --> Maintain Output Determination Procedures
    3) Maintaining Condition in Transaction MN21
    5) User setting.
    Transaction SU3 --> Parameters --> Parameter ID "NDR" --> Parameter value 'X'
    Gobinathan G

  • Add an interface Method/Event via enhancement??

    Hi expert.
    I want to pass additional data between two standard webdynpro components. As for as I know, I can use infterface method/event in custom webdynpro component and click check box 'Interface' of method/event.
    However I can add new method/event in standard webdynpro via enhancement,  the check box 'Interface' is dispear.
    So is it possibe to add an interface method/event via enhancement? or pass additional data between standard webdynpro component?

    Hi,
    First you need to understood the standard webdynpro component which you are looking for.
    If the standard component is providing interface methods/events then you can call from your custom  webdynpro component  re-using the standard component in your custom component.
    If you provide mroe information about which standard component and which event/method you are looking for, so that I will provide more info.
    Best of luck..
    Regards,
    Naresh

  • I've LOST my "add to bookmarks" setting and cannot put additional items in my bookmarks

    When I have an item that I want to bookmark, I press "Bookmarks" on my toolbar. The first item used to say
    "add to bookmarks" Now it just lists my bookmark items
    so I can't add any additional items to my bookmark pages

    Some menu entries are hidden by default and only appear if you use the keyboard to open the menu.
    You can see the difference if you use Alt+F or Alt+B to open the "File" and "Bookmarks" menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by pressing Alt or by pressing F10.
    * "Bookmark All Tabs" (Shift+Ctrl+D) no longer shows in the Bookmarks menu unless you open the Bookmarks menu via the keyboard (Alt + B).
    * "Bookmark This Page" can be accessed via the right-click context menu of that browser page.
    * "Bookmark All Tabs" can be accessed via the right-click context menu of a tab on the tab bar.
    See also:
    * [/kb/how-do-i-use-bookmarks]
    * BookmarkThisTab: https://addons.mozilla.org/firefox/addon/bookmarkthistab/

  • Additional Items FI-CA IS-T

    Hi
    We want to use "billing document additional items". We want to print additional information on the invoice – e.g. itemization of calls for a telephone bill. I assume that we have to add the fields to a structure??? Is there a spesific table that contains the data? BAPIs? Does anyone have a Cookbook on how to do it?
    Regards
    Owe N.

    Do you have all the data available in SAP? I can imagine that your database may become pretty big if each call is one document or item in FI/CA.
    Maybe you should get the itemized data at the time you print the invoice from an interface (e.g. flat file).
    If you want to print the invoice using the print workbench in FI/CA you should have a look at  <a href="http://help.sap.com/saphelp_media472/helpdata/en/77/15763542833803e10000009b38f889/frameset.htm">Correspondence</a> and <a href="http://help.sap.com/saphelp_media472/helpdata/en/ea/a45a36998cf732e10000009b38f839/frameset.htm">Print Workbench</a>
    Tim

  • How to  show additional items in the same window using stacked canvas

    How to show additional items in the same window using stacked canvas.
    My content canvas has 14 items, and I have to include more.
    I want to know how I can use a stacked canvas to show these additional items in the same window, so that I can scroll through horzontally , as if all the items are on one canvas.

    Well, I intially navigate into my content canvas. At this stage the stacked canvas is not visible, then how should I navigate to an item on the stacked canvas to make it visible?

  • No accounting document for 561E via MB1C and MIGO

    Dear All
    We are in MTO Scenario.
    we are trying to post initial stock against sales order through MB1C VIA 561E movement.
    the material document is not having an accounting document.
    Please help out.
    I've checked all setting as follows:
    1.) [OMJJ]
    for  Account grouping-561E - val update-qty update-val string(WA01)-Cn(2)-GBB-BSA
           Account grouping-561E -val update-qty update-val string(WA01)-Cn(2)-PRD-PRA
    2.)[OMJJ]
    Update control / WM movement types
          val  qty
    561 -    -     E                    In.ent.st.bal:slsOrd
    561 -     -     E               E     In.ent.st.bal:slsOrd
    561 -    -/     E                    In.ent.st.bal:slsOrd
    561 -    -/     E               E     In.ent.st.bal:slsOrd
    561 -/    -/     E                    In.ent.st.bal:slsOrd
    561 -/    -/     E               E     In.ent.st.bal:slsOrd
    3.)Logistics - General>Material Master>Basic Settings>Material Types>Define Attributes of Material Types
                                             -->FERT     Finished Product
                                                                    -->Quantity/value updating
                                                                                    qty    val
                                                                                1001     FERT  -/       -/
    4.) [OME9] settings
       for account assign cat 'E'  account modifier  'VKA'
    5.) [OBYC]
        for GBB-BSA- chart of a/c-val class-G/L accounts
             PRD-PRA- chart of a/c-val class-G/L accounts
                   are done and OK.
    still we are not able to generate accounting document for initial posting via [MB1C]
    WE HAVE EVEN TRIED TO POST VIA [MIGO], there also no accounting.
    hence, we are also not able to get accounting doc for PGI via 601.
    Please suggest me a solution at the earlist, I will be glad for the same.
    N.B:- if posting through 561, it is ok.
    Regards
    Maheshoe

    Maybe your SO special stock is not valuated that's why you won't get the accounting document.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4d/2b92b743ad11d189410000e829fbbd/frameset.htm
    You can manage valuated or non-valuated sales order stock.
    Edited by: Csaba Szommer on Mar 6, 2010 2:02 PM

Maybe you are looking for

  • Help with deleting files

    OK, so all of a sudden today my Mac has been acting weird with one thing. I am a photographer and have been using the standard viewing to edit down my folders. For examples, I have a folder with Baby A's photos. I click on the folder and in the list

  • SCEP definition updates for clients in DMZ via UNC is not working.

    Hello, I have configured SCEP definition updates via UNC method for my Win 8.1 clients in DMZ and its not working. Script is properly associated with task scheduler and downloading definition to shared folder properly. Even running the mpcmdrun.exe -

  • Icon not showing up in dock Applications menu

    This isn't a problem that affects the functionality of my laptop, but it just annoys me and I wondered if anyone knew how to fix it! I installed a new program, and it works just fine. But the "correct" icon for the program does not appear in the Appl

  • How to resize the itunes window in mavericks?

    How can I resize the itunes window in mavericks if the window is larger than the screen? Since the window is larger than the screen I cannot use the scroll-bar anymore properly... And since resizing is in the lower right corner that leaps out of the

  • Spotlight just stopped

    Like others, my Spotlight stopped working. I have just recently upgraded to Mac OS 10.4.3. I have erased all the widgets. I have placed the hard drive in to Spotlight system preference Privilege window times 2, left it for a while and then deleted it