How to make Settl. rule mandatory before release ?

Hi,
I have project with settlement to AUC and to the superior wbs elements. I want to have the settlement rule to be made mandatory (before Release) for all those WBS elements, where it will be settled to superior WBS elements. How to make this mandatory ? Is it possible through validations or is there any BAdI available for this ? I had checked for user exits, i could not find any suitable one.
thanks in advance.
Vinodh

Hi
1.For making settlement rule manditory, check with function module "CJPN_SETTLEMENT_RULES" and put into validation in OPSI t.code..
2. when settlement rule is created system status will be set to SETC. So while saving the project , you can check if the status is SETC or not and the throw the required error.
You can use BAdi = Workorder_update interface AT_SAVE.
For staus check you can use BAPI_STATUS_CHECK and pass Objnr of the WBS and check for SETC ( Sys Status = I0028).
try this options
Thanks
S.Murali

Similar Messages

  • Settlement rule mandatory before release of Produciton order

    Dear PP Gurus,
           Will you please inform me the way to configure settlement rule mandatory field before releasing the production order with out material.
    Thanks in advance,
    HT

    Hi Hareesh
    Go to IMG - Controlling - Product cost controlling - cost object controlling - product cost by order - period end closing - settlement - create settlement rule.
    in this select the appropriate settlement rule that u assigned to ur production order type.
    In this, in the block "Valid Receivers" for order , select "2 settlement required".
    If this is done, when u create a production order, it will ask for the settlement rule to be defined.
    Hope this is helpful to u. If so please reward points.
    Chandra

  • How to Make Settlement Rule Mandatory in Sales Order(In Acct Assigt Tab)

    Hi Gurus,
    I have a business requirement. For Free of charge 3rd party orders (yes they have FOC orders delivered by third party) the business wants to ensure that the Settlement rule should be mandatory. They enter cost center & receiver in the settlement rule.
    i.e the order should not save till Settlement rule is maintained in the line item in the Acct Assignment tab.
    Please let me know how this can be done.
    1: Applied my brains on incompletion procedure but does not seems like it can be done there.
    2: Is there something in CO where some setting can make it mandatory to enter settlement rule in Sales order?
    3: I s there any other way in user-exits or ABAP?
    4: Is there any setting in Item category(I could not locate any)?
    5: Can this be done via Requirement class.
    Please assist to resolve this one.

    Dear,
    It depends on settings in Requirement Class (OVZG) and Account Assignment Catg (AAC) in OME9
    If your AAC is E in Req Class, then your sales order is a CO object.
    Requirement Class in IMG can be checked - IMG > Controling > Prod Cost Planning > Cost Obj Controling > Prod Cost By Sales Order > Control of Requirement.
    Or any filed any you can Make mandatory through Transaction variant SHD0.

  • How can I make settlement rule mandatory in create work order (IW31)

    How can I make settlement rule mandatory in create workorder and saving without release.
    I kanow we can make settlement rule mandatory upon Release order but here requirement is
    Create work order (IW21) save without releasing that time settlement rule should default.

    Hi,
    1.If you want the settlement rule default then maintain account assignment data in technical object and when MO is created on that it would be copied into the settlement rule...
    2. If you want to make those fields mandatory .... plz check up field selections in config , if you cannot find those then use SHD0 Transaction variant to make those fields mandatory.
    3. Enter SHD0 , Enter IW31 in transaction and ZIW31 for transaction variant ..click create option and this takes you to IW31 initial screen , here enter required values of technical object etc and press enter and this gives you IW31 Initial scree screen variant , click continue and this takes you to inside screen and here enter required field values and on pressing enter gives you screen variant .. so you need to enter field values and check the flow of screen variants and on getting settlement rule screen variant select required option for the fields you need.
    4. Finally you can save that in package created in SE80 for transporting to other client .., you can activate the variant in SHD0 -->Standard variants -->you can find activate option ..
    regrds
    pushpa

  • Settlement Rule mandatory in Process order

    hai,
    How can I make the Settlement Rule mandatory while releasing a Process Order?
    Sonali

    In OKO7, select process order and in details, make the option for "ORDER- settlement required"...
    karthick

  • Settlement rule Mandatory for Plant Maintenance order

    Hi Expert!
    I want to make the option Settlement rule mandatory while creating plant maintenance order. I would really appreciate if you provide me the menu path in customisation to make this mandatory.
    Thanks
    J

    Hi Jean
    I do not think you can make it mandatory while creation itself.
    But, you can make it mandatory (Check Functions for setting order types->settlement rule....) for order release.
    Best regards
    Ramki

  • How to make a field mandatory in billing

    How to make a field mandatory in billing document,if m right with the help of incomplition log but how.....
         plz reply the full configuration.

    Hi Mohan,
    We normally create a billing document with reference any other document say Order or delivery.
    so, all the necessary information in the invoice will be taken from preceeding doucments. Thats way in the order level we check for incompletion log. If any important data is missing in the order level then the succeding documents will not be created.
    Thats way in the billing documents all the necessary information will come automatically either from preceeding documents or from master data.
    Still you want to make any field mandatory, you can do these by modifieing Billing documents user exists,you can make which ever the fields are mandatory and to be checked before saving. so when you are going to save the invoice, it will check if these fields are maintained or not.
    Hope this is clear.
    Reward if helpful.
    Thanks,
    Praveen

  • How many devices do you test before releasing your iphone app

    Hi,
    Just want to get an idea about how many devices do you test before releasing your iphone app. I am currently developing on iphone 2.5G. Do I need to test my app on iphone 3G and ipod touch? Are there any difference? My app does not depends on network speed.
    thanks,
    ff

    It's not a bad idea to test on whatever you can but it's not necessarily required. You do have to make sure you're not doing anything that can't be done on all devices. (i.e. access camera in Touch, assume GPS, etc)

  • How to make a field Mandatory in a Table view?

    How to make a field Mandatory in a Table view?
    The requirement is, the user should not be able to append a new Row, unless and untill he enteres the data in the column SOLD-TO. Now how do i acheive making this field madatory. Normally in Edit form view, we can go in customizing and flag Mandatory, for table view we don't have this option.
    Please can anyone of you guide me in this approach?
    Jagadish.G

    Hi Jagadish,
    have a look in this thread, part of the code you can use in eh_insert method or logic to write enable/disable insert button.
    Re: Assignment Block Mandatory
    regards
    Ismail
    Edited by: Ismail Shaik on Oct 21, 2009 11:36 AM

  • How to make all fields mandatory in sales order T- code VA01 initial screen

    Dear all,
    how to make all fields mandatory in sales order T- code VA01 initial screen itself
    The fields are
    Sales Organization
    Distribution Channel
    Division
    Sales Office
    Sales Group
    Regards,
    Amar Reddy

    Hi,
    You can use Transaction Variant to achieve this functionality.Please go through the following link which helps you in creating the same.
    [Link|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
    Regards,
    Phani Prasad

  • How to make Business place mandatory

    Hi, SAP Gurus,
    How to make business place mandatory in "MIRO ". As i know there are two ways
    1) Through Screen Variant T/code: SHD0
    2) Validation
    But here  i Never worked on sreen variant level and validation, I need step by step to make business place mandatory in MIRO
    bY USING ABOVE T/CODES,
    Regards,
    Prabhakar

    Hi Bhanu,
    Use T.Code GGB0 - Validation maintenance - Change Validation overview.
    Choose Financial Accounting in Application area. Select Line Item and click Validation create icon.
    Give a Validation ID BP and text Business Place Mandatory and save.
    Click Step icon - Step 01 - now the prerequisites; check and message will come in margin panel.
    Give text for the step 01. Click Prerequisites. You can see the Table Fields  Structure BKPF, BSEG, and SYST.
    If you double click on this you view individual fields relating to these master tables.
    Your prerequisite may be like this :
    Company Code is = XYZ ; T.Code = MIRO & F-43; Posting key = 31 ( Credit Vendor)
    Double click BKPF > double click  BKPF-BUKRS>  click "=" >  click constant > a pop up box will open
    here fill up your company Code XYZ.  This will automatically come in the top box.  Click "AND". Now  there is a back arrow
    button in the table field panel and come back to the original display of master tables.  Here double click SYST
    Click SYST-TCODE > click "=" > click Constant > in the pop up box enter tcode MIRO. If you want to add F-43,
    you have to click "AND" after this and repeate SYST-TCODE = F-43. Now click back arrow and double click BSEG and
    click BSEG-BSCHL > Click "=" > Click Constant > in the popup window enter 31 and save the prerequisites.
    (For the above requisites, the system will check if  Business Place is 1000 is filled up during transaction and if not it has to
    give a error message.)
    Now Click Check in the right margin below prerequisites menu. Again the table list will be seen with BKPF, BSEG and SYST
    Double click BSEG > click BSEG-BUPLA > Click "=" > Click constant and in the pop up box fill the business place 1000 and save
    the check menu.
    In the right margin now double click message.  Here you can create a message text of your own "Business Place mandatory"
    Save the Message and come back and finally save the Validation so created.
    Now use T.Code OB28 and enter your Company Code > give call point 2 > and Activation level 1 and save the entries.
    Now you can check for the transaction in MIRO where without filling the Business Place field you cannot save the entries.
    Hope the above steps will be clear for you.  If you have any doubt please revert back.
    Best Regards,
    Sadashivan

  • How to make relationship block mandatory?

    Hi,
    Please let me know how to make relationship block mandatory to create a business partner?
    Vinay

    Hi Vinay,
    Did you try to set the flag mandatory in the configuration of the relationship view for a field (e.g. relationship).
    Just go to the view in the component workbench, select your configuration, mark a field and go to Show Field Properties.
    Hope this helps.
    Regards, Thea

  • How to make characteristic as Mandatory

    Dear All,
    In Batch Management, for a class, how to make particular characteristics as a "Required Entry".
    In class, I can see "Required Entry" check box, but it is greyed out. How to make it as Mandatory.
    Because, we have maintained "LOBM_HSDAT" characteristic for a class.
    But while doing MIGO and MB1C, it is not asking to Manufacturing date.
    Please let me know how to make it as mandatory field in a Class.
    Regards,
    Mullairaja

    Not sure this would help you but you can try,
    In t.code CT04, enter the characteristic LOBM_HSDAT and click on change button. Go to basic data tab. Check the box required entry, which you can find on the right hand side and then save. Test again. You must also test in t.code MSC1N apart from MIGO.
    MullaiRaja, I must take a step back. The above solution proposed will not hold good for MIGO. To force the user to enter the manufacturing date/expiry date, then in material master ->Plant data/Stor.1 view, maintain the settings for min.shelf life, total shelf life and Period indicator for SLED. If these data are maintained, then when the user does MIGO and if there is no batch master already maintained, then the system will force the user to enter the manufacturing or expiry date.
    Regards,
    Edited by: Shiva Ram on Jan 5, 2011 11:27 AM

  • How to make a checkbox mandatory

    Hello,
    I created  a checkbox where I want the user to check that they have read and acknowledged a privacy statement.
    I am curious how I make the checkbox mandatory, as I dont see an option in the Object Pallete.
    Thanks in advance!
    Nik

    Write the following line code on initialize event of the CheckBox to make it mandatory.
    this.mandatory = 'error'
    Nith

  • How to make a filed mandatory of an editable ALV

    Hi Guru,
    Pls tell me how to make a filed mandatory of an editable ALV so that while a new records is inserted the mandatory fields are filled.

    hi,
    You can make fields as mandatory fields using data changed event.
    validate the entered or blank entries of a column in data changed event and call method 'add_protocol_entry' to raise errors.
    Check the program : BCALV_EDIT_03 & BCALV_EDIT_04for more details.
    Refer to this link....
    about field in alv
    obligatory field editable in ALV

Maybe you are looking for

  • How to encypt a .txt file and how to decrypt a same .txt file when i need

    My requirement is i want to encrypt a .txt file and keep it in some folder. In that file we put database connection information. when ever we need that file we have to access it and decrypt it. with that decrypted values we have make connection with

  • How do I set the charset in robohelp?

    I have to edit a Polish help file but Robohelp change the charset of every topic I edit from charset=windows-1250 to charset=windows-1252 Resulting in the Polish characters not being displayed properly. charset=windows-1250 is for Belarusian, Croatia

  • ARD Admin problem

    I'm running ARD 3.4 in a school with 26 iMacs from early 2006 in a lab. Everything was working fine until I had to replace two machines due to hardware failure. I replaced them with the same model computer, restored them from the same image that the

  • Can sorting facilty in internal tables can be used on char fields?

    Can sorting facilty in internal tables can be used on char fields?

  • Caught out by iMovie '08 downgrade  -- what can I do?

    Hi, a short while ago I bought a 24" iMac, largely because of the iLife suite, and in particular because my teenaged son is getting more interested in media production. iMovie is what he is using at high school for his work. Well, it has come to proj