How to Make Project Code as Mandatory

Hi ! I Need Project code as mandatory in Po's and Sales Order in Row Level. How to Make that one. Also i have a issue with approved PO's. If some PO got approved is there any option to make amendment and resend for again approval.
Thanks and Regards
Kamal

Hi Kamal.......
Try this below SP for making project Code Mandatory........
For Sales Order:
If @object_type='17' and @transaction_type='A'
BEGIN
If Exists (Select T0.DocEntry from ORDR T0 Inner Join RDR1 T1
On T0.DocEntry=T1.DocEntry
Where T1.Project Is Null
And T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'Please select Project'
End
End
For Purchase Order:
If @object_type='22' and @transaction_type='A'
BEGIN
If Exists (Select T0.DocEntry from OPOR T0 Inner Join POR1 T1
On T0.DocEntry=T1.DocEntry
Where T1.Project Is Null
And T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'Please select Project'
End
End
If your PO is approved and you want to ammend it then your approver has to reject the PO first and it will come to you and then make edition and send it again......
Regards,
Rahul

Similar Messages

  • How to make material code field mandatory in VA01

    Dear all,
    I want to make material code field mandatory while creating sales order (VA01). As of now even if I dont enter material code , and just enter customer code and P.O. number ,  I am able to save my sales order.
    I tried to do it with incompletion log , but could not succeed.
    SHD0 could be an option, is there any simpler way out ?
    Please suggest.
    Regards,

    Hi,
    You have 2 options.
    1 - Incompletion Log
    If you add Material filed to your incompletion log, then when you try to save the sales order it'll give the "Save / Edit" pop up message. But then by pressing Save button you can save the sales order.
    If you want to avoid that pop up; do this. (To avoid user saving Incomplete sales orders)
    Go to VOV8 Tx.
    Go in to your sales document type
    Under "Transaction flow" section mark the "IIncompletion messages" tick box
    Then try with a new sales order without a material number
    If won't give that pop up message any more where as it'll always go in to the incompletion log. So you can't save it without maintaining the material.
    That's a alternative way of doing.
    2- SHD0.
    Best regards,
    Anupa

  • How to make Sales Office field mandatory in VA01 initial screen?

    Hi,
    How to make Sales Office field mandatory in VA01 initial screen? I mean in the first screen where we enter the document type and the sales area?
    Regards,
    Ajit

    Dear Deepak,
    Thanks for the clarification.
    But, as far, I have understood the query - it is very simple and that is..
    Whenever one creates a Sales Order (T.Code: VA01), Parameter: Sales Office needs to be mandatory (for all Sales Order, irrespective of Customer Account).
    Until-unless, user won't enter the parameter: Sales Office, System will not lead to next page (now, here we need to enter Customer/ material etc...).
    I have answered the query, in this regards, only.
    Best Regards,
    Amit.
    Note: Pls. correct me, if I am wrong. Thanks for everyones guidance.

  • Can you explain me clearly how to make company code visible in cost center

    can you explain me clearly how to make company code visible in cost center master data using tcode kmlv

    Hi,
    There is no way to activate the company code field. If your Controlling Area and Company Code have one to one Assignment, then Company code is defaulted from the Controlling Area. However, if multiple Company Codes are assigned to one Controlling Area, then Company Code becomes a mandatory field in the Cost Center master data
    Also, in case you have multiple company codes assigned to one controlling area, please check the setting of the Controlling Area in Configuration and see if have selected "Cross Company Code Cost Accounting" . Also, check if you have assigned all the company codes to the controlling area
    Regards
    Mahendra

  • How to make tax classification field mandatory in sales order ?

    Hi,
    while creating sales order, " how to make tax classification field mandatory ".
    Please tell me the procedure.
    In tcode OVA2. what are the entries for fields,table.
    Regards,
    sapsduser

    Dear ,
    Could you please share why you want to make tax Classification field mandatory in sales order.
    Maintain Tax classification field for customer in Customer Master Data = (Sales Area Data - Billing document Tab page)
    Tax Classification field for Material in Material Master Data = Sales Org. 1 View.
    While creating sales order and enter customer and material system automatically fetch the tax classification related data into sales order.
    Tax is calculated based on the ship to party.
    Hope this will help you.....
    Regards,
    Manoranjan.

  • How to make reason code compulsory while processing F-53

    Hi Boss,
    Can u plz. tell me How to make reason code compulsory while processing F-53. this is because I have defined differnet reason code and one is having blank text.
    Thanks
    S

    hi,
    Just check this one dont check previous one....
    goto TCODE OBC4 and then click on ur company FELD status variant and double click on field status group ....
    Then click on G067 RECONCILTION ACCOUNTS and then double clickn that in that and then click on payment transactions and then select REASON CODE AS REQUIRED.
    ur problem will solve...
    if useful assign points
    regards,
    santosh kumar

  • How to make tax codes in mm purchasing

    Dear Guru,
    1. How to make tax code for purchase of Raw materials with basic excise duty=14%, SECess=2%, HSEcess=1% and Additional Excise duty=4% as follows . If we consider basic prise=100 then
    BASIC                  =100
    BED    (14%)        =14
    SED     (2%)        =0.28----
    Sed=secondary Educational Cess
    HSECESS (1%)     =0.14
    SUB TOTAL        = 114.42
    AED (4%)           =4.56
    TOTAL             = 119
    For above all taxces(BED,SED,HSEcess,AED) , client gets 100% set off.
    Please tell me detail procedure.
    2.Do we need to assign (tax code)  them to any business area, as my system is giving an error at the time of saving in MIRO.
    3. What is the meaning of ticking ( check box tick) for calculate taxes under  basic tab in MIRO.

    Hi Nitin,
    Tax Set Off depends on the Account Key which you are using. Account Key in Tax Procedure will be defined by finance at SPRO - Financial Accounting - Financial Accounting Global Settings - Tax on Sales / Purchases -   Basic Settings - Check and Change settings for Tax Processing.
    Check the relevant condition type in the Tax Procedure (TAXINJ / TAXINN), and then check the account key of the procedure whether the Non Deductable indicator is set or not. you may take finance help for the same. Once it is done correctly then define the excise defaults for the relevant tax procedure at SPRO - Logistics General - Tax on Goods Movement - India - Basic Settings - Determination of Excise duty - Maintain Excise defaults
    Then create the tax code with the relevant condition types.
    You need to assign the Tax code to Company code if you use TAXINN procedure. No need for assignment of Tax code to Business Area
    Once you select the Check Box Calculate taxes in MIRO, then system calculates the Taxes based on the tax codes defined and also validates whether Part II Postings have been done or not also for the Excise relevant transactions
    Regards,
    Ramakrishna

  • How to make the CATEGORY field mandatory in the SMIN Support Ticket in test management?

    Hi,
    how to make the CATEGORY field mandatory in the SMIN Support Ticket in test management?
    Rg,
    Karthik

    Hi Kamal,
    This note steps will no validation that the user actually enters a value and the message will be created even if this 'required field' is left blank.
    Any other way to validate the enter a value also?
    Rg,
    Karthik

  • Anyone knows how to make this code to netbeans??

    anyone knows how to make this code to netbeans?? i just want to convert it into netbeans... im not really advance with this software... anyway..just reply if you have any idea...or steps how to build it... etc.... thanks guys...
       import javax.swing.*;
       import javax.swing.table.*;
       import java.awt.*;
       import java.awt.event.*;
       import java.util.regex.*;
       public class FilterTable {
         public static void main(String args[]) {
           Runnable runner = new Runnable() {
             public void run() {
               JFrame frame = new JFrame("Sorting JTable");
               frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
               Object rows[][] = {
                 {"AMZN", "Amazon", 41.28},
                 {"EBAY", "eBay", 41.57},
                 {"GOOG", "Google", 388.33},
                 {"MSFT", "Microsoft", 26.56},
                 {"NOK", "Nokia Corp", 17.13},
                 {"ORCL", "Oracle Corp.", 12.52},
                 {"SUNW", "Sun Microsystems", 3.86},
                 {"TWX",  "Time Warner", 17.66},
                 {"VOD",  "Vodafone Group", 26.02},
                 {"YHOO", "Yahoo!", 37.69}
               Object columns[] = {"Symbol", "Name", "Price"};
               TableModel model =
                  new DefaultTableModel(rows, columns) {
                 public Class getColumnClass(int column) {
                   Class returnValue;
                   if ((column >= 0) && (column < getColumnCount())) {
                     returnValue = getValueAt(0, column).getClass();
                   } else {
                     returnValue = Object.class;
                   return returnValue;
               JTable table = new JTable(model);
               final TableRowSorter<TableModel> sorter =
                       new TableRowSorter<TableModel>(model);
               table.setRowSorter(sorter);
               JScrollPane pane = new JScrollPane(table);
               frame.add(pane, BorderLayout.CENTER);
               JPanel panel = new JPanel(new BorderLayout());
               JLabel label = new JLabel("Filter");
               panel.add(label, BorderLayout.WEST);
               final JTextField filterText =
                   new JTextField("SUN");
               panel.add(filterText, BorderLayout.CENTER);
               frame.add(panel, BorderLayout.NORTH);
               JButton button = new JButton("Filter");
               button.addActionListener(new ActionListener() {
                 public void actionPerformed(ActionEvent e) {
                   String text = filterText.getText();
                   if (text.length() == 0) {
                     sorter.setRowFilter(null);
                   } else {
                     try {
                       sorter.setRowFilter(
                           RowFilter.regexFilter(text));
                     } catch (PatternSyntaxException pse) {
                       System.err.println("Bad regex pattern");
               frame.add(button, BorderLayout.SOUTH);
               frame.setSize(300, 250);
               frame.setVisible(true);
           EventQueue.invokeLater(runner);
       }

    its okay onmosh.....what we need to
    this...forum....is to have a good......relationship
    of programmers......and to start with .....we need to
    have a good attitude........right.....???.....no
    matter how good you are in programming but if you did
    not posses the right kind of attitude....everything
    is useless.....in the first place....all we
    want....is just to ask...some....help....but
    conflicts......but unluckily......we did not expect
    that there are members in here which......not
    good...to follow.....just as suggestion for those
    people not having the right kind of attidude...why
    can't you do in a very nice message sharing in a very
    nice....way....why we need to put some
    stupid....stuff...words.....can't you live with out
    ******* ****....its not.....lastly especially you
    have your children right now and people around...that
    somehow......idiolize...you even me....is one of
    them......but showing but attitude....is not
    good......tnx....hope you'll take it this....in the
    positive side.....be optimistic...guys....the
    world..is not yours....all of us will just past
    away....always..remember that one.....treasure..our
    stay in this....temporary home.....which...is
    world....Whoa. That post seems to be killing my brain.
    URK
    Join........us..........do not be..........afraid.......

  • How to make comnapy code defalut got 100 and 1001 in the PNP screen

    Hi Expart ,
    can u tell me my que how to make comnapy code defalut got 100 and 1001 in the PNP screen in HR reporting?
    Regards
    Razz

    Use the below code in the   INITIALIZATION   
                     INITIALIZATION                                      *
    initialization .
    " Make Default values for Company Code 2100 & 2200
      PNPBUKRS-LOW  = '2100'.
      PNPBUKRS-HIGH = '2200'.
      append PNPBUKRS.
    regards
    .....lakhan

  • How to make PAN field as mandatory in vendor master

    Hi,
    In second screen of xk01one application toolbar named CIN details is there. In CIN details->withholding tax tab PAN filed is there. I want to make this field as mandatory. How can i do that. please please help me.

    Hi,
    SPRO -> Logistic - General -> Business Partner -> Vendor -> Control -> Define Account Groups and Field Selection (Vendor)
    In this Screen select your acount group(Vendor) and double click, sysyem will takes to a new screen
    and click select Field Status(like General,Compnay Code & Purcahsing data) and then click select groups(1 by 1) and double click and make the following fields mandatory and save.
    1.PAN No.
    2.Excise No. and Range (for applicable casses)
    3.Service tax No.(for applicable casses)
    4.TIN No(LST)
    5.CST No.
    Hope this will help yo.
    Regards,

  • How to make a code in which i have to detect 3 objects

    Hello everyone,
    I am new in Labview. I want to make a code in which i have to detect 3 objects and they are in different shapes (rectangle, triangle etc).
    1. How many objects in image.
    2. What is the size of each object in image
    3. At what position they are laying.
    4. Data array of histogram of each object.
    5. What is the color of each object.
    Please help me out. I am confused with the tool. Which tool i will use for this Vision Assistant or Vision Builder AI or if i use labview directly to make the code what steps should follow to make this code.
    Thanks
    Zeeshan

    Hello Zeeshan,
    this is Vanessa, AE from Germany. I really like to help you with your project but like the other members already told you it would be easier if you have a certain problem.
    Using your Shapes.jpg you have several options in the Vision Assistant. For identifiying circular objects of different size the tool "Find circular Edge" from the "Machine Vision" tab is the right choice (see screenshot attached). The result will be the center position and the radius so on. The pattern match function is not the right option because each of your objects has a different shape. In order to use this tool you need several copies of your object.
    Do you really need colored images? For most application it is sufficient to use grayscale images. Be aware that some functions are only available for grayscale and your program will speed up.
    Please tell us more details about your project.
    Kind regards,
    Vanessa
    Attachments:
    vision assistant.PNG ‏305 KB

  • How to Make a Infoobject as Mandatory while Uploading data

    Hello All,
    I have a Infoobject ZPOS_CAPO which has below attributes,
    ZPOS_ZIPC
    ZPOS_TYPE
    ZW_LKCAPO
    ZCOMP_COD
    ZPOS_LAPO
    While Uploading the data from flat file, i have to make ZCOMP_COD as a Mandatory.
    When the data is not avialble for ZCOMP_COD , it has to throw an error message?
    While Uploading the data manually, how can i make ZCOMP_COD as a Mandatory? I mean Without entering value for ZCOMP_COD , it should not save record.
    Suggest me if you have any idea on this.
    Regards
    Naga

    Hi ,
    I am updating the data Manually for ZPOS_CAPO.
    Like below procedure
    selecting zpos_capo right click selecting Maintain Master Data
    then it is asking below Entries
    Point of Sale- APO c
    Language Key
    Point of sale - ZIP
    Point of sale type
    Warehouse link APO c
    Company Code
    Point of Sale  - APO
    Here when saving the entry with out Company COde value, the entry should not save.
    But for Me it is saving the entry. So I have to make Company Code as Manadatory.
    I do not have any Infosources for this.
    Help me
    Regards,
    Raju

  • RFASLM00 .... modification to make company code field mandatory

    Hi Gurus ,
    I want to know , how to make the company code & document number field in the selection screen of RFASLM00 as mandatory .
    I tried to search the decleration of these select options in the program , but not able to figure it out . I think its through dynamic slection . Please help me .
    Thanks in advance .
    Sud

    DIPLAY PROGRAM IN SE38
    click GOTO frommenu and select attributes
    double click LDB in attributes
    click the click the SELECTION button
    you can get the bukrs,document selection fields
    AT SELECTION-SCREEN ON BR_BUKRS-LOW.
    IF BR_BUKRS-LOW IS INITIAL.
    MESSAGE 'MANDATORY' TYPE 'E'.
    ENDIF.
    AT SELECTION-SCREEN ON BR_BUKRS-HIGH.
    IF BR_BUKRS-HIGH IS INITIAL.
    MESSAGE 'MANDATORY' TYPE 'E'.
    ENDIF.
    AT SELECTION-SCREEN ON BR_BR_BELNR-LOW.
    IF BR_BELNR-LOW IS INITIAL.
    MESSAGE 'MANDATORY' TYPE 'E'.
    ENDIF.
    AT SELECTION-SCREEN ON BR_BR_BELNR-HIGH.
    IF BR_BELNR-HIGH IS INITIAL.
    MESSAGE 'MANDATORY' TYPE 'E'.
    ENDIF.

  • How to make project across two DVDs with one DVD menu

    Hi!
    I’m working on a large project (3 hours of video with about 10 chapters, over 50 pictures in a playlist, and special feature chapter) and wondering is it possible to make an project across 2 or more DVDs, but to have menu only on first one? I’d like to make an project that comes with menu only on first DVD and when you click on e.g. “special features” button, then you get the message “please insert DVD 2″
    Is it possible and how to make something like that?
    Thank you!

    I would have EACH DVD begin with a menu. Somebody will insert DVD 2 first no matter how you label things.
    Yes, you are right! People just don't want to read, but I'm making an animated menu in AE and it'll take about 300MB (rendered in .mpg). That is what I want to avoid on other DVDs to save some space. You just gave me an idea so I'll make some small menu for other one or two DVDs with just a few informations about what DVD is inserted and what DVD you need to insert if you want to watch something else from that project. Thank you!
    I just have to learn better Encore and its capabilities and limitations (if I have time )

Maybe you are looking for

  • Can't get my iPhone (iPad or iPod touch) to connect to wifi

    I cannot get my iPhone 4s to connect to wifi in my home since the last two updates. It sees my network but says unable to connect. This not only happens to my iPhone 4s but to my iPad 2 and my iPod touch. Idk what else to do to get it to connect. My

  • Forums Maintenanc​e - January 15, 2008

    Hello Everyone, In my discussions with Lithium (our forum vendor) regarding performance, they have suggested some maintenance on the forums that could help with our community's performance.  The maintenance is to "trim" floated threads and boards (no

  • IOS 5 Bug: Badges on Messaging app

    We have stumbled upon a bug in iOS 5 running on the iPhone 4, in regards to the badges showing up on the Messages App. You can reproduce this bug yourself. In Settings>Notifications>Messages, set it to: Notification Center: On Show: 5 Recent Items Al

  • Issue with PDF merging

    Hi, I am doing PDF merging using using assembler. But the issue is after merging some of the fields of pdf are non editable. Can some one tell me why this is happening.

  • Budget Fails to Carryforward with Commitments (FMJ2)

    Hello, After ECC6.0 upgrade the Budget fails to carry forward with commitments through FMJ2, and the system checks for the availability in the new fiscal year. Please help! Thanks, Roman Atabekyan