MA collection validation

Hi,
We are using Sourcing 7. We have a requirement where we have to load contracts into the system as part of data migration. As soon as the contracts are loaded the contracts should get published to ERP.
To achieve this I have created a collection validation script at Master agreement class level and put the target as 'MA_LINEITEMS'.
As soon as we are loading the MAs through workbook, once the import is successful, the auto publish script will get fired.
My problem is that the script doesn't get triggered after every import of the contract data. Sometimes, it does, sometimes doesn't. I have checked the NWA logs too but haven't seen any errors.
Any pointers will be appreciated.
Regards
Moumita

This is resolved. There was no issue in the script.
Regards
Moumita

Similar Messages

  • JDev11g: ADFBC EO "collection" validator - anybody have this working?

    Hi gang
    I'm having a play with the new ADFBC entity object "collection" entity-level validator in JDev 11g as described in the Fusion Dev 11g guide section 7.4.14. Has anybody got this working? I can't seem to get any accessors or attributes to appear in the relevant poplists for this validator, even though I've created an accessor between my 2 EOs. I'm thinking I've done something wrong here.
    Regards,
    CM.

    In order for it to appear in the list of Accessors the Association between the EOs must be defined as a Composition Association.
    Penny

  • How to Use the Average, Count, or Sum to Validate a Collection

    hi guys ,
    can any one help me with the following problem .
    I want to use count function in business rules for the validation of entity objects .
    I am new to ADF BC .
    and i am not understanding what are the appropriate accessor and attribute for the validation for "COUNT" operation.
    regards
    Sourav.

    you have to use collection validator.. for that..
    click the entity.. go to business rules tab... select entity validator.. then you will find collection validator..

  • Entity level validation

    I have a requirement where there are two entities in a master detail relationship (A and B respectively linked through entity association)
    EO A has a field called TotalQuantity (master)
    EO B has a field called Split Quantity (detail)
    The total quantity in the EO A to be split in the EO B, whereas the totals of the splits should equal the Total quantity of the EO A.
    Can anyone suggest how to achieve this consistency by using an entity level validation.?
    Please note that the EO A will be created and committed first, then only the child records are created(EO B). Both are not created and committed together.

    for the sales Quantity you can have a validation on 'SalesQuantity' as 'Compare Validation' against the ViewAccessors attribute in the EO. operator as less than or equal to
    for Entity you can have a 'Collection Validation' with the operaiton as 'Sum' with 'Equals' operator against the ViewAccessors attribute in the EO

  • Validation data extraction

    Hi,
    I have enabled 'Collect Validation Statistics' in the validation transform but i do not have media/flash player so Data Validation is not displayed on the MC.
    Is it possible to retrieve the data statistics from some where else?
    Appreciate your help.
    Arun

    Thanks Michael, i will check the reference guide.
    In my case, both the input and output files are flat files. Though repository is in SQL, i am not writing any output there.
    In that case does querying database helps? It has to write in some tables or files outside database right?
    regards,
    Arun

  • Line Item Validation

    ESO Experts,
    I have this particular requirement to make the location field as blank during Add Line Item (not during Add Material). I have already tried following logic on:
    Collection validation - Target - LINE ITEMS
    Validation Life cycle - Target Validate.
    Iterating through each line item I am checking if Location has value then make it null. But there is a standard validation on Plant field  which runs first and throws an error before the script runs:
    "The selected plant location does not match the location of selected for this line item"
    Your help in this will be highly appreciated.
    Best Regards,
    Adarshpal Brar

    Hi
    Unless you have written a custom code, Location is picked from enterprise default location and not user profile. Kindly verify.
    In either case initially Location field in the header tab would be  pre populated once you create the document and then when you create line item, it would pick up the location from header location field.
    Posiible solution would remain the same that you leave the Location field in the header tab blank. This would, in turn make sure that when you create a line item no location would get added by default.
    Regards
    Mudit Saini

  • Scripting: Collection object members are null?

    We are trying to validate the contents of a collection, and are having difficulty accessing individual members.
    We have tried both using the iterator
    Iterator iterator = collection.iterator();
    while (iterator.hasNext()) {
    Object element = iterator.next();
    throw doc.createApplicationException("test",element);
    And the .get() method of the collection variable that is supplied.
    int i;
    for (i=0;i<=collection.size();i++) {
      throw doc.createApplicationException("test",collection.get(i));
    collection.size() shows that we have 2 members in the collection, but looping through them appears to return null objects.

    We are simply writing a collection validation script in the E-sourcing web interface, which use Beanshell. No tool per se.
    I tried this syntax and I still get an error on the line
    fieldX = member.get(fieldX);
    internal Error: null variable value
    The complete code is
    iterTest = collection.iterator();
    for(member : iterTest){
      fieldX = member.get(fieldX);
      System.out.println("FieldX: " + fieldX);
    collection.size is 2, so I know there's something in there.

  • How to get a notification or an alert in the workbench

    Hi Experts,
    I am creating 2 schedules,one to be completed on 1stAug and other on 2ndAug,where the 1st one depends on the other.
    Now my requirement is that , If the approver forgets to approve on 1stAug,he should get a notification or an alert or an e-mail on his workbench for the incomplete task on 2ndAug also.
    In my case ,even after keeping the dependency , I am getting a notification for the task which is not yet completed that is scheduled for 2ndAug.
    Any help would be appreciated.
    Thank you.

    Hi vaishali,
    you can set up the rules of your requirements via scripting code :
    Scripting Context:Collection Validation
    Class:  ???
    Target:SCHEDITEMS
    KR,
    Anacia

  • Partner functions (R/3- CRM) based on employee number (KNVP-PERNR) or CP

    Hi all gurus,
    I am trying to replicate an partner-function base on personnel number/employee number for customers from R/3 to CRM.
    For those partner-functions only the employee number is filled in KNVP-PERNR (the KNVP-KUNN2, KNVP-LIFNR and KNVP-PARNR are empty).
    If I follow the replication process I don't see the employee number getting mapped to the "bapimtcs structure" (in function module COM_BUPA_MWX_CREATE_REL) and therefore those partnerfunctions are not replicated to CRM.
    (all employees are entered in HR-R/3 and downloaded to CRM as business partners)
    Basically this is exatly the same situation described in the following forum:
    [Replicate partner functions (R/3->CRM) base on employee number (KNVP-PERNR)  |Replicate partner functions (R/3->CRM) base on employee number (KNVP-PERNR)]
    What (function modules/configuration) is necessary to get those partner-functions being replicated to CRM?
    Unfortunately I was pretty unable to collect valid solution track.
    Thanks in advance,
    AndreA

    Hi Andrea,
    We were able to solve the exact same issue.
    Here are steps used by us to fix the issue :
    IMG Settings in CRM :
    SPRO>CRM>Basic Functions>Partner Processing> Date Transfer>Distribution of Partner Functions from SAP ECC into CRM>
    Partner Function = VE
    Funciton = Employee  Responsible(00000014)   ( can be any other partner function which is a employee)
    Usage= CRM
    Also make sure the following settings are also done
    SPRO>CRM>Basic Functions>Partner Processing> Date Transfer-->Distribution of Partner Functions from CRM into SAP ECC
    Funciton = Employee  Responsible(00000014)
    Partner Function Cat = Employee
    Scenario = CRM
    R/3 func = VE    ( even though you are using the PE partner function in ECCwe use VE here as you know VE is the german  version of PE)
    Type = MR master record
    Also make sure that SAP Notes 1020514  and 1099363 have been applied in ECC.
    Let me know if you have any issues. This should fix it.
    Thanks
    Edited by: Venkat_30 on Dec 14, 2011 5:15 AM

  • Ignorant & SOA approach

    Hi,
    Sorry for being ignorant and still studying how to make the integration between JD Edwards EnterpriseOne (9.1) with other applications using SOA approach. I have some questions that I received from my client, I appreciate if some can help me answering these questions, i need to know if JDE integration is supporting the following:
    1. Windows Communication Foundation (and if not, can we develop a new web-service “WCF using .NET” and then call standard JDE services from within).
    2. Protocols such as http, and TCP/IP
    3. Encryption
    4. Compression
    I am trying to read some documents that I did downloaded from the KZ, but it will be great if you can refer me to JDE documentations or guide as a start to help on understanding the SOA in JD Edwards.
    Appreciate your help, thanks in advance

    Hi Anupam,
    My company has a major revenue system we developed in APEX using SOA approach.
    We have web-services (generated from OracleDW > PL/SQL API > JDeveloper > WS War Files > Oracle AS J2EE Container deployed).
    APEX application consumes this web-services and presents in screen for user transactions. In the APEX end we have zero tables, only packages to consume web-services and for validations.
    We use apex collections heavily. Basic working in a null-shell is to get WS > parse data into collections > user views or alters collections > validations on the changes to collections > call WS to perform DML transactions.
    This application is in production for last couple of years, and so far done millions of dollars worth transactions - no problems.
    Cheers
    Ligon

  • Spam in private message

    I have received a spam private message from a new user (you know, the usual message we normally receive via e-mail: you have a good profile get in contact with me write to me at xxxxxxx). The user appears to have posted anything in public boards.
    I would notify this to moderators but private message boadd does not offer this option so I'm writing here. I can add the user name if needed, either here o in a private message to a person in charge of the matter. It would be interesting to know if other users have received spam PMs these days.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

    I think this users found a backdoor in lithium protection and uses an automated bot. We need a PM rate control.
    Lat time I PM'd two messages in succession, I actually got a captcha challenge.
    I still don't quite get the business model of this spammer. Most likely it will end up as a confidence scam if you would reply. NI customers seem to smart for that, so what's the point? Maybe he's just collecting valid e-mail addresses of dimwits to be sold to spammers or scammers.
    LabVIEW Champion . Do more with less code and in less time .

  • Generating feedback messages on server-side vs client-side?

    Hello,
    I am maintening a client/server app (Swing client, no Web pages), basically an order processing system. The biggest part of it is to verify the conformity of orders to a set of business rules.
    As usual, some of the verification can be made early on the client-side, but most of the verification work is done on the server-side. My problem is, I don't find a very satisfactory way to generate the user feedback to be displayed to the user.
    If I generate them as Strings (or HTML Strings) on the server, where the rules are checked, this constrains the way these can be displayed on the client, and makes maintenance of the human-readable strings awkward and risky (e.g. localization, or restructuring the messages, like sorting them by severity vs by affected entity).
    If I generate them on the client, I need a class to vehicle the diagnosis form server to client, and this class and its usage tends to become awkward in itself.
    Concretely:
    The initial version generated human-readable strings on the server, which assumed the messages would be displayed as strings in a JOptionPane.
    Moreover, the logic evolved to distinguish between Info, Warning and Error messages, to be displayed in different colors of course, so the Strings evolved into HTML Strings, still generated on the server.
    Do you think this approach is safe?
    I'm afraid a simple maintenance of the strings (like, sorting the errors by severity vs by affected entity, filtering the strings,...) becomes a server-side development, which is a bit more risky (I would have to review code ownership policies, VCS and code-sharing policies,... to let less experienced staff maintain the darn error Strings).
    Moreover, if the client app evolve to display the errors in complex widgets (colors in a tree/table, with tooltips), the server-side generated HTML strings would be constraining : coloring or tooltipping Tree nodes would now mean parsing the String to extract the "error level" or the "affected entity", which is quite inelegant and inflexible.
    My current idea was then to use a collecting parameter to collect validation messages on the server, and traverse them on the client:
    I designed a naive ErrorList class, with methods such as addInfo(String), addWarning(String), addError(Strin), and the corresponding getErrors() and hasErrors()/hasWarnings() methods. I can then generate the Strings (or whatever widget fits better, such as a table) on the client side. Moreover, I can add the client-side messages to the bag...
    All nice and well, but the customer requested that the error messages be formatted such as "The profile <profile name in bold> does not allow you to order service <service name in italics>".
    To format that on the client, my ErrorList class should evolve so that for a given message, I know that the error is of type ("incompatibility between profile and service", that the service is X and the prodile is Y).
    That forces me to add in some API (shared by the client and server) the list of error types, and the data each error type requires.
    I can evolve my ErrorList API to break up messages into a DTO giving (type, affected entity, arg1, arg2,...), but anyway the server and client have to agree on what is arg1, etc... which is a hidden coupling.
    Do you use and recommend such an approach for server-to-client feedback: a collecting parameter in which the server puts the "errors", and that the client traverses to display the messages)? In particuler, isn't the coupling hard to maintain?
    Thansk in advance,
    J.

    Presumably you are not over-engineering in that you
    know that localization is a problem rather than that
    in all possible worlds in might be.I appreciate your delicate questioning... I definitely have read much ruder ways to say YAGNI to a poster...
    I do know that the customer will knit-pick to reword and reformat the messages. But I won't need to translate the messages to other locales. In that regard, I ackowledge my usage of the term localization is a bit liberal, but I think I should to extract the messages from the code, to be able to maintain them separately - keeping only experienced staff's hand in the server's core.
    That is actually my question 1): from experience, is it worth the trouble to separate code and human-readable text, knowing that the text WILL have to be maintained?
    Question 2 is about how to implement this.
    In particular, the built-in MessageFormat templating engine, though originally introduced for i18n, actually suits my needs (including MessageFormat-built messages) and developing or using any other templating engine would probably be an overkill.
    Given that there are two types of messages.
    1. Fixed
    2. Parameter driven.
    In both cases you need to return an id which
    identifies the message. The client has a locale
    specific resource source which has a matching id.
    From there a string is derived.
    If the error requires parameters then the string has
    formatting values in it and it s written with the
    returned parameters. See java.text.MessageFormat.Yes. In some cases I don't know yet whether parameters will be displayed. I can conservatively assume the message requires a MessageFormat, and give all parameters (in my case, use rname, profile name, command id, service name, order date,...), whether thay are displayed or not in the final message.
    Be warned you MUST deal with the possibility that a
    id does not exist in the client, if so have a default
    message that displays the id and any parameters.Good point.
    "The customer name field can not be longer than 15
    characters".
    In the above the "15" would a parameter.Yes. The trouble is, you have to document somewhere (Sun suggests in the resource bundle file), that for error id #123456, the number of characters in in the '{0}', or in the {6}. I don't feel confident with that (this is the "coupling" part in my question 2�).
    Thanks for your advices.

  • Carbon Footprint Inventory

    Hey, following up on the sustainability webinar on 15  February (thanks for that!):
    is there any way to get acquainted with SAP's Carbon Footprint tool?
    I.e., how is it connected to the underlying data warehouse (BW?), what are the data sources, is there a 'best practice' architecture (or not yet maybe?), how do you store and maintain carbon emission factors, where did you take these from (GHG protocol?) etc.
    I have been reading into carbon footprint estimation, and my current (non-data-warehouse) approach involves a lot of excel
    spreadsheets and a lot of manual scrolling through standard emission factors literature. I guess the big advantage of having an underlying data warehouse is a more automated and less painful data input, so I'm interested in how this actually works in the SAP methodology.
    Thanks!
    Patricia

    Patricia:
      Thanks for the feedback, and excellent follow-up questions.  With only an hour, we barely dented the surface of the business processes beneath the data collection, validation and presentation layers  (I also want to point out Jonas Dennler's contribution during the webcast). Michael should be able to share the slides, and I'm sure there are white papers on the methodologies used.
      Links you might find helpful:
    [SAP Mentor Monday page|http://wiki.sdn.sap.com/wiki/display/SAPMentors/SAP%20Mentor%20Monday]
    [Webcast replay|https://sap.na.pgiconnect.com/p85845891/]
    [Webcast chat|http://wiki.sdn.sap.com/wiki/display/SAPMentors/ChatfromSustainability+15-Feb-2010] - feel free to add comments
    I also have an MP3 audio recording of the webcast:
    ASUG member access only - [podcast|http://www.asug.com/Default.aspx?tabid=124&vp_url=http://jive.asug.com/servlet/JiveServlet/download/38-5976/Buettler_Jonas_Spath_20100215.mp3] - 44MB
    SDN upload - coming soon
    Jim

  • Toolbar Key

    Hi All
    I have created a script to export some field values from master agreement in excel format. I am trying to add this script in the script definition.Here it is asking me for Toolbar Key while giving script definition. Can anybody please elaborate what should I put here.
    Also while creating a script system gives me follwing options
    Document Lifecycle Event
    Collection Validation
    Field Validation
    Toolbar
    Field Data Edit
    I am not very sure what functionality each of these offers. Please help me with this.
    Regards
    Tripti

    Hi Tripti,
    All scripts are created in one of those six context options. So check your script and see the context it is for.
    If it is a toolbar script, then on the UI, we are required to enter the 'Toolbar Key' which should be unique and this same value is required by the excel.
    Take a look at the scripting and workflow guide on the SAP service marketplace for more details.
    Regards,
    Reshma

  • Notification or an Alert when On-Hand reduced - Help

    Hallo,
    I want to send a Notification or an Alert to the Store Keeper (User) when the Item's On-Hand qty is reached the Minimum Amount mentioned in the Item Master (General Planning).
    Please suggest me an idea/solution for this?
    Tx

    Hi vaishali,
    you can set up the rules of your requirements via scripting code :
    Scripting Context:Collection Validation
    Class:  ???
    Target:SCHEDITEMS
    KR,
    Anacia

Maybe you are looking for

  • Sub account allocation

    hi could one of the mods help with this..on BT yahoo mail i had 2 sub accounts used by my wife and daughter. when my mail moved to BT mail i gifted my daughter her email address but obviously didnt complete the process for my wifes.. i can change the

  • I can login but doesnt show any of my music

    Having trouble here ....i recently received a new note 4 phone because my 2month phone over heated & died so now im trying to load all apps & started with my spotify app,well im login & shows im login but no music none of my music.Im stuck here can a

  • Use N95 as access point and get laptop inet throug...

    Is it possible to use the N95 as an (WIFI) access point and use a laptop, a psp, an ipod touch to access the internet through 3G or even Turbo 3G? That would be really really cool! Regards Raptor

  • Any automation for output sound level conflict?

    I just upgraded my home computer to a shiny new(er) G5 iMac, running 10.5.5. I don't know which of those are the necessary conditions for a change in output sound level behavior that I'm trying to tame. I have generally kept my cordless headphones pe

  • Query on other_xml column error...

    Hello all, I am trying to run the below query to extract the outline data from v$sql_plan(querying other_xml column), but i get the below error...this works perfectly fine on 10.2.0.4 + version...but on 10.2.0.2 and and 10.2.0.1 i get the below error