Different Consumption Account for Movement type 201 and 261

Dear All ;
Client want use different consumption account for movement type 201 and 261  .
How we canmap this in SAP
Kindly suggest .
Regards;
Joydeep Mukherjee

This you can acheive by setting account assignment indicator is checked.
OMJJ >>> Movement Type >>>Account Grouping >>Check account Assignment
If this indicator is set, the system checks whether a G/L account or an account assignment has been specified on the item screen when user post transactional data. If so, the system copies this data to the posting line for account determination.
If this indicator is not set, the system always uses the G/L accounts or account assignments determined automatically.

Similar Messages

  • Account keys for movement type 201.

    Hi Friends,
            Can anybody tell me, what are the account keys (tran/event keys) we will set for movement type 201. And why we are setting that.
    Kindly resolve my doubt please.
    Regards,
    Prasath

    Hi
    The Transaction Event key set for movement type 201 is WA.
    WA - Goods Issue Document.
    In the account detemination for movemnt type 201 the Account modifier VBR is assigned for determining the offsetting account for consumption posting
    Thanks & Regards
    Kishore

  • BAPI error for mvmt types 201 and 202

    Hi all,
      I'm using a bapi BAPI_GOODSMVT_CREATE for the movement type 201 and 202 with the gm_code = '03' for the transaction mb11- Goods movement. But it returns an error u201D Account 400000 requires an assignment to a CO object u201D...I'm unable to resolve this one....I have attached the code below. Please help me in fixing this issue...
    if sy-subrc = 0.
      loop at it_mchb into wa_mchb.
        if wa_mchb-clabs gt 0.
          clear wa_header.
          wa_header-pstng_date = sy-datum.          " fill header data
          wa_header-doc_date   = sy-datum.
          wa_code-gm_code      = '03'.              "fill code data
          clear wa_item.
          wa_item-material     = wa_mchb-matnr.     " fillitem data
          wa_item-plant        = wa_mchb-werks.
          wa_item-stge_loc     = wa_mchb-lgort.
          wa_item-batch        = wa_mchb-charg.
          wa_item-entry_qnt    = wa_mchb-clabs.
          wa_item-move_type    = '201'.
                       wa_item-entry_uom    = wa_mchb-meins.
          append wa_item to it_item.
        elseif wa_mchb-clabs lt 0.
          clear wa_header.
          wa_header-pstng_date = sy-datum.          " fill header data
          wa_header-doc_date   = sy-datum.
          wa_code-gm_code      = '03'.              "fill code data
          clear wa_item.
          wa_item-material     = wa_mchb-matnr.     " fillitem data
          wa_item-plant        = wa_mchb-werks.
          wa_item-stge_loc     = wa_mchb-lgort.
          wa_item-batch        = wa_mchb-charg.
          wa_item-entry_qnt    = wa_mchb-clabs.
          wa_item-move_type    = '202'.
                       wa_item-entry_uom    = wa_mchb-meins.
          append wa_item to it_item.
        endif.
      endloop.
      clear lv_lin.
      describe table it_item lines lv_lin.
      if lv_lin = 0.
        write : / 'No records found'.
      endif.
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header  = wa_header
          goodsmvt_code    = wa_code
        importing
          materialdocument = lv_matdoc
        tables
          goodsmvt_item    = it_item
          return           = it_return.
      if it_return is initial.        " if record created successfully
        call function 'BAPI_TRANSACTION_COMMIT'. " commit work
        write : / lv_matdoc, 'IS CREATED SUCCESSFULLY' color 5.
        loop at it_item into wa_item.
          write : / 'Mat :', wa_item-material,'bat :', wa_item-batch.
        endloop.
      else.                           " if record is not created successfylly
        loop at it_return into wa_return.
          write : / wa_return-message color 6.
        endloop.
        uline.
      endif.
    else.
      write : / 'No Records found' color 7.
    endif. " gt_s035 is not initial
    Edited by: Arunmozhi_06 on May 30, 2011 12:48 PM

    Hi,
       Did you passing the leading 0's in the cost center field?
    and check the below coding..
    * Structures for BAPI
      data: gm_header  type bapi2017_gm_head_01.
      data: gm_code    type bapi2017_gm_code.
      data: gm_headret type bapi2017_gm_head_ret.
      data: gm_item    type table of
                       bapi2017_gm_item_create with header line.
      data: gm_return  type bapiret2 occurs 0.
      data: gm_retmtd  type bapi2017_gm_head_ret-mat_doc.
      clear: gm_return, gm_retmtd. refresh gm_return.
      perform show_status using 'Scrapping(551) Material'.
    * Setup BAPI header data.
      gm_header-pstng_date = sy-datum.
      gm_header-doc_date   = sy-datum.
      gm_code-gm_code      = '06'.                              " MB11
    * Write 551 movement to table
      clear gm_item.
      move '551'        to gm_item-move_type     .
      move xresb-matnr  to gm_item-material.
      move p_bdmng      to gm_item-entry_qnt.
      move xresb-meins  to gm_item-entry_uom.
      move xresb-werks  to gm_item-plant.
      move xresb-lgort  to gm_item-stge_loc.
      move p_grund      to gm_item-move_reas.
    * Determine cost center per plant
      case xresb-werks.
        when '0004'.
          move '0000041430' to gm_item-costcenter."pass leading zero's in the cost center field
        when '0006'.
          move '0000041630' to gm_item-costcenter.
        when '0007'.
          move '0000041731' to gm_item-costcenter.
        when '0008'.
          move '0000041830' to gm_item-costcenter.
      endcase.
      append gm_item.
    * Call goods movement BAPI
      call function 'BAPI_GOODSMVT_CREATE'
           EXPORTING
                goodsmvt_header  = gm_header
                goodsmvt_code    = gm_code
           IMPORTING
                goodsmvt_headret = gm_headret
                materialdocument = gm_retmtd
           TABLES
                goodsmvt_item    = gm_item
                return           = gm_return.
    Maybe there is some config missing for your cost center, or maybe something missing in your code. check above.
    Regards,
    Dhina,..
    Edited by: Dhina DMD on May 31, 2011 8:02 AM

  • Taxes for Movement type 201

    Hi,
    How can I configure  / develop abap code in userexits/badis to force the system to calculate taxes for movement type 201? When Creating the GI using MB1A for movement type 201, The accounting documents created donot have tax calculated( From vertex ). I am assing the tax codes and jurisdiction codes also I am passing the flag for Calculate tax. I tried changing the document tpe of FI documents but the call to vertex is not happening. Any Ideas?
    Thanks,
    Nanda

    Hi Charlie,
    Thanks for your reply. I am aware that SAP does not support this. But I have a requirement for this. Do you have any suggestions how I can accomplish it.
    Thanks,
    Nanda

  • GL account for movement type 309

    How to find GL account for movement type 309. Tcode etc
    Stop Cross-Posting

    Hi,
    Try using transaction code OMWB (press cancel on pop-up) >
    Press "Simulation" button and enter plant + mat + movement type >
    Press "Account assignments" button
    Dr/Cr G/L accounts displayed for posting lines.
    Kind regards,
    Robert

  • Re: Changing Inspection lot origin from 08 to 05 for movement type 322 and 349

    Reference discussion:  Changing Inspection lot origin from 08 to 05 for movement type 322 and 349
    With reference to the above discussion and your explanation for user EXIT QAAAT0001, it was stated that:
    If you only have two inspection types, you can mark one as preferred.  Then with exit use logic that if MM = 311 use preferred inspection type, if 911 use, non-preferred inspection type.
    May I ask what are you refer to for MM? It seems like movement type to me, however, I can't find movement type field in the structure within the component of EXIT_SAPLQAAT_002.  Appreciate if you could shed some light on this.
    Best Regards,
    CY
    Branched from older discussion by moderator.  When there are questions concerning an older discussion, please create a new discussion with reference to the older one.  Thanks! 

    Yes.. you are correct.  But with the info that is provided by EXIT_SAPLQAAT_002, you should be able to identify the proper material document in table MSEG which will have the material movement. 
    You can use the values of plant, batch, material number, Purchase order number, Order number, item number, storage location as well as the current date since the exit would normally be executed on the same date the material movement was done.  You'd also probably only execute the logic if QKZ is "X".
    Craig

  • Separate gl account for cost center for movement type 201

    HI Guys,
    I have a the following problem:
    There are three main functional areas i.g
    Production - (Cost Center 10001)
    Sales - (Cost Center 10002)
    Admin - (Cost Center 10003)
    In obyc we use 5 types of valuation classes like three sets different for production, Sales and Admin
    Production
    P-Electrical (GL Account 50001)
    P-Tools (GL Account 50002)
    P-Oil Lubes (GL Account 50003)
    P-Bearing (GL Account 50004)
    P-Belts (GL Account 50005)
    Sales
    S-Electrical (GL Account 60001)
    S-Tools (GL Account 60002)
    S-Oil Lubes (GL Account 60003)
    S-Bearing (GL Account 60004)
    S-Belts (GL Account 60005)
    Admin
    A-Electrical (GL Account 70001)
    A-Tools (GL Account 70002)
    A-Oil Lubes (GL Account 70003)
    A-Bearing (GL Account 70004)
    A-Belts (GL Account 70005)
    I want use 5 series gl when I use Production valuation classes, 6 series when I use Sales valuation classes and 7 series when I use Admin valuation classes in VBR general modification but system allows me to use standard valuation classes.
    please how I can get this problem get solved that the concerned GL accounts must be hit for proper allocation of expenses by areas.
    Thanks
    Ahmed

    Hi
    I think i have to rephrase the question .
    When you do a goods issue via migo and movement type 201 the user should not be allowed to input the GL account as it should be automatically determined through valn class setting in GBB-VBR.
    But in my case the system is also giving the GL account field as available to user for input .This is wrong .
    How to make this field suppress / greyed out is the problem ?

  • Movement Type 201 and VA90

    Hello, as we all know VA90 is a program used create a billing request for Service/Job Orders.
    In our company we use movement type 201 to create a goods issue for materials that have a warranty. When we enter a service order or job order number in VA90, it rejects the material with the movement type 201.
    My question is, is the reject a configuration that can be found in SAP? If so where can I find the configuration of this?
    Thank you and good day.

    This you can acheive by setting account assignment indicator is checked.
    OMJJ >>> Movement Type >>>Account Grouping >>Check account Assignment
    If this indicator is set, the system checks whether a G/L account or an account assignment has been specified on the item screen when user post transactional data. If so, the system copies this data to the posting line for account determination.
    If this indicator is not set, the system always uses the G/L accounts or account assignments determined automatically.

  • How do I set up different icloud accounts for each family member and make them able to access them on our common mac using their user name on the mac.  I am doing this to make sure kids don't get access to our messages.

    We have several apple products in the family.  I would like to set up different icloud accounts for each memeber.  I lately noticed having activated different devices with same icloud account that each device can access everyones messages by going in their settings and clicking which number or email they want to use to see messages.  Let me make sure I am understood, on my sons ipod in his messages settings he can switch to my cell number and see all my messages.  Re setting the devices isn't my great issue but can i set up each kids user account on my mac to their individual icloud accounts?
    Thanks!

    Any devices connected to the same icloud account can sync all the data on that account.  For this reason an icloud account is really for a single user.
    On a mac, if each user has their own account, then the itunes for that mac account should be set up to connect to that user's icloud account (System preferences>icloud).

  • Restrict for movement type 201 by material typeu200F

    Dear Gurus,
    Can SAP restrict movement type 201 by material type?
    For example, Can i set authorization for 201 movement type to only material type UNBW material?

    Check this answered links
    Authorization check on movement of material type
    Material Type - Movement Type Link

  • GR/GI Slip No Mandatory for Movement Type 101 and 102

    How to make 'GR/GI Slip No' mandatory in transaction 'MIGO' for only movement type 101 and 102.
    Regards,
    Piyush

    Which user exit?
    MB_CF001  Customer Function Exit in the Case of Updating a Mat. Doc.
    MBCF0002  Customer function exit: Segment text in material doc. item
    MBCF0005  Material document item for goods receipt/issue slip       
    MBCF0006  Customer function for WBS element                         
    MBCF0007  Customer function exit: Updating a reservation            
    MBCF0009  Filling the storage location field                        
    MBCF0010  Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011  Read from RESB and RKPF for print list in  MB26           
    Please suggest.

  • BADI for movement type 601 and COGS GL account

    Hello SAP expert,
    I am searching a solution from SAP enhancements.
    The requirement is to provide different COGS GL account based on the Customer Account Assignment Group value(KNVV-KTGRD) when SAP performs goods issue. for example, movement type 601,
    This means, when company ships goods to differnt customers, then SAP should generate different COGS GL account.
    for example, when company ships goods to customer account assignment group '01' (Domestic customers), then SAP should generate COGS GL account 818100.
    when company ships goods to customer account assignment group '02' (export customes), then SAP should generate COGS GL account 818200.
    when company ships goods to customer account assignment group '03' (Testing - sample customers), then SAP should generate COGS GL account 818300.
    the logic is following:
    KNVV-KTGRD COGS GL account at goods issue
    01 Domestic 818100
    02 Export 818200
    03 Testing - sample 818300
    04 Testing - VOM 818400
    05 Franchise 818500
    Is there any similar BADI available to solve the above?
    Happy New Year!
    Regards,
    Sylvia Chen

    Hello,
    First of all, Happy New Year!
    Thank you for the tip.
    Enhancement LMR1M002 was already implemented in the current SAP environment.
    The text is "Account grouping for GR/IR account maintenance".
    Function "EXIT_SAPLKONT_011" is the component under Enhancement LMR1M002.
    That is all I can see from SAP.
    I am not an ABAP person.
    Can you provide information for the next step?
    Thank you.
    Regards,
    Sylvia Chen

  • GL account for Movement type

    Hi ,
    I have made a Z movement type which is a copy of movement type 561 . To this Z movement type I want to assign the GL that is assigned to movement type 101 .
    How do I assign.
    Regards
    Nandini

    Hi Nandini,
    G/L a/c is decided not only by Movement type, but also material master/plant/type of transaction(transaction key).  Movement type in OMJJ is contains transaction key / Account modifier which is the link for GL a/c.
    In material master we maintain valuation class.  Hence when we do let us say GR for Purchase order(101), the G/L account is decided as below:
    Let us say movement type 101
    Account modifier = space
    Check in OBYC
    As you are aware for any transaction there will be +ve and -V entry in GL a/c
    Which a/c has to be -ve and which has to be + is decided by posting key depending on transaction.  Hence When we do GR...Stock a/c will be +, GR/IR will be -Ve and any price difference(if price control is -S) will be posted to price difference account.
    Inventory posting is done through BSX
    Price difference will goto PRD
    GR/IR will goto WRX
    In OBYC, check the transaction BSX, for a given Chart of A/c, for a given valuation modifier(it is nothing but plant grouping) and valuation class, you can see the G/L account. This data is available in table T030
    You can see the posting key for debit and cr. That means when we do 101, then Stock will be credited and that posting key is used, if you do reverse GR-102, then same stock a/c will get debited with that posting key
    For the transaction PRD, you will get addition to the above, one more column General modifier, this is nothing but the account modifier in OMJJ for that movement type, i.e. Same transaction i.e. GR, if i define a different account modifier, I can change the G/L account so that new movement type PRD (variance) can be collected at different G/L account.
    Like that WRX, in which it is maintained at client level no a/c modifier, no valuation class etc...that means GR/IR account determination will not depend on movement type/material/plant etc.
    Source : http://www.sap-img.com/materials/movement-type-and-gl-account-determination.htm

  • Two Step Posting in Movement Type 201 and 309

    Hi Experts,
    Our copmany wants to use movement type (T-code MB1A) 201 and (MB1B) 309 in two way posting, like 313/315 like some body create the document and then somebody apporves the document then finance entry takes place.
    How can we map the same in the system, please suggest, its most urgent.
    Regards
    Ishu

    201 Goods issue for a cost center
    The goods can only be withdrawn from unrestricted-use stock.
    Possible special stock indicators:
    K: Goods withdrawal from consignment stock
    P: Goods withdrawal from the pipeline
    If you have withdrawals from consignment stock and from pipeline, payables to suppliers ensue.
    309 Transfer posting material to material
    The quantity is posted from unrestricted-use stock of the issuing material into unrestricted-use stock in the receiving material.
    Prerequisite: both materials have the same stockkeeping unit.
    Possible special stock indicators:
    E, O, Q, V, W
    I think it is not possible in Standard System

  • Cost Center Text in MB21/MB22/MB23 for movement Type '201' ?

    Hello Experts,
    I have on issue in T-code MB21/MB22/MB23 . There is Cost center in these t-code, in standard setting cost center text appears
    but here only cost center text doesn't appears against that cost center . Please review that attached image that have text but in my case
    it doesn't appears .so please provide me some solution if have any Idea .
    Thanks & Regards
    Gaurav Sharma

    Dear Gaurav,
    please debug in
    program LKACBF02
    Form  FILL_TEXT
    It should fill the text in there.

Maybe you are looking for