Stock order option in me22n

hi.
i have a scenario in which in me22n,i am creating a new tab on the tabstrip through screenexit and adding the input output fields on this newly created tab.
i am using the functional modules EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018 in which i am writing the code in the respective includes.
now,i have to put the condition that if this me22n is entered with the specific order.i.e.stock order(UB is its type name) then only this tab should appear on the tabstrip else for purchase order,dummy order or framework order,this tab itself should be disabled.
this order type is coming from mepo_topline which is a structure whose field is bsart.
my standard prgram is saplmegui,
i am writng somewht like this,but still not able to get through.
data: GV_OKCODE_FIELD type char35 VALUE '(SAPLMEGUI)MEPO_TOPLINE-BSART'
FIELD-SYMBOLS <MEPO_TOPLINE-BSART> TYPE ANY.
ASSIGN (GV_OKCODE_FIELD) TO <MEPO_TOPLINE-BSART>.
IF <MEPO_TOPLINE-BSART> EQ 'UB'.
my other code...
endif.
please help.

Dear Sujit,
Thank you for your immediate reply. Is there any way to get the requirement without using any enhancement. Like using standard screen fields?
Regards,
M.M

Similar Messages

  • How to block reprinting option in ME22N.

    Hi All,
    Is there a way i can block users from using the repeat output  option in me22n -> Messages.
    I am finding users making multiple printouts of Purchase orders and confusing the vendors.
    Kavish

    Thanks for replying. 
    The tick of multiple output option will be applicable to all.
    we want that option to be available for some of our users so that they do the reprinting.

  • Excise invoice issue for non stock orders

    Hi,
    We are unable to create excise invoice for non stock materials. When we try to create excise invoice with refernce to the billing document, the following error appears (message no 81681: reference document of 2917 is not delivery document). This process was working properly before updating patches, but after the updation, we are not able to generate excise invoice for non stock materials. (FYI: In the case of non stock order we are using order related billing). Any solution to resolve this error??
    regards
    John
    Edited by: Gino12 on Oct 28, 2010 10:00 AM

    For sales with material type NLAG, Item category TAX and schedule line category CX contain the standard settings along with copy control settings (VTFL, item level requirement 004) that suit your case.

  • Automatic creation of NB purch.order from UB re-stock order

    Hi SAP gurus,
    we have the following business case (we operate in an R/3 4.6C version): we purchase goods from an Intercompany/3rd party vendor (e.g in US) which are imported in a different EU country (e.g. BE) before being physically received in the final destination country (e.g. ES).
    If the user places the PO (NB order) with receiving plant directly the ES plant, this will generate wrong reporting in Intrastat and eventually in VAT (e.g. if Tax code determination is automated on the basis of the receiving country).
    From our understanding for getting the right Legal reporting (Intrastat/VAT) a 2 steps process is needed:
    1) create the PO (NB order type) with receiving plant a "virtual" plant in the country of importation (e.g. BE)
    2) create a subsequent re-stock order (UB order type) from the "virtual" plant in the country of importation (e.g. BE) into the real final destination plant (e.g. ES)
    Does anybody know if it's possible to have the automatic generation (material master settings via the MRP run in R/3 or APO) of the purchase order (NB order type) as a result of a lack of stock in the supplying plant (the 'virtual' BE one in our example) of a re-stock order (UB order type)?
    If so, could you please provide some hints?
    Thanks in advance for your help
    Regards
    Michael

    Michael,
    From a planning perspective, use Stock Transport orders:
    Set up STO BE>ES (Normally, type of sto is dependent on company codes, but I will assume you want UB)
    Setup STO US>BE (again, type of sto is determined by business requirements, but I will assume your selection of NB)
    You will need a plant in BE.  All the standard STO configuration and master data for both legs of the journey would have to be created.  
    You will need to perform receipt transactions in the BE plant, as well as issue transactions to the UB order.  One would normally think that the goods must physically move through belgium, and that an importer of record would need to take possession of them at the border.  If you use MTO, the two orders (NB/UB) can be account assigned to the same sales order and therefore linked.
    Planning would be satisfied by the two step jump.  Other business requirements would have to be worked out.
    Rgds,
    DB49
    Edited by: Dogboy49 on Mar 22, 2010 10:13 AM

  • How to change order unit in ME22n for particular vendor

    Dear All,
    We have defined ordering unit in material master as "L".
    For other vendors & new PO we get proper ord.unit display.
    But we r not getting in PO of particular vendor.
    How to get order unit in ME22n ? What is the relation of order unit with Vendor ?

    Hi
    Did you ordere the particular material for the vendor concerned already with different Order unit (SKU),  this might be the reason why you are not getting the ordering unit in PO while ordering. Did you maintain the details of conversion in master between SKU & Ordering unit,if yes, then check for Info Record for the material and vendor combination and in the Genaral Data Tab chek for the variable order unit activation if not available then activate it and if the system is asking the conversiondetails enter herr the conversion also. Now if you create PO you will be able to assigne the new order unit.
    Regards

  • Is there a photobook ordering option in iPhoto '11 vers. 9.1.5 (615)?

    A friend of mine made a photobook with her Mac. I'd like to do the same. The instructions I've found on the web don't match the menu items in my iMac (vers. 10.7.3). Anybody know what I should do?
    Matthew

    Your question makes not sense
    Is it
    Is there a photobook ordering option in iPhoto '11 vers. 9.1.5 (615)?
    Then the answer is yes
    AS to what your friend did - with no information no one can tell you if you can do the same
    and as to ordering with a different version (since 9.1.5 does not run under OS X 10.7.3 which you say you have) then no one can answer unless you tell us wha tyou actually have
    And not that there are 5 or 6 versions of Iphoto that run under OS X 10.7.3 so once again for an answer you actually have to provide information
    So the answer to your headline question is yes and to your continued rambleing is who knows - not enough information to answer
    LN

  • Adding working day as a holiday in calendar without affecting stock orders

    It was very recently decided by the SA government that this coming Wednesday, 18th May, will be a Public Holiday (PH) due to national elections.
    Itu2019s just been highlighted by the business now that this day is currently still set as a Production day in the calendar.
    As such, could you please advise what needs to be done to urgently set this day to be a non-working day?
    Also, whatu2019s of greater concern is that there are already Stock Orders sitting in system timed for picking & delivery on the 18th, and the Service Levels will be calculated on a working day for the 18th.
    How can these orders be u201Crecalculatedu201D for the 19th so as not to impact negatively on the warehouseu2019s Service Levels, given that the warehouse will not actually be working on the 18th?

    Use this function module & make sure you pass the plant details, as factory calendar mostly depeneds on the Plant.
    Below is just an example to get the plant depending on Requisition & pass it to the function module.
    Createdate --> will be the current date.
    SELECT SINGLE t~fabkl
           INTO lv_fabkl
           FROM ( t001w AS t
             INNER JOIN eban AS e ON ewerks = twerks )
           WHERE banfn = reqnumber.
    CALL FUNCTION 'FKK_ADD_WORKINGDAY'
      EXPORTING
        i_date            = createdate
        i_days            = days
        I_CALENDAR1       = lv_fabkl
      I_CALENDAR2       =
    IMPORTING
       E_DATE            = workingday.
      E_RETURN          =

  • Sort Order option disabled when using OBIEE analysis?

    Hi everyone
    I've build a BIP report using the online layout editor.  My data model is based on an existing OBIEE analysis. When I go into the data model and go into the properties of a column, the Sort Order option is somehow defaulted to "No Ordering" and the dropdown menu is actually disabled, so I can't change anything.  Is this normal/expected functionality or am I missing something somewhere?
    Thanks

    I don't think it is possible. Here are the sort statements in this program.
    <u>Without Serialization</u>
    sort t_idoc_control_r
      by sndprn sndprt sndpfc mestyp
         mescod mesfct test serial.
    <u>With Serialization</u>
    sort t_idoc_control_s
      by sndprt sndprn obj_type chnum chcou.
    In neither of them, the document number is used. There is no guarantee that they will be processed in the document number order, even if serialization is used.
    Regards,
    Srinivas

  • How do I access specified order options programmatically?

    Using the RAS SDK (or any other .NET API), is it possible to access the specified order options of a group? I am talking about the named groups with specified conditions.
    I have found nothing when searching through the documentation, but maybe I am overlooking something. I know this used to be possible with the crpe32.dll - is it no longer possible?
    Thanks in advance!

    Hello, John;
    You can access the GroupOptions throught .NET RAS. Here is a link to the Developer Library section on groups:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/rassdk_net_doc/doc/rassdk_net_doc/html/raslrfCrystalDecisionsReportAppServerDataDefModelGroupClass_MembersTopic.htm
    There is a sample of Group and Group sort code in the "VB .NET How To Samples" at:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/sampleList.htm
    Elaine

  • How to activate "Issue Purchase Orders" option ?

    Hello everybody,
    How can I activate the "Issue Purchase Orders" option ?  At this moment, every time a purchaser creates a PO in Sourcing Cockpit, the PO is created and sent it immediately to the vendor.
    Obviously, I want to change that.. =)
    Somebody knows how can I change this behavior and activate the "issue purchase order" option?
    Thank you very much for your help !
    Diego

    Hello Diego,
    this is exactly what I already told you in my first reply.
    With this customizing option, a PO "trigger" (term used in Post Processing Framework --> term used in output logic !!) is created but not processed immediatly.
    You can find this "waiting" output in transaction "Issue purchase order" and execute it, or let a scheduled report do it.
    When you save the PO in ECS, FM BBP_PROCDOC_SAVE will call this output creation, then level one update tasks are called (physical update of DB) by the COMMIT. Then level 2 update tasks are called. The PO transfer to the backend is one of those last calls.
    So there is no link between PO output and BE transfer.
    Except in case of DUMP, I don't see any reason to block the PO transfer because of PO edition.
    If your PO is not transfered in BE, this is not because of the PO output.
    There is another reason.
    Check PO status : is it "In transfer to exec" or "transfer to exec failed" ?
    Rgds
    Christophe

  • Where is the "Manage Pre-Orders" option?

    Where is the "Manage Pre-Orders" option?

    OK, so only if you have Pre-Orders you will see the option. I thought I have some but I guess I don't.
    Thanks.

  • Purchase Order segment field is enabled even though Split Purchase Order option is disabled

    Hi,
    In Purchase Order top right side, next to Document Number field, there is a Segment field. My understanding was that it comes only if Split Purchase Order setting is enabled in Per Document Settings.
    But in my Per Document Settings for PO, the Split Purchase Order option is disabled; still it is showing the Segment field. How can I get rid of this?
    Thanks.

    HI Rajesh,
    SAP B1 have common Split PO settings in Document settings.
    If we enable Split PO option in Document settings, then in Logistics tab of Purchase order screen Split PO will be enabled for all purchase orders.
    If we don't enable Split PO option in Document settings, still we have option to enable only for specific purchase orders before we adding the document.
    If Split PO option is "unticked" in Purchase order> Logistics tab, then  it wont allow multiple warehouse in single PO.
    Thanks
    Unnikrishnan

  • Printing page order options: meanings? differences?

    In the print dialog box, under page order, there are 3 options.
    Automatic (default)
    Normal
    Reverse
    What is the meaning of Automatic?
    If I am doing double sided large document printing on a non duplex printer I would first print the odd numbered pages in the Normal page order.
    Next with the odd page stack back in the paper tray I would print the even pages in the Reverse order. This works for an even number of total pages, but not for an odd number of total pages, page 2 would end up on the back of page 3, not back of page one.
    Will the Automatic page order option solve this problem by automatically inserting a blank page as the first page of the even side page printing when the total page count is odd?
    Does this Q make any sense?

    The "Automatic(default)" refers to what is specified in the printer's PPD file. That may be either page 1 first (usually Normal) or page 1 last (usually Reverse). It may vary from printer to printer or from driver to driver. For example, my Epson Stylus Photo 1280 will print page 1 first when I use the Epson drivers when I use Automatic. If I use the Gutenprint drivers, it will print the last page first if I use Automatic.
    If you are doing a lot of manual duplex printing, you might want to take a look at CocoaBooklet _http://www.iconus.ch/fabien/products/cbeng/cbeng.html_. It can simplify matters greatly.
    Matt

  • Sales order stock order picks up purchase agreement by default

    Hi,
    When we create sales order stock, if the article has an agreement like a contract with the vendor, the agreement number comes by default in the pur. requisition data in the sales order. Due to this when PO is created wrt this pur requisition, the price maintained in the agreement is picked up instead of the regular price. Each time, the agreement no. has to be taken off manually from the sales order and this leads to other issues like credit blocks multiple times. Is there a setting, where we can tell the system not to consider pur agreements in sales order stock order.

    Check the Info Record (TCode ME12/ME13) for the vendor & material used for the transaction.
    Regards
    JP

  • Inter company stock orders

    In MD04, there are many MRP elements like Cus ord, ShpgNt and so many.
    CAn anybody please tell me which elements will constitue the sales orders and which will constitute the Inter company orders..
    I am in need of developing a report which says the sales orders for a material and Inter company stock orders in seperate columns..
    Please help me out..
    THanks
    Karthick P

    My question is different..
    I just want to know which of the MRP elements will combine to form the sales orders of a material and which will combime for Intercompany atock orders...
    Karthick p

Maybe you are looking for

  • EBS: Posting on account to Customer  through search string

    We are attempting an on account posting to the customer account based on the customer name in the bank statement. The configuration looks as follows. 1. Posting rule reflects the setting for posting area 1 and 2. For the second posting area the credi

  • How to know what is the CR doing in the datebase

    Hello Friends, We have a strange problem. Our change run is running  for almost 12 hrs  where as earlier it used to run  for 1 hr.  Once we killed the CR job and reran the CR again. It ran successful. but however our basis team informed that cancelle

  • ISE 1.3 - logging admin actions like CoA

    Hi all, I'm trying to find a way to gather the logs regarding admin action. To be more specific: If there is an admin who performs CoA from "Live Authentications" view, I want to have a proof that this guy did it. I tried to find any report on such a

  • How to create a Product Grouping and manage multiples?

    How I can create a Product Grouping with 3 pieces of a product + 2 pieces of another product and ensure that customer can only order in multiples (6+4, 9+6, 12+8, etc.) and not for example 4+3? Regards, Francesco

  • Ipad 2 - there is not enough memory available message in itunes when photo are sync. Help !

    Hi there, When i sync my Ipad 2 with Itunes , as soon as it gets to the 5th step ( sync Photos ) it says that there is not enough memory available. Even if it has half of the memory available. Help ! Thank You