Document type controll with respect to plant

Hi,
I have created two document type NB & ZB for purchase requisition , my requirement is whenever i select plant 1 in item level it should select N document type and for plant 2 ZB doc type, if  end user select wrong document type for plant for ex: ZB for plant 1 system should give  error message.
                                                                                thnx.

You have to use ,user exist for that take help of your abaper

Similar Messages

  • How to delete the row in table control with respect to one field in module pool programming?

    Hi,
    Can I know the way to delete the row in table control with respect to one field in module pool programming
    Regards
    Darshan MS

    HI,
    I want to delete the row after the display of table control. I have created push button as delete row. If I click on this push button, the selected row should get deleted.
    I have written this code,
    module USER_COMMAND_9000 input.
    DATA OK_CODE TYPE SY-UCOMM.
    OK_CODE = SY-UCOMM.
    CASE OK_CODE.
         WHEN 'DELETE'.
            LOOP AT lt_source INTO ls_source WHERE mark = 'X'.
                APPEND LS_SOURCE TO LT_RESTORE.
                DELETE TABLE LT_SOURCE FROM LS_SOURCE.
                SOURCE-LINES = SOURCE-LINES - 1.
            ENDLOOP.
    But I'm unable to delete the selected rows, It is getting deleted the last rows eventhough I select the other row.
    So I thought of doing with respect to the field.

  • Sales Document Type K with negative price

    Hi
    Please, I have the following error. I defined a sales document type ZS01 with sales document category "K - Credit memo Request".
    When i create a sales order ZS01 and define price 1000 USD in PR00 condition type the price is converted to negative ( - ). I changed K for C (Order) and try again created another sales order and when I define the price 1000 USD in PR00 they no change
    Why the price is changed a negative value in sales order with sales document category K?
    Best Regards
    Enrique

    Hi Enrique,
    There is nothing to do with the sales document category here.You can set that one to K only.
    This setting is done in Condition type.
    Goto V/06 T.Code or follow thw path:
    SPRO>Sales and Distribution>Basic functions>Pricing>Pricing Control>Define Condition types>Maintain Condition types.
    Here search for Pr00 using position option.Select that line and goto details.In Control data1 tab there is a field calles ad plus/minus.
    For your case it might be set as "X".Remove that one.
    Save.
    Regards,
    Krishna.

  • Billibg document type controling fields

    Hi All
    In billing document type controlling fields one field which indicates "credit memo w/val dat".
    what is the importence of this field!
    Regards
    raj

    hi,
    Credit memo with value date
         If the field "Credit memo with value date" is set, the reference billing document is not settled and the payment deadline date for the base billing document comes after the billing date for the credit memo, then  field VALDT (fixed value date) in the credit memo request is filled with the payment deadline baseline date of the base billing document.
         This does not happen if the payment deadline date of the reference billing document comes before the current billing date of the credit memo.
    This is from the documentation on the field.
    Rgds,
    Rags.

  • Backend price update with respect to plant

    Hi SRM Guru's
    Is it possible to update backend price for the material with respect to Plant.
    We are in Classic scenario.
    Currently Report EBP_GET_BACKEND_PRICES updating price for a material  average of all plants from ECC to SRM.
    But we need the price for the material to be updated plant wise.
    Is it Possible.
    Thanks
    With Regards
    Sri.
    Edited by: sri ram on Mar 26, 2009 8:52 AM
    Edited by: sri ram on Mar 26, 2009 11:22 AM

    HI
    first of all you need to make the plant as the valuation area in the ecc and do the delte download for the material master update through CRM parameters.  here you must be very care full about the system.  you need to seleted the delta down in the srm crm paratmeter not initial down load.
    in the delta down load the system will update the current setting in the ecc for the materil. then you will get the exact price for the material what you have sent for the plant.
    Regards
    Satish

  • Problem invoking document type webservices with SAAJ

    I cannot invoke document type webservices with SAAJ. No problems invoking rpc-style services. Can anyone help me to invoke doc-type webservices with SAAJ. Very urgent. Thank you.

    Siva Sankar
    You may use Field Exit to do this enhancement. You can create fieldexit from report RSMODPRF.
    In order to use field exit check/activate Profile Parameter abap/fieldexit using t code RZ11.
    Thanks & regards
    Amol Lohade

  • Document type control

    hi
    in my company i have two prequisitons
    one is used for imports and one for domestic .Ineed to make the field account asignment category an mandatory field for the domestic purchase requisition and for imports i do not how can i do this
    and
    can u also specify how this can be done to a purchase order also
    With regards
    chaitanya

    You can make account assignment category mandatory in configuration. The path in SPRO is <i>Materials Management --> Purchasing --> Purchase Requisition --> Define Screen Layout at Document Level</i>.
    Remember to make it mandatory in the field selection key at Document Type level. In case the field selection key is same at the document type level, change the field selection key in the document type definition (under <i>Define Document Types</i>). This way you can have different field selections at the document type level.
    Same way in Purchase Order also. Menu path in SPRO is <i>Materials Management --> Purchasing --> Purchase Order --> Define Screen Layout at Document Level</i>
    Hope this helps.
    Lakshman

  • Duplicate GR Posting Control With Respect to MIGO Filed Delivery Note

    Hi Team,
    Is there any possiblity to check / control GR Posting with respect to the same PO and same delivery note reference.
    I have a PO 1000001 with line item 10 with qty 100. I did a MIGO with respect to this PO for 50 qty with delivery note ref DC-53.
    When i try to do MIGO with the same PO and same delivery note DC-53 for the balance 50 quantiy,
    System should intimate me as warning / error..
    How can we acheive this by standard  SAP.  If not possible by standard SAP wats the alternate.
    Vijay

    HI Vijay,
    It is possible to check warning / error message display of the MIGO bottom of the screen through ABAP delveloper with enhancement (Validation).
    After enhancement, MIGO posting is not allow to duplicate DC Ref.no. and also double entry of the same DC ref.no.
    Hope, it is useful for you.
    Regards,
    K.Rajendran.

  • How to Net price of materail with respect to plant

    Hi Gurus,
                     Kindly let me know is there any standard BAPI or FM to get net value of Material Code including taxes or combination of BAPIs and FM or any existing program developed by you for reference.
    Thanks in Advance,
    Rams

    How would a standard BAPI or FM know how to handle all your specific pricing conditions, configuration, pricing at header or item level or ??
    If the functional specialist could not provide some rules, I execute the Sales Order Simulate BAPI, for a specific customer code, etc., for the material and delivery plant and process the resulting price condition records that were to be summed....again, though, you probably need some specific processing rules for that.

  • Document Type and Plant

    Hi,
    How to assign Document type to Plant. When I checked with our SD consultant he told Document type is independently configured and it's assigned to sales organization and not plant. Just want to check whether any report/view available to see the list of Sales document type assigned to a particular plant/sales organization.
    Thanks in advance.
    Regards,
    Balaji Viswanath.

    Hi balaji
    we cant assign sales document type to plant.  we  assign sales document type to sales orgn. just bcoz of simple reason that we create sales order with the data of sales area , sales office ,sales grp and not plant. bcoz we assign plant to material master data ,as we  need sales area for the sales doc type , for material also we need plant. bcoz material is stored at plant and storage location level.for that purpose only we create a material with plant,storage location , sales orgn, dist channel.
    Reward if useful
    Regards
    Srinath

  • Assign document type to plant?

    Hi!
    Document types are assign to sales areas but i need to assign one specific document type to only a few plants of this sales area. ¿How could i do this?
    Regards.
    Eduardo

    Hi guys,
    Thanks for your answers. Pramod what i want is to assign a document type to just a few plants that belong to the same sales org. (in this sales org. there is other plants to which i don't want to assign my document type). The idea is that when i create a sales order with this Order type only a few plants are available.
    Roberto i beleive that the listing/exclusion funtions is just for materials.
    Sudarshan i already talked to my abap'er and if there is no other option through customizing will do that.
    Thanks again.

  • Restrict purchase order document type at plant level

    Dear,
    I would like to restrict the purchase order document type at plant level,
    Plz help me.

    Hi Dear,
                 at the Plant level you have to use the below given Authorization Objects for the Users in different Plant
    M_BEST_BSA     Document Type in Purchase Order
    M_BEST_WRK     Plant in Purchase Order
    Give the values of the respective Plant and Order Type for the Respective Users.
    For more help you can contact your Security Team.
    but before that please check out in the T-Code SU24, if both the Objects are active, if not then ask the ABAP person to activate them.
    Hope it helps you.
    regards,
    yawar Khan

  • Assignment of billing document type with accounting document type

    Hi
    I need one information regarding SD Billing Document type assignment with accounting document types.
       Here CRM people asking me where we can see if the Billing doc type is BV( Cash Sale)  accounting document should be RV
    Just go to T.Code VOFA for Billing document types. Based on this only system generate the Accouning documents RV, AB so onu2026u2026.
    But how it is determining this accouning document type they want to know.
    Pls advice

    In VOFA where it says Document type enter the FI doc type they want to post to. Otherwise it defaults to RV.
    pls assign pts to say thanks.

  • One particular Po document type with reference to one particular PR documen

    Dear all
           I want to create one PO for a particular document type only with reference to one PR, that to after release of PR, how can i do it.

    Hi
    Goto, OLME ---> PO ---> Define Document types -
    > Choose your PO Doc.Type...> there in Linking PR and PO Doc.Type....allow your PR doc.Type only.....
    Also in OLME -
    > PR -
    > Define Document types -
    > Choose your PR Doc.Type...>There also you maintain this PR Doc.type only as ref. to your PO doc. type....
    Then Configure Release Statergy in such that All your new PR Doc. type PRs should gone thro the Release Statergy.....(use field CEKKO-BSART)
    Reward if useful
    Regards
    S.Baskaran

  • Limit Document types by plant and user

    Hi,
    I need to limit document types between two plants meaning a user should be able to use only one document type when buying from another plant but have all other types available for use generally.
    Example when user A from plant 1000 buys from plant 2000 he can only use UB Purchase Order type but for all other plants he can use any document types.
    Points will be awrded.

    You can limit the document type for each buyer in the Authorisation profile for  the buyer. This is done by  SAP Authorisation team. T code: PFCG
    Please contact your SAP Authorisation Team or SAP BASIS Team.
    G.Ganesh Kumar.

Maybe you are looking for

  • Jabber on all phone ports

    All of my 3560 ports connected to phones (7940/42/60/70/71) are showing continuous 50pps output towards the phones. I've turned off GARP but still no improvement. Although most of these phones have PC's attached, the data VLAN is not affected. I can'

  • I have an apple ID and a separate mobile me account...

    I'm a long time .mac and mobile me user that is now getting around to finding out what I need to do to transition to iCloud. I've been searching to find answers to a few questions and not finding exactly what I need to know - so let me just ask them

  • Song list printing not working.

    I have almost 1800 songs on my master playlist. The printout of this file is a few lines over 27 pages. That's 14 sheets in duplex print mode. My problem: my new HP Deskjet F2400 All-in-One (print/scan/copy) will print only page 27 when I select "Pri

  • How do I put games into my ipod=

    Im almost certain this is possible but how do I do it?

  • Moblie Me was deleted fom my iCal, how can I get it back?

    How do I get Mobile Me back on my iCal (it was deleted) can anyone help me?