Storage location value in Tcode VA01

Hello experts,
                       I have done the enhancement for 'VA01'. According to my requirement i have to give some values to storage location for a particular order type.
e.g if my order type is 'zwxl' my storage location should be '0001'.
i am writing the enhancement code in program name SAPFV45P in that in include FV45PF0V_VBAP-POSNR_FUELLEN.
the part of code is :
IF vbak-auart = 'ZWMF'.
    vbap-lgort = '0007'.
    ELSEIF
      vbak-auart = 'ZSDR'.
      vbap-lgort = '0001'.
but after the save i dont see my storage location in VA01 even if the order type is ZWMF or ZSDR.the storage location is blank there in VA01.
but if i write if vbak-auart = 'ZWLF'.
vbap-lgort = '0011'.
else.
vbap-lgort = '0004'.
endif.
for this if my order type is not ZWLF the value of the storage location appears in VA01 and that too 0004.
what i can see while debugging is if the order type is other than my requirement for which storage location comes MTCOR-RMARD EQ 'SAPCE'.
and if order type is amongst my requirement the value of MTCOR-RMARD is EQ 'X'.this why the field of storage location comes blank for my reuirement.
plz help.why this is so?
thanks n regards,
Ashmita Singh

thanks experts..Enhancement is working for all the order type except one..ZCRE
AFTER entering the order type n all a pop window appears to enter billing document,
then a information window 'The plant for item 000010 must be redetermined' occurs 
then in the form 'VBAP_KOPIEREN_VORBEREITEN'
after PERFORM (MODUL) IN PROGRAM SAPFV45C. VBAP-LGORT value becomes zero
then 'The plant for item 000011 must be redetermined'.
now value of vbap-lgort at this time before initialization is '0004'.
after PERFORM (MODUL) IN PROGRAM SAPFV45C.
value of vbap-lgort become '0004' again.
The plant for item 000020 must be redetermined
value of vbap-lgort is initial at this time.
after PERFORM (MODUL) IN PROGRAM SAPFV45C. value of vbap-lgort becomes initial again.
The plant for item 000021 must be redetermined
after this vbap-lgort is 0004 again.
PERFORM (MODUL) IN PROGRAM SAPFV45C. after this vbap-lgort = '0004'.
The batch number of item 000011 is cancelled
The batch number of item 000021 is cancelled.
plz help.this is for this order type only and for rest of the
order the enhancement is working fine.
for Itme 10 the storage location blank
then for Item 11 storage location is 0004
for item 20 storage location is blank again
and finaly for item no 21 storage location is 0004.
below is my enhancement code.
enhancement 1  zstorage_location.    "active version
This is to change the storage location
as per the order type
  if vbak-auart = 'ZWLF'.
    vbap-lgort = '0007'.
    elseif
      vbak-auart = 'ZSCR'.
      vbap-lgort = '0001'.
      elseif
        vbak-auart = 'ZRAW'.
        vbap-lgort = '0001'.
        elseif
          vbak-auart = 'ZORD'.
          vbap-lgort = '0004'.
          elseif
            vbak-auart = 'ZLCI'.
            vbap-lgort = '0001'.
            elseif
              vbak-auart = 'ZEXP'.
              vbap-lgort = '0010'.
              elseif
                vbak-auart = 'ZCRE'.
                vbap-lgort = '0008'.
endif.

Similar Messages

  • Storage location value is not adopting fron PO into GR

    Hi All,
    I'm making Goods receipt with reference to Purchase Order. For few materials the storage location value is not adopting fron PO into GR. It's in disable mode. So i'm not able to maintain the stock at storage location level. What could be problem? Please help me on this.
    Thanks
    Anilkumar Dalai

    Dear Expert,
    PO is with refrence to Order 'f' Category.
    is it a Production order or a Customer Sales Order?
    or is it a financial internal Order?
    Could you please be more specific??
    In case please check which Sloc you have assigned in the order with ref to which you created PO.
    Please change directly in the order.
    Raghavan

  • How to determine a cost center based on a storage location

    Hi all,
    During material movement or stocked purchase, I need to determine different cost center by storage location. Therefore, i can't use OKB9 because the plant criteria is not enough.
    Is there any user-exit or another solution i can implement to solve this problem?
    Thank you for your answers.

    Hi
    As i said earlier, you can use MSEG itself in your substitution rule.
    For  Ex:
    Pre- requisite
    BKPF-BUKRS = 'XXXX' AND BKPF-AWTYP = 'MKPF' (and anyother criteria that needs to be applied)
    Substitute
    Field - Material (MATNR)
    is substituted by "EXIT"
    Create your own exit here & give your logic like
    If MSEG-LGORT = '0001'(your storage location values)
    then BSEG-KOSTL = 'CCTR1'.
    Let me know if you need any further details.
    Thanks
    Kalyan

  • Purchase Requisition Authorization based on Storage Location

    Hi MM Gurus,
    Our client has got a specific requirement to control the security of purchase requsition creation, change and release based on the storage locations. We have found the authorization object M_BANF_LGO which is to restrict the access of PR based on storage location in purchase requsitions.
    The issue is the purchase requsition BAPI does not check this authorization object as per standard SAP.
    Does anyone know how to handle the security of purchase requsition based on storage location?
    FYI - Our PR release strategy is at item level and not at document level.
    Thanks,
    Shekhar

    Thank you for the reply. In case of purchase requsition for cost center, you can still enter the value of storage location. The storage location comes into picture when the goods receipts are posted against this purchase. However, the storage location value can be entered at PR level.
    We have storage location field as "Required" field in all purchase requsitions as there is only one plant and each storage location represents the division.

  • Trx for opening a storage location.

    Hi,
    is there a trx for opening multiple storage locations for the same material
    <b>instead of setting "Create Storage Location Automatically"</b> in SPRO?
    Best regards

    U can extend a material to number of storage location by using tcode MMSC.
    OR u can use create sloc automatically during first GR

  • Deletion of Storage location

    Hi,
    How can i delete the storage location which is in use?
    is there any prerequisits before deleting the storage loaction?

    Hi Jagadish,
    You can delete a storage location by using tcode MM06. This will set the deletion indicator for that storage location. Later by archiving it will be removed from the system.
    If u have any stocks at that storage location, then u have to make sure to move them to other storage location. Also make sure that no movements in that storage location.
    This will help
    regards
    Anand.C

  • Date Wise and Storage Location Wise Stock Qty & Value Report......

    Hi Experts,
    We want a report Date Wise(As on 31.03.2008) and Storage Location Wise Quantity & Value Report for only Finish Materials. Is there any report ?
    From Mb5b we canot get storage location wise report as we get only plant level qty and value.
    Pl. guide us.
    Regards,
    Yusuf

    Hi Yusuf,
        Try the Tcode: MC.9 there enter the site and article and executeYou will get details of the article
    stock, value. if you double click the article you will get the details of storage location.
    Hope it will be help for you
    Regards
    GK

  • Storage location wise value in Report

    Hi all ,
    We are working of MM module on which we have scenario in report,
                       Plant     Storage location  stock       value   ( 10 rs each quant)
         A      A1                     10             0
                   A2                         20                 0
                        A3                      30                 0
    Total                                                     60         600
    So according to this we are not getting storagelocation wise value....
    we applied the note 589024 also ...so we are geeting the storage location wise value but that values are not matching with ECC(mb5b),....
    our next scenario is we are comparing previous months closing stock value to present months opening stock value ...but its coming different after applying the note 589024.
    Please guide us.

    hi,
    Could you check the stock value with MMBE tcode and see if it matches.
    regards,
    Arvind.

  • Opening and closing balance values at storage location level

    Dear all,
    I want to know opening and closing balance values and receipts and issue values at storage location level for certain period.
    I tried with MB5B, it is not giving value at storage location level, it is giving quantities at storage location level and values at plant level. But requirement is: please see below example:
    All values are in USD          
    Storage location:      1001     1002
    Opening Balance:      2000     3000
    Receipts:                           1000      2000
    Issues:                            2000     3000
    Closing Balance:      1000     2000
    Please help in this regard (I want value of the stock only, not qty)
    Regads,
    Veerappa
    Edited by: Chinna Veerappa on Jul 27, 2010 5:27 PM
    Edited by: Chinna Veerappa on Jul 27, 2010 5:28 PM

    vlauation is at plant level (MBEW table) the storage location level does not carry values (table MARD).
    You may have to develope your own ZMB5B  program and calculate yourself what is not stored in SAP.

  • Need to display the Stock Values at storage location level - 0IC_C03

    Hi All,
    I am developing Stock Movent Report on 0IC_C03 - Material Stocks/Movements.
    I have more than one storage location for plant. Stock quantities are calculating at storage location level and Stock Values are calculating at plant level.
    I have no issues with quantities. Only problem with Values.
    2LIS_03_UM is not picking the starage location, so that the revaualtion values are falling under unassigned nodes. When i set filter on storage location these values were not showing as they are under un assigned nodes (#).
    I want to get the Stock Quantity and Stock Values at Storage location level in my report.
    I found that soulution for that is Applying SAP Note : How to Realize summarized display of stock values on storage
    I have done development as per the document. But when i run the Query it is going to debug mode first and then it saying This program cannot display the webpage
    Can any one faced the same situation, Please help me if so.
    Thanks in Advance.
    Gopal N

    Hi Sachein,
    I am getting this An exception(CX_RSR_PROPAGATE_X) occured when debugging, and then it leads to next screen saying that:
    This program cannot display the webpage
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
       What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected. 
         Retype the address. 
         Go back to the previous page.
         More information
    Please let me know you need any more information.
    Thanks in Advance
    Gopal N

  • No Stock value at Storage location level in BW report

    I am facing problem in getting stock valuation at storage location level.
      The problem is that, in R/3 Stock valuation is done at plant level, when we do storage location to storage location movement , only stock quantity gets changed and no FI entry is getting generated . So there is no movement of stock values at all. when we load this transaction data into BW , obviously i will arrive with wroung value . so what to do in this case ?
    Thanks & Regds,
    Kavan

    Hi Kavan,
    Could you please explain the scenario & provide the Ds you are using.
    Thanks & Regards,
    Suneel

  • SIT Value and Stock value at storage location level

    HI
    Can anyone tell me how to get the following:
    1. The value of the Stock in Transit on monthly basis
    2. The value of the stock at storage location level. The Stock value is correct at      plant level
    Thanks in advance.
    Soumen

    Hello,
    (1) please have a look into the Howto Guide:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92c0aa90-0201-0010-17b1-bf5b11c71257
    (2) Please have a look into the note:
    589024
    And consider to use the feature Constant selection.
    http://help.sap.com/saphelp_nw04s/helpdata/en/d2/02223c5f00612be10000000a11402f/content.htm
    I hope this helps, Michael

  • Storage Location Wise Stock Value field and Table

    Hi ,
    Please let me know the storage location wise stock value field and table.
    Regards
    Suresh

    Hi Suresh,
    As per my understanding it is not possible in a single Table.
    If this is required for customized Z report then use this logic it may gives the correct information.
    In the combination of MARD and MBEW.. From MBEW you can get the value for each Base Unit of Measure then multiply that value with storage location stock.
    It may usefull to u..in the mean time i will try for some other option.
    Please revert if u have any query.
    Regards
    Durga Sana

  • Sales order stock and storage location stock on past date with value

    Hi everyone.
    I m looking for a report which can give sales order stock with value as it is shown in mb5b and storage location stock with value as in mc.5 is there any report which can give the combination of both the things on past date with values.

    can you tell me what shall be the fields and table for special stock on past date with value and sloc stock on past date with value

  • Report for Storage location wise Stock with value..?

    Hi guru's
    Can anybody explain me what is T.code i want to use to get a report for STORAGE LOCATION STOCK  with VALUE..?
    Urgent reply me  ..
    Thanks
    sap-mm

    Sorry Mr chetan,
    I want to see only the stock available in my company with Value and storage location wise..
    Please try to get report for this
    Thanks
    sap-mm

Maybe you are looking for

  • Considering purchasing new iMac from MacMall

    Is MacMall reputable?  Anyone have any experiences with them?  Does Apple honor the regular warranty with them? Why should I even bother buying from them you ask? They seem to offer new iMac's for $100-$150 cheaper than apple store.  Another main rea

  • DAC not populating FACT table for the GL module - W_GL_OTHER_F (zero rows)

    All - We did our FULL loads from the Oracle Financials 11i into OBAW and got data in most of the dimension tables populated. HOWEVER, i am not seeing anything populating into the fact table W_GL_OTHER_F (zero rows). Following is a list of all dims /

  • Using Dynamic actions while updating a Transfer action

    Hi all,     I am trying to run a Transfer action, (80), which updates the Infotype 0000 and Infotype 0001. When the entry in the Infotype 0001 is saved, a dynamic action is triggered and a custom infotype is updated automatically. I need to find a FM

  • Spry Menu Help Needed

    I have searched through the forum and did not find an answer to this question. I successfully created a horizontal menu using the spry widget for horizontal menu. The problem is that in IE, the menu throws the sub menus far to the right. It functions

  • Problem burning disc in photoshop elements 4

    Downloaded photos. Tried to burn to a dvd so i could take to photo store to make  prints. Error message - The cd device driver is not installed.  Please reinstall Adobe Photoshop elements- Put in Installation disc and did installation, did not uninst