FB60/MIRO company code popup

Hi,
  I have a workflow workitem which tries to call transactions FB60 and MIRO depending on whether the invoice is based on a non-PO or not. When the transaction is called, the company code screen pops up; I managed to suppress this for MIRO by explicitly specifying company code value in screen 1000 for FM DOCHEADER_COMP_CODE_WITH_POPUP - basically I did a BDC. But the same thing for some reason does not work for FB60. Does anybody have any idea why this happens or any other way in which I can suppress the company code popup?
Thanks in advance.
Nanditha

Hi Nanditha,
Have had the same problem with FB50 from workflow, and  had to solve it by doing as below. The problem appears when using 'enjoy' transactions.
The code to solve ít look like this:
SET PARAMETER ID 'BUK' FIELD E_BKPF-BUKRS.
    PERFORM bdc_dynpro       using 'SAPLACHD' '1000'.
    PERFORM bdc_field        using 'BDC_OKCODE'
                                   '=ENTR'.
    PERFORM bdc_field        using 'BDC_CURSOR'
                                   'BKPF-BUKRS'.
    PERFORM bdc_field        using 'BKPF-BUKRS'
                                    e_bkpf-bukrs.
Hope this will help you too!
Regards Benita Östman

Similar Messages

  • How to stop the Company Code popup window in MIRO!

    Hi,
    When User logs in the system and enters into the MIRO transaction, he is asked to enter the Company Code first in order to proceed further. I know that once you enter the company code then the system does not ask it to enter again during that login, however, it will asks again whenever User login the system again!
    Can someone tell that how to stop this Company Code popup window in MIRO, so that the system should not ask for the Comp Code whenever User logs in and enters into MIRO? I think there are some entries maintained in the User Master for this!
    Thanks.

    Hi,
    It is Necessary for the user to enter the company code for which he need to process the Invoice.
    First think is if the user knows ,that he is only going to do for one company code.then
    in the T code SU3.
    In the parameter TAB
    you can make the Default value for the parameter ID BUK as your Comany Code value ( Eg 1000)
    so that when ever the user does the MIRO ,it comes with that company code only.
    and if he want to do for another comapany code ,he has to use the option of Switching the comapny code.
    so this is user dependent and has to be made for all users.
    Note .the above setting works only you have entered saved and logged off and log in again.
    also ,this value gets defaulted you all the comapny codes in all screen.
    Hope so it helps.
    Regards
    Anjanna.

  • Getting the company code popup

    hi,
    when i work with FB60 transaction i get the popup for company code
    if i to work with the same transaction again then the popup for company code doesnot come.
    i am to get that popup when i enter the transaction so when i asked my colleague for help he gave a program which removes any company codes in the buffer
    in which the code is like this
    TYPES: BEGIN OF T_TFBUF,
            USNAM TYPE TFBUF-USNAM,
            APPLK LIKE TFBUF-APPLK,
            LFDNR LIKE TFBUF-LFDNR,
           END OF T_TFBUF.
    DATA: WA_TFBUF TYPE T_TFBUF.
    SELECT SINGLE USNAM APPLK LFDNR INTO WA_TFBUF FROM TFBUF WHERE USNAM =
    SY-UNAME.
    IF SY-SUBRC EQ 0.
      DELETE FROM TFBUF WHERE USNAM = SY-UNAME.
    ELSE.
    WRITE: 'NO BUFFER AREA CLEARED'.
    ENDIF.
    even then i am not getting the popup .
    if you have a better program than this please provide me.
    thanks in advance.
    sultan.s

    Hi Sultan,
    As far I know, it has nothing to do with user buffer, but it is required for setting the parameter ID.
    Just use SET PARAMTER ID 'BUK' Value  Space. into your code. I think it will resolve issue.
    Regards,
    Atish

  • User exit to check PO company code and MIRO company code

    HI,
    when user entering an invoice in a company code different than what is on the PO.  Currently, the system will let them key the invoice and it will automatically intercompany it to the correct company. 
    I want to Implement FI validation so that the system provides a warning when you post to FI MIRO.  In the FI validation, use the user exit to get the PO company code and do a compare of the company code from the PO to the input field on the invoice and if not the same provide screen popup warning .
    Using OBBH Create validation rule in user exit  for input invoice and process MIRO associated company codes
    Plese provide me correct user exit.
    I tried BAdI INVOICE_UPDATE, but it didnt work.
    Thank You,
    Archana

    Check Badi implementation MRM_HEADER_DEFAULT
    Regards
    Vinod

  • Miro Company code currency amount displaying 0, incorrect posting

    Dear All,
    When I use miro to simulate one of my posting which is in the foreign currency is showing incorrect when changing to company code currency.
    By right there should be a ppv posted, however it does not show the gl accoutn for the vendor and the amount is totally wrong and it only show the gr/ir clearing amount which is correct.
    Any kind souls can help me?
    Many Thanks!!!

    Anyone can help ???

  • Different No Range for invoice document no(MIRO) - company code wise.

    Dear All,
    Hi.
    at present we have just one company code in the server.
    now we are getting second company code in the same server, for this new coopany code. business needs seperate no range for invoice document no (MIRO)
    so please guide me how i can configure in the system
    Thanks
    h shah

    Hi,
    However, after testing in SAP internal system, I am afraid that your      
    request is not possible.        
    From the sap-Documentation ("Maintain Number Assignments for Accounting Documents")    :                              
    "Because document number assignment in Materials Management is not             
    company code-specific......   "                                                
    Best regards
    Erika

  • MIRO number range tobe  separated at company code level

    Hi All,
    Can anybody tell me how to separate MIRO number range at Company code level. We have 3 company codes in the same client. Cant we have different company codes for 3 of them. If yes, where to do the required

    Hi
    Refer the below post
    Different No Range for invoice document no(MIRO) - company code wise.
    Thanks !
    E.Avudaiappan

  • Company code pop up

    hi,
    i have a problem with the pop up that appears while we run FB60 transaction.
    the pop up comes once when we enter for the first time, if i want to enter for the next time it doesnot give the company code popup.
    for that i got a solution of using the delete option for the pooled table TFBUF
    and using the set parameter id command.
    my doubt is whether i can use the logic of deleting the contents in the TFBUF table or it shouldn't be done.
    the thing is only when i use the logic of deleting the contents in the table then my bdc program works for the popup if not it doesn't work.
    please go through the code and give me the valid explanation if to use the same code or to not use it.the code is as follows, even you may try using the code for the FB60 transaction.
    TYPES: BEGIN OF T_TFBUF,
            USNAM TYPE TFBUF-USNAM,
            APPLK LIKE TFBUF-APPLK,
            LFDNR LIKE TFBUF-LFDNR,
           END OF T_TFBUF.
    DATA: WA_TFBUF TYPE T_TFBUF.
    SELECT SINGLE USNAM APPLK LFDNR INTO WA_TFBUF FROM TFBUF WHERE USNAM =
    SY-UNAME.
    IF SY-SUBRC EQ 0.
      DELETE FROM TFBUF WHERE USNAM = SY-UNAME.
    *ELSE.
    WRITE: 'NO BUFFER AREA CLEARED'.
    ENDIF.
      SET PARAMETER ID 'BUK' FIELD SPACE.
    please give me the substantial reason.
    thanks and regards.

    Hi,
    you shouldn't be deleting the table contents..
    it is just a PARAMETER ID set for the first time..And the next time it will GET the PARAMETER ID ..
    Debug and check for the statement SET..And debug after the popup..
    OR in the popup..
    In the bukrs field..PRESS F1..Press technical info..in there you will get the parameter ID..
    set the parameter id before calling FB60..
    For example if the ID is BUK
    SET PARAMETER ID 'BUK' FIELD '0001'.
    Thanks
    Naren

  • MIRO, don't want to propose company code

    Hi all,
    I want to enter company code in each time when I call MIRO.
    How can I do this? (Like FB50/FB60/FB70, it's can select
    an option to do this.)

    HI Anek
    SAP defaults certen fields after you logon and enter data in those fields and praposes them where ever applicable, this is to avoid entering same data again and again, And so Company codes is defaulted when u do couple of customizations before MIGO,
    And, as u said after new logon it is poping up screen for company code, yes it does so, because u haven't entered company code yet in this logon, if u do other customization entering company code even in this new logon it won't popup to enter the company code.
    regards
    Satish

  • No Suitable Items found for PO (error M8035) while doing MIRO against service PO for the 1st time in the Company Code

    Hi
    I am encountering the error M8035 (" No Suitable Items found for PO ") while I am doing MIRO for the 1st time against service POs (item cat - D) in a company code.
    in OMSY the period opened for the company code is : Current 06 2014 previous 05 2014
    This was done because Go Live date for the new company code is 01.06.2014.
    I am doing test in the test client now.
    I have created a vendor on today's date
    I have created a service PO on today's date (GR, GR Bsd IV, IR, Serv Bsd IV - these indicators are marked in the PO)
    I have created service entry sheet on today's date (acc assignment - K, G/L a/c was determined from the Material Group maintained in the PO)
    I have accepted the service entry sheet on 04.05.2014 (FI doc posted against the matl doc - KBS to WRX on 04.05.2014)
    I am trying to do the MIRO in the same company code on 04.05.2014.
    While I am putting the PO and its line item in MIRO item and pressing enter system shows the above info msg and nothings is appearing in MIRO item.
    I have tried to do MIRO against service entry sheet also - same things happened.
    I have tried selecting Goods Service Item+planned del cost in MIRO - nothing changed.
    I have tried posting MIRO against a non service PO (acc assgnment K, Item cat - BLANK) after doing MIGO in the same company code in the same date- PO is appearing in that case.
    FI people are able to post FB60 manually for the vendor I am using in the PO - so there is no problem in the vendor also.
    I have gone through the scn post related with the topic, unfortunately none of them solved my problem.
    Please help
    Thanks
    Sanjib...

    Can you post a screen shot for PO history ?
    Regards
    Dev

  • Use of field STCEG in One-Time Vendor PopUp for non EU Company Codes

    When enter a One-Time Vendor invoice by FB60 or MIRO transaction for Company Codes in non EU-member countries such as Switzerland, Norway or Canada the field VAT-registration number, STCEG, is hidden even when they should have a similar treatment. The field needs to be open when the local legal requirements are the same. How to activate the field for these countries?

    Hi Shriharsh,
    Why do you want to use one time vendor in this scenario? If in the current legacy system seperate data is maintained for all the vendors, then do not go for one time vendor.
    Create the vendor master for each vendor or for the group of vendors.
    You can do Auto generation of PO at the time of GR, that is best suitable for this scenario.
    Regards,
    Sheetal

  • Company code during MIRO

    Hi all,
    When ever i am doing MIRO system is asking enter company code in initial screen.
    I thought in the client it will ask first time
    But it is asking frequently whenever i enter MIRO
    What could be the issue ??
    How to fix
    Thanks
    A.Gururajan

    Hi,
    In FI you can force a Company Code proposal in the Enjoy transactions
    (FB60) by making a setting in your editing options.
    Goto FB60 - Select the editing options icon - Don't check 'No Company Code
    Proposal' as default Company Code and save this setting.
    Now when you go next use FB60 it will ask you to propose a Company Code.
    It doesn't work with MIRO as this is not an FI transaction. Perhaps your
    ABAP guys can create some sort of enhancement based on how FB60 works with
    this function switched on.
    You could also default the company code in the in the user settings system -
    user profile - own data - Parameters.
    In the parameters you put BUK = "Cocde" (here you fill in the company
    code.
    Award, if found useful.
    Regards
    Rifaie.M

  • Customisd err message at MIRO - Business area V/s company code validation

    Hi experts,
    We have simple validation for company code V/S Business area check in place ,
    While doing MIRO system throws error for a particular company code and Business area
    combination the set error message ( customized - Business are does not match with company code)
    This validation has given as a sub node (step) of another consolidation trx. types against GL validation (that was in place earlier, thats why)
    But when we do through F-02 (Journal entry ),F-43(vendor invoice), F-22(customer invoce) for the same combination system passes the entry !!!
    what may be the cause ?
    the error message is the standard one set -251 this message is custom created at Validation (GGB0)
    Business area doesnt belongs to the company code
    Message no. /ASU/GENERAL251
    One more thing Noticed
    The Material PO is a account assigned (K) cost center and the
    cost center Business area is 1003.
    In PO plant is 1003 and i checked the MSEG the plant shows 1003
    But in Logistics assignment the Business area 1001 is tagged to Plant 1003
    not THE BUSINESS AREA 1003 !! . I mean at plant/valuation area to Business ara configuration
    the valuation area 1003 is assigned to Business are 1001 not to Busienss are 1003!!!
    Edited by: melgibson on Feb 15, 2012 1:42 PM
    Edited by: melgibson on Feb 15, 2012 1:43 PM

    Hi
    thankx for the reply,
    there is no exit/ set for validation here
    I have done like this
    Pre requisite
    company code = xxxxx
    Check
    Business area = xxxx or BA = XXXXXX or  BA = XXXXX  ......
    Message
    E           Message class     /ASU/GENERAL
    251
    Business area doesnt belongs to the company code
    Message variables
    1 BSEG       - GSBER
    The t codes like F-43 AND f-02  1003 cc TO  1003 BA is perfectly working !!! our problem is at MIR7/MIRO
    only there the error pops up even the combination is allowed in the above mentioned validation??
    Edited by: melgibson on Feb 15, 2012 2:03 PM
    Edited by: melgibson on Feb 15, 2012 2:04 PM

  • FB60 enhancement to validate Company Code

    Hi,
    I have to do the validation for Company code in Tcode FB60. The issue iam unable to get the correct enhance ment for tis.
    i have tried following enhancements.
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    Thanks,
    Deepthi.

    Hi,
    My requirement is changed now.
    I need to get a user exit or badi where after entering the header data and only ONE LINE ITEM data and press enter key, I should get the Header Company code and Line Item Company code in one enhnacement. I must valdate these 2 fields.
    Regards,
    Deepthi.

  • MIRO - deactivate direct posting to GL / material acct for selected company codes

    Hi All,
    I have a requirement to deactive direct posting to G/L and material accounts in MIRO, however, only for selected company codes (this cannot be done for all of them on client level in SPRO->Material Management->Logistic Invoice verification->Incoming Invoice -> Activate direct posting to GL/ Material accounts).
    The thing is that for those company codes, MIRO posting has to be made always with Purchase Order Reference.
    My idea is to build simple validation rule:
    if company code is equal to (SET) and Purchase Order Reference is empty then error message should appear: "Posting without PO reference not allowed"
    I was also thinking on creating own layout in MIRO and assign it to clerks which are responsible for posting in those company codes.
    Can you advise on that, please?
    Best regards,
    Lukasz

    Hi Tejas,
    Thanks for your reply.
    Answering your questions:
    1. The thing is that these GLs are being posted with other transactions.
    2. My concern is that after the document is parked and while editing user will delete PO reference, it can be any GL account picked in "GL tab" of MIRO transaction. My understanding is that I should put tick on "Post automatically only" on all the GL accounts which users are able to use (correctly or not) in that case.
    My aim in this configuration is to restrict those posting in such way that users are not allowed to use them - and this is only in regards to MIRO transaction.

Maybe you are looking for

  • Adobe Premiere Pro CC startet nicht

    Hallo, ich habe Adobe Premiere Pro CC installiert. Beim Starten kommt die Meldung "Adobe Premiere Pro CC funktioniert nicht mehr". Die Version 6 funktionierte einwandfrei. Auch Deinstallation / Neustart / Neuinstallation brachte keinen Erfolg. Creati

  • Sales order cancelled and new sales order with added components

    Hi all, There is a MTO scenario.Lets say a product X was to be made .Now when the production was complete,the sales order got cancelled and a new sales order was generated for same product with 2 new components to be added,lets say A and B. So now i

  • Why no Divx support?

    hiya i am planning on ditching my Android phone for the ever-dependable iPhone. now, i know everyone would probally agree that why the iPhone still hasn't got Divx (and all its sub-formats and its AVI containers PLUS MKV)support. more and more phones

  • I got a new ipod and i tried to transfer my songs but some of the songs will not work on it

    I recently bought a new ipod and i tried to transfer my old songs from my old ipod onto it, but some of the songs will not transfer even though i bought them through itunes. do you know how to fix this problem?

  • Exchange Connector Setup: Could not establish trust relationship for the SSL/TLS secure channel

    This may be more of a cert issue than an issue with SCSM, but here goes. I am running into something new when creating an Exchange Connector (I swear its always something with this thing. Check the screen shot: I can get to the service in IE, however