Manual Creation of CVCs with rules

Hi,
We would like to apply some rules in our case which should restrict the creation of the CVCs in APO DP.
Example rule:
A material can only be sold to a particular customer only. If the planner would attempt to create a CVC for the same product and another customer then the planner  should receive a message that he is not allowed to create this based on an existing  rule.
How to achieve this in APO during the creation of the CVCs
Thanks

Hi,
     You can achieve this using BAdi which will get triggered when you will create new CVC using tcode /sapapo/mc62.
/SAPAPO/SDP_MASTER    - Enhance characteristic value combinations
/SAPAPO/SDP_PLOB_GET- Determine Characteristic Values Combination
Documentation is available for both the above BAdis.
In the first BAdi you can do all the checks before saving the newly created CVC in the infocube.
I hope this will help you to achieve this.
Regards,
Saurabh

Similar Messages

  • Automatic Filing With Rules - Long

    This is a long post, sorry, but I think the details might be worthwhile for someone who might be like me and wants to automate their mail processing as much as possible. I do have a question below about how I might better configure some rules, and about whether I might be able to streamline my workflow.
    I spent all day yesterday and most of the day today reorganizing my mailboxes, rules, smart mailboxes, etc., to clean up all my mail. I have messages dating back to 1999, and since I basically just color coded everything with rules, rather than filing messages in mailboxes, my inbox and sent messages were starting to approach the 2GB limit. Some of the earlier messages came straight from Claris Emailer (talk about old school), and then through all versions of OS X Mail from 10.0 to the current 10.4.9. It's easy enough to move stuff from my inbox into a new mailbox, but not quite as much so for sent messages. It made searching more difficult, and it is still a manual process.
    Because I have so many messages (about 10,000 in total), I didn't want to have to manually go through everything to move them into separate organized mailboxes. So I created a whole new set of rules to make the filing as automatic as possible, and to keep it relatively automatic in the future. Of course rules can't catch everything, but doing as much as possible automatically, then letting me sort through what's left is certainly preferable. Unfortunately, it's taken so long to figure out because of Mail's completely inadequate rules for filtering and smart mailboxes. I poured through this forum looking for solutions to the various roadblocks I hit along the way, and I thank all of you who are very knowledgeable and have posted helpful replies to other people asking questions. Below is the best solution I've been able to come up with, and I'm certainly open to any suggestions to make the rules less risky and streamlined. I realize that AppleScript could probably make a lot of these things easier, or some of the shareware programs out there, but while I consider myself a very adept power user, I can't write scripts, and I prefer to keep add-ons to a minimum.
    The first change to my account settings and such was to enable the "Automatically CC myself" option. This is the only viable way I can find to process my sent messages without having to manually apply rules after the fact. I am aware of Andreas Amann's "Filter Sent Messages" AppleScript. I tried it out, but it was constantly choking on all my sent messages. I suppose it would work ok now that I have my sent mailboxes cleaned out, but I think I prefer the CC option because it assures that I have copies of all my sent messages at both my home and work computers. I also installed MailEnhancer to make sure that Mail's dock badge counts all unread messages in any mailbox, not just the Inbox. Now the fun stuff begins.
    First of all, I want to state that since my goal here is to stay away from the mailbox size limit (and also to speed up day-to-day use of Mail), smart mailboxes aren't really an option. I need my messages sorted to "real" mailboxes for their long-term storage. Also, simply dumping mail into yearly archives can be a big hassle too, because I have several projects/mailboxes/whatever that may not have a ton of messages and shouldn't really be split up arbitrarily by year. Thus, the main focus here is on rules. I have two primary e-mail accounts, home and work, that I check regularly from both locations. I have my home mail broken down into categories like bicycling notices, family, apartment landlord, photography side business, and streetcar/railroad website. I also set up mailboxes for miscellaneous stuff that doesn't fit into those categories. For work, I have several mailboxes for project specific correspondence, office-wide e-mails and announcements, office computers, our website, and again miscellaneous.
    Here's the other big paradigm shift. All these mailboxes contain both sent and received mail. This is especially valuable for the project work, because you can quickly look at the list of messages and follow the back-and-forth conversation. I originally started out having "sent" and "received" mailboxes for each project and other category that I've already listed, but when they're open it triples the size of the directory tree. Since there doesn't appear to be any way to make a mailbox/folder display all the messages contained inside its subfolders, I don't see much point in making a whole bunch of subfolders for that since I'd constantly have to open and close folders to get at anything. Also, with a more flat structure, I can quickly and easily see what unread messages are for what projects, and that also tells me if the rules are working well.
    So how do I differentiate sent versus received easily? The first rules I set up are to color the background of all messages that come into my home account. This would apply to all messages that come in to that account, whether it's one of my sent message CC's or not. The next rule catches the sent messages by looking to see if the account and the from address match. In that case it colors the message subject text, marks the message as read, and also flags it. Flagging is necessary to create smart mailboxes down the line that can differentiate between sent and received messages, since there's no facility for using the color of a message as a condition in a rule or smart mailbox. These two rules are repeated with different colors for my work account.
    Since none of the rules have moved any messages yet, further rules are free to process them. Basically I have one rule for each mailbox with various amounts of "any" criteria. For most situations it's pretty straightforward, but I have run into some difficulties with Mail's anemic rules. For example, for my family mailbox, I set a condition where "Sender is member of Group" "Family" that I set up in Address book. So far so good, but since I want this to grab sent messages to family as well, I need an "Any Recipient is member of Group" condition, which doesn't exist. The only way I can see to do this is to manually add all my family members' individual e-mail addresses as separate "any" conditions. That would make the rule look like this:
    If "any" of the following conditions are met:
    "Sender is member of Group" "Family"
    "Any Recipient" "Contains" "[email protected]"
    "Any Recipient" "Contains" "[email protected]"
    "Any Recipient" "Contains" "[email protected]"
    "Any Recipient" "Contains" "[email protected]"
    etc.
    Perform the following actions:
    "Move Message" to mailbox: "Family"
    Of course, what it SHOULD be is this:
    If "any" of the following conditions are met:
    "Sender is member of Group" "Family"
    "Any Recipient is member of Group" "Family"
    Perform the following actions:
    "Move Message" to mailbox: "Family"
    This one is tripping me up a bit, and I'm not sure how to use address book groups effectively for sent messages. This is also an issue for some of my work project e-mails, since conceivably I'd be sending messages to and receiving messages from the same group of people. For larger projects, my list could grow enough to where I can't add anymore conditions to the rule, which I know is a well-discussed bug (or lack of good coding anyway). Nevertheless, it seems that in order to capture a message with a specific e-mail address, I need to have two conditions for each address, one "from" and one "any recipient". That kinda stinks, and I'd like to find a better way to do it. Any ideas?
    Right now my last rules are to clean up any messages left over that the other rules didn't catch. It makes the color a bit darker and moves the messages to the appropriate "other" mailbox for that account. This ensures that my inbox is always empty. It also keeps my sent mailboxes cleaned out as well. Since I will get CC's of all my sent messages, I can just change my account preferences to delete sent messages after a day or a week.
    That's it for the heavy moving and lifting. With a few of my extra accounts that don't need any special filtering and moving around, I was able to accomplish this with about 30 rules. There's 2 rules per account at the top of the list to color and flag incoming and outgoing messages, and two rules per account at the bottom of the list to file any messages that don't meet the criteria for any of the other mailboxes. All the actual filing away into specific mailboxes happens in the rules in the middle of the list. What I really need to do though is figure out a way to simplify some of the conditions in those filing rules, like the family issue I mentioned above.
    I have set up a few smart mailboxes to display all my unread messages, recent received mail, recent sent mail, all recent mail, all received mail, all sent mail, and all mail. The "All Mail" mailbox's criteria are just that the message is not in one of my junk mail folders. This is my fail-safe, since even if something is mis-categorized or even unfiltered, I will still see it here. "All Sent Mail" collects all messages that are flagged. Flagging is the only way I can find to view just sent messages without having separate "sent" subfolders in all mailboxes. A benefit to doing it this way is that if I add or change any of my hard mailboxes, I don't have to edit the smart mailbox to keep it current. I can hid the flag column and it won't reappear by itself, so I don't have to see the flag. "All Received Mail" is the tricky one. As mentioned elsewhere on the forum, you can't set up a smart mailbox to get messages that are NOT in another smart mailbox. This rule needs to include all messages that are not in the "All Sent Mail" smart mailbox or any of my junk folders. I tried the trick at first where you pick "Message is in Mailbox" and then select your smart mailbox, then go back and change the criteria to "Message is not in Mailbox". When I'd close the rule though, the smart mailbox I chose in the pull-down menu would change to a different one, and the logic would fail. I got it to work by trashing my smart mailboxes .plist file and just remaking them. That did the trick. The rest of my smart mailboxes just add a time limit to their list of criteria to keep the list shorter, and the unread smart mailbox is self-explanatory.
    So what these smart mailboxes do is they let me see anything from just my unread messages to every single message I've ever sent or received in one window. They're all colored accurately and sortable by sent versus received. If I keep my "Recent Received Mail" mailbox as the active one, it looks just like my inbox did before I changed all this stuff around. The only difference is that this particular mailbox automatically displays only messages from the last 3 months, and I don't have to manually clean it up every so often. This makes opening mail itself and navigating recent messages quicker. In the end, I can still see the messages the same way I always have been, but since they're all stored in different hard mailboxes I'll be able to avoid the 2GB limit by keeping everything well categorized. Nevertheless, the logic required to make this all work is quite cumbersome, and I worry about it not working correctly down the road as Mail is updated. I'd appreciate any thoughts you all have on making this work better, and about my family rule problem.
    Thanks all

    > As to marking sent messages versus received, if you didn't do that,
    how would you be able to tell them apart easily?
    It’s the need to tell them apart that I don’t understand...
    You'd want to be able to tell them apart for the same reasons
    you'd want to tell anything apart.
    But I can already easily tell them apart without having to tag, colorize, or store them in separate mailboxes, so why waste an attribute of a message to store redundant information? It’d be better to reserve that attribute for storing information that cannot be made readily available by other means, e.g. subjective properties such as the importance of the message that you mention.
    One instance I can site is if someone asks "did you send me such-and-such?"
    In that case, I can, for example, type the first letters of the name or address of that person in the search box, then click All Mailboxes and To in the banner that appears between the toolbar and the message list. Mail shows me what I’m looking for without me having to leave the mailbox I was looking at nor wonder on which specific mailbox are those messages actually stored. Having all those messages tagged or colorized the same way would be useless or even distracting/annoying.
    Unless you have a specific mailbox for storing only the correspondence with that person AND you can easily locate and select that mailbox amongst all the other mailboxes, I don’t see how could it be more convenient looking through a mailbox where messages can be told apart based on whether they’re sent or received but not on who sent/received them...

  • Creation of PO with referance to PR

    Hi,
    I have one requirement,
    Creation of PO with referance PR,but the condition is
    1.It should take the qty from PR
    2.Price should from PIR
    3.This requirement is specific to one Document type ,PR has been created fro MRP and then need to convert the PR to PO.
    I tried with Functional authorization,it is working fine but it is having effect on other document types also.
    Can you please suggest me is there any User Exit available for this.
    Thanks In Advance.
    Jagadish

    Hi
    First configure Release Statergy such that All PR's generated from MRP should be converted into PO  with out Release Procedure  and Other manually generated PRs should be converted in to PO after Release Procedure only......( For that you have to create Doc.type as a one charecter....Table: CEBAN...Field: BSART  and MRP generated PRs should have one document type and Other manually created PRs should have diff. Doc. type)
    Then follow the below steps..
    1)In Material Master,Purchasing view....you maintain Purchasing Group and Check Auto PO Check Box.
    2)In Vendor Master,Purchasing Date view Maintain Purchasing group and check Auto PO Check Box..
    3)Maintain Proper  PIR with Valid Conditions
    Then after creation of PR from MRP...assign source for the PRs IN ME57..
    If you configure release Statergy  such that PRs generated thro MRP need not under go Release procedure ....then go to T.Code: ME59  and convert all PRs in to PO...
    In this way without having any user exit you can solve your problem...We are doing in this way only..
    Reward if useful
    Regards
    S.Baskaran

  • Manual creation of planned order in REM

    Hi, 
    Can we manually create a planned order in repetitive manufacturing? I know that in case we run MRP , then planned order for finished is created with order type 'PE' due to which it cannot be converted to production order.
    I dont want to run MRP , still can i create a planned order manually with the same order type 'PE' ? I tried in MD11, but not getting option to chose PE as it is not available  in F4 of planned order profile.
    Please help..
    Regards.

    Dear,
    You cannot create a planned order with PE order type manually, because a planned order of REM related material gets order type "PE" only when it is assigned with a Production Version.
    So achieve manual creation of REM Planned order with PE type with the following options,
    I - Using MD11 transaction create a planned order with LA type and assign a suitable REM related Production version to the planned order during creation itself, now this order would automatically become "PE" order type on saving the order.
    2. In the planning table using MF50, you can directly create a planned order for a production line using F7 key.
    Regards,
    Prasobh

  • Not scheduling on manual creation of planned order

    Creating planned order through MD11 and noticed there scheduling not done and capacity planning not done and on doing scheduling manually dates altered and capacity planned which are appearing in CM01 for the respective week
    Planned order created through MRP are fine with scheduling an capacity planning .
    Please let us know what could be a reason for not updating on manual creation.

    Hi
    This is standard behavior of SAP as when you create the planned order through MD11 manually , you need to do the detailed scheduling manually by executing schedule in Edit>Schedule.
    Check this thread:
    Need Automatic Lead-time scheduling in Planned Order using MD11
    Regards,
    Anupam Sharma

  • MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)    -   NOT TO BE ALLOWED

    MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)   -  NOT TO BE ALLOWED while creation of Process Orders.

    Hi,
    Check t code OMCZ whether internal Batch no assignment is active or not.
    From F1 help
    In this step:
    you activate internal batch number assignment
    you define whether internal batch number assignment is allowed for goods receipts that have an account assignment
    Standard settings
    The standard version of the SAP system contains a predefined number range.
    Further notes
    Batch number assignment uses two function model exits with which you can define templates for batch numbers. You make the necessary settings in work step function module exits for internal batch number assignment.
    The system checks whether the assigned batch number already exists in the system. Should the number already exist, the function is terminated.
    When creating a client by copying another client, please note that internal number assignment is not active in the target client. You must activate it manually.
    Regards
    Anupam Sharma

  • Need to generate multiple error files with rule file names during parallel data load

    Hi,
    Is there a way that MAXL could generate multiple error files during parallel data load?
    import database AsoSamp.Sample data
      connect as TBC identified by 'password'
      using multiple rules_file 'rule1' , 'rule2'
      to load_buffer_block starting with buffer_id 100
      on error write to "error.txt";
    I want to get error files as this -  rule1.err, rule2.err (Error files with rule file name included). Is this possible in MAXL? 
    I even faced a situation , If i hard code the error file name like above, its giving me error file names as error1.err and error2.err. Is there any solution for this?
    Thanks,
    DS

    Are you saying that if you specify the error file as "error.txt" Essbase actually produces multiple error files and appends a number?
    Tim. 
    Yes its appending the way i said.
    Out of interest, though - why do you want to do this?  The load rules must be set up to select different 'chunks' of input data; is it impossible to tell which rule an error record came from if they are all in the same file?
    I have like 6 - 7 rule files using which the data will be pulled from SQL and loaded into Essbase. I dont say its impossible to track the error record.
    Regardless, the only way I can think of to have total control of the error file name is to use the 'manual' parallel load approach.  Set up a script to call multiple instances of MaxL, each performing a single load to a different buffer.  Then commit them all together.  This gives you most of the parallel load benefit, albeit with more complex scripting.
    Even i had the same thought of calling multiple instances of a Maxl using a shell script.  Could you please elaborate on this process? What sort of complexity is involved in this approach.? Did anyone tried it before?
    Thanks,
    DS

  • Is BDC's CALL TRANSACTION 'VA01' is not equals to ONLINE(manual) creation?

    Hi Experts,
    Ours is IS-Oil.
    If the user do not enters/inputs OIC_MOT (Mode Of Transport) at ITEM level on the External Details popup, SAP will get it from Customar Master-KNA1 and populates on it, because its a mandatory field (OIC_MOT), but, do not throws an Error message and interupts the sales order creation process.
    We have a inbound IDOC posting function module for sales order (VA01), which posts the sales oreders by using BDC (CALL TRANSACTION 'VA01') in the system. In this function module, we are not populating the OIC_MOT field contained segment by hoping SAP will populate/default it while it hits CALL TRANSACTION 'VA01' of my BDC of my FM of IB IDOC. But, SAP is not defaulting/populating and throwing error message (saying 'OIC_MOT field is a mandatory input field' data is missing) and IDOC is failing, pls. let me know Wht its so? is the BDC's CALL TRANSACTION 'VA01' is not equals to ONLINE (manual ) creation of sales order?
    Thank you

    Hi
    Several transactions can ba a different behavior between online and bdc process, but if you simulate the trx by SM35 you should find out these gaps
    I don't know OIL vertical, but the main transactions have a bapi can be used insted of BDC program (BAPI_SALESORDER_CREATEFROMDAT2, but perhaps there's a particular BAPI for OIL).
    Max

  • Is there a way to prevent iCloud from duplicating songs downloaded if I manually sync my iPhone with my PC?

    Is there a way to prevent iCloud from duplicating songs downloaded if I manually sync my iPhone with my PC?

    You can avoid duplicates by only syncing with iCloud (Wi-Fi) or iTunes but not both.

  • Creation  of PO with reference only

    Dear Fiends,
    Can anyone explain,how can we make creation of PO with Reference to PR mandatory for Certain documents types of PO.
    Regards
    SAPMM

    Hi,
    Copy the field selection key NBF(Define screen lay out at document level in spro>Matmgmt>Purchasing>Purch.order>)
    In new field selection key go to reference data item and make mandatory to PR
    Define some PO document type and link this New field selection key at "define document types"
    Regards,
    Sattuj

  • Check on Manual creation of PM order

    Hi,
         I have a business requirement that the manual creation of a particular order type should be stopped i.e. when i am going to create that order type through IW31 or the generation of that order type even through a notification should not be possible.The  system should not allow that.Pls. reply.
    Edited by: ind kumar on Aug 4, 2011 3:07 PM

    Hi
    Please use the user exit IWO10009.
    we can add the condition that the field "Order Category Indicator Plant Maintenance"-AFIH-AKKNZ has below values, you can restrict them to create manualy.
    "Category
    AFIH-AKKNZ"     Short Descript.
    blank     Order created online
    1     Order created historically
    2     Order created subsequently
    3     Order from notification
    4     Order from maintenance plan
    5     Order from reference
    6     Follow-up order
    7     Generated order from IM_SM_CREATE_ORDER
    8     Order for an SD service item
    9     Order for an SD repair item (RMA)

  • Inspection lot creation during GR with respect to Purchase Order

    Dear Experts,
    Here is my Question
    Inspection lot creation during GR with respect to Purchase Order
    Inspection type 01 set in the material master
    inspection lot will be created during GR for a Purchase order
    from my understanding for every GR a inspection lot will be created
    No batch Management
    but the requirement is irrespective to GR qty and number of times of GR
    we need inspection only one inspection lot
    For Instance
    There is a PO for 1000 kg no batch management
    now i do GR for 100 kg for 10 times with different dates
    now i need to have only one inspection lot
    not 10 inspection lot for each 100 kg
    can any one suggest a solution, please advise my understanding is correct
    Many thanks
    Raj

    Dear Raju,
    There is a solution for that .The setting can be done two ways, either in the material master or in the configuration
    1) Material Master
    MM02> QM View> Inspection Setup> 01> Control Insplot> 'X' An inspection lot for each purchase order item/order item 0r  An inspection lot for each material document and material
    a) 'X' An inspection lot for each purchase order item/order item
    This Means
    This setting is limited for use with the inspection lot origins 01 and 04.
    An inspection lot is only created during the first goods receipt for each PO item or production order.
    b) '1' An inspection lot for each material document and material
    If you set this indicator, the system creates only one inspection lot for a material document (in a goods receipt transaction) for each material. This setting is useful, if several purchase orders or partial deliveries are processed for the same material in a goods receipt transaction.
    2) You can do this default in the config
    SPRO > Quality Management >  Quality Inspection > Inspection lot creation >  Define Default values for inspection type > 01> Control Insp lot
    Hope this helps
    Regards
    gajesh

  • Creation of Applicant with Refrence Emplyee

    Dear Experts,
    I am new to HR module, there is a requiremnt where in I have written a report to create applicants using the standard BAPI
    BAPI_APPLICANT_CREATE by giving the required parameters.But for creation of Applicats with existing employee refrence I was not able to find a parameter where in we can pass the reference employee details to the BAPI. If the BAPi which I have used is not the one by which I will be able to create Applicats with refrence employee details kindly suggest another BAPI or a Function module.
    Thanks & Regards,
    Murthy.

    u can also use HR_MAINTAIN_MASTERDATA Tclass u can maintain as B.

  • Creation of IBASE with the XIF adapter

    Hello,
    I am trying to create IBASES using the XIF adapter (LSMW). The actual creation of the IBASE is no problem, but creating an IBASE with a partner + address connection seems not to work. In HELP.SAP there are examples of IBASE craetion with components but not with partner relationships.
    What do I need to fill in the E102CRMXIF_IBASE_PARTNER structure, does anyone have any documentation on this subject?
    Thanks advance!
    Arjan.

    Hi Arjan,
    Do you have any documentation of this process 'Creation of IBASE with the XIF adapter'. Please post it.
    Thanks in advance.
    Sameer Ahamad

  • Creation of CVC

    Hello All,
    I am struck in creation of CVC.
    I have suucessfully loaded the data from file and I am able to see the data in info cube by selection of "display data in info cue"
    But I am not able to create CVC in MPOS. I get message "No new characteristics combinations were loaded"
    Please tell me what shall I do ?
    I am able to create single CVC.
    Thanks a lot in advance
    Prabhat

    Dear Prabhat,
    please check the date for the data in the cube. This date has to be included in the horizon of the variant you use for generation of CVC's. 
    You can do it as follows:                                                                               
    1.) Enter txn /n/sapapo/mc62                                          
    2.) choose MPOS
    3.) click "create characteristic combinations"                        
    4.) click "generate in background"                                    
    5.) Load from infoprovider and choose the cube                     
    6.)Make sure that date in cube is included in the horizon         
        -> Double check if CVC's are selected by clicking "Number of hits"
    7.) fire                                                              
    I hope this will help.
    Regards,
    Tibor

Maybe you are looking for

  • How to Change Finder Settings in All Windows?

    Hi All, Similar to the original post found here:  Re: How to Change View Options for ALL Finder Windows? I'm trying to change my finder settings across all finder windows... I tried the solution posted in the above thread but get this message in term

  • High process while running itunes on win7 64bit

    since i update my ituns i have problem with it i have high process while running itunes on win7 64bit in my laptop and also i have backup problems what should i do i see a lots of user on win have same problems as me i have removed it and reinstall i

  • Hard disk w/ invalid node structure - Disk Util Repair fails

    I have a 15" MacBook Pro that started having problems when software installs were run on it. It came back with out of disk space on volume ("null"). I ran Disk Util after booting off my OS X install disk. I get the following: Verify and Repair disk "

  • Please help me! JSP image upload + TOMCAT

    hello i hope someone hear me, my problem is after i upload an image in my application. i upload successfully because it to the "res" directory, i see it is there but i can not display it until i restart the server. <img src="resim/<%=ddbresim%>" widt

  • USB Hard Drive Size Limit

    Is there a TB size limit for external HDDs connected via USB on a mac? I have both a 3 TB and 4TB external 3.5" drive that will not mount via USB. They are currently connecting via a hdd dock (with USB 3, FW, and ESATA ports) to a 2009 Mac Pro runnin