Validation on Reversal date

Hi,
For accrual entry I am using spreadsheet and uploading. In the spreadsheet, in the "Reversal date" field, even if I give wrong date format the system is uploading successfully. I mean it is accepting if I write like 22/22/56/  or 1-/89/99, etc... I need to write a validation to resolve this.
I need to meet following condtions.
1. System has to accept only MM/DD/YYYY format.
2. The system has to allow entering only numbers (and not letters and special characters).
3. The Reversal Date has to be later than the Posting Date .
I dont know how to write validation.
Can anyone help me.
Thanks
Ram

Hi,
If the date is getting populated in date fields in SAP, there is no way the system will accept the way you have indicated. The date format what you have specified in the system MM/DD/YYYY - system will accept only that format. Why don't you try to enter manually a date and check whether system accepts. If system is accepting meaningless dates, there is a some issue in SAP system.
Probably, you can consider whether a validation can be developed to check that reversal date is subsequent to date of accrual date.
Thanks
Murali.

Similar Messages

  • How to know the balance and validity of internet data in iPad

    How to know the balance and validity of internet data in iPad?

    Sir I m using internet in ipad4 with airtel network
    They provide me 2gb data with the amount of 255 rupees
    And now I inserted the sim in my ipad4
    And start the surfing on safari n all
    And now I wanted to know how much data is balance.

  • "Schema validation found non-data type errors" error when passing a string value to date field in infopath

    Hi,
    I have an infopath web brower enabled form. In the form i have a date field.
    I am passing the data from the database to that field using the C# code.
    But, as the field from database is coming as string, i am getting an error, and i am not able to assign the value.
    I get the date value from database as "3/25/2011 12:00:00 AM"
    I used the below code:
    [CODE]
    if (objInfopathFormcData.myRecievedDate != null)
      myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager).SetValue(objInfopathFormcData.myRecievedDate);
    [/CODE]
    I am getting the error as "Schema validation found non-data type errors".
    How to set the value for a date field in Infopath.
    Thank you

    HI,
    I fixed it:
    Below code is used to fix:
    [CODE]
    XPathNavigator xfield = null;
    DateTime dtmyRecievedDate;
    dtmyRecievedDate = Convert.ToDateTime(objInfopathFormcData.myRecievedDate);
    if (objFormcData.FcCompletionDate != null)
    xfield = myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager);
    DeleteNil(xfield);
    xfield.SetValue(dtmyRecievedDate.GetDateTimeFormats().GetValue(5).ToString());
    // method to delete xsi:nil
    private void DeleteNil(XPathNavigator nav1)
    if (nav1.MoveToAttribute("nil", "http://www.w3.org/2001/XMLSchema-instance"))
       nav1.DeleteSelf();
    [/CODE]
    Thank you

  • Error while reversing data from SQL Server to ODI

    hi,
    I was reversing data from SQL Server Java 1.6_022 in ODI Java 1.5, I was getting error Version Mismatch and I updated ODI Java version to 1.6_022.
    And now, I am getting the below error while reversing the data from SQL Server database.
    0 : 08001 : java.sql.SQLException: No suitable driver
    Looking for the assistance on the same.
    Thanks,
    Abhay

    If everything is fine the reversing should be fine. I would say check again if the Technology of the Model and the also the dataserver is created under the right Technology in topology too.
    also if this doesn't help , Please tell us the steps you have carried so far . Also can you try selective reverse is it showing the tables.

  • Reversing accrual/deferral document after stated reversal date

    Hi All,
    I had an accrual/deferral document posted in Feb, 2006 which was stated for reversal on 15th march, 2006. This reversal was to be done automatically by the system but due to some problem at that time, it didnt get reversed. We couldnt reverse it once the reversal date went by so we posted a GL document (FB50) with opposite line items to negate the effect.
    Now its March, 2007 and we want to knock these two line items from open-item mgmt accounts as it still shows these items as open. If we can reverse the originally posted accrual/deferral document it can be done. But since the posting period for march, 2006 is now close we cant find a way to reverse it.
    Any suggestions on how we can clear these open items?

    Use t code FB02. Enter required parameters and press enter. From the menu slect Extras - Document header. This will take you to next screen. In this screen from the menu select GoTo Document Header. Change the reversal date and save.
    Hope this helps. If useful, please reward points.
    Regards
    Rakesh Pawaskar

  • Validation on Integer data type attribute

    Hi,
    Working on jdev 11.1.1.3.0
    I have to do validation on integer data type like, it should not allow 13.20(only single digit numbers.).
    I am doing validation on AMImpl and converting the int into string
    String per=Row.getPer().toString();// here if user enter 13.20, then per containing only 13 so its not going to inside if.
    if(StringUtils.contains(per,"."))
    return false;
    Even i have written regular expression on my field but its working
    can any one help me.

    Hi,
    Why don't you use the af:convertNumber in your tag?
    Something like that:
    <af:inputText>
    <af:convertNumber>
    </af:inputText>
    Doc: http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_convertNumber.html
    Regards,

  • Validation on Posting Data in MIGO

    Dear Experts,
    My requirement is to put validation on Posting date during MIGO. How can i do that? Can i do it from OMJX?
    Regards,

    Dear,
    You do this with screen or tannscation variant through SHD0 for MEGO here make filed posting date as display field or use BADI MB_MIGO_BADI for posting date check. There is nothing from configuration point of view.
    Hope it will help you.
    Regards,
    R.Brahmankar

  • Validation on Joining date

    Dear  Team,
    I would like to put validation on Joining date with actual date of Hiring ( i.e current system date ) ; and I would like to put validation between both actual joining and Hiring date and difference between both dates should not exceed 50days. If Hiring date is exceeding 50 days errors message should be populated.
    Please let me know to handle this scenario .
    Regards,
    Vamshi

    Try using an user exit or BADI.
    Please ask your ABAPer to write a code to check your requirement and generate the messages.
    There are a lot of forums which will give u details on user exits and BADI in Pers Administration.
    I dont think there is any standard config which will cater to your requirement.
    Cheers
    AJ

  • Validation on a data form

    I need run a validation on a data form. Basically if the difference between budget and actuals (both of which are on a separate form, but combined on a composite) exceeds 5% I want to highlight the cell in red, or bold the text or something. Can someone point me in the right direction for this?

    Depends what version you are on, if it is before 11.1.2 then you would need to write some custom Javascript, 11.1.2 should let you write validation rules to change cell colors.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Can we apply custom validation before uploading data in WebADI in 12.1.3

    Hi,
    I have requirement of applying custom validation before uploading data from spreadsheet using webADI. How can we do that.
    Is there any way in desktop Integration Manager Responsibilty in WebADI.
    I have just started exploring webADI
    Please Help Me...
    Thanks,
    Suhani

    Why are you posting this in OAF?
    Anyway you can by creating a custom PL/SQL wrapper that is called by the WebADI.
    Raise an application ERROR in your wrapper and it will show in the WebADI
    If you just want to validated VALUES, you are better of creating an LOV on the Column. Then WebADI will do the validation work for you.
    Jeroen

  • Validator error - Extra data was encountered.

    Hi All,
    I am working on Outbound EDI870, getting below Error:
    2010.06.03 at 04:33:34:988: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (ERROR) Error -: B2B-51505: General validation error.
         at oracle.tip.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2539)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1279)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:790)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1201)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:713)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:2754)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2444)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:464)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:180)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:171)
         at java.lang.Thread.run(Thread.java:619)
    2010.06.03 at 04:33:34:988: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) Engine: processOutgoingMessageImpl: B2BDomainException
    2010.06.03 at 04:33:34:988: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: B2B-51505: General validation error.
    2010.06.03 at 04:33:34:988: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) DbAccess:updateWireBusinessToErrorState
    2010.06.03 at 04:33:34:988: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2010.06.03 at 04:33:34:989: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: queryById: Enter
    2010.06.03 at 04:33:34:989: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: queryById: Got RTP Context
    2010.06.03 at 04:33:35:006: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: queryById: Got 1messages for field messageId with value 1410017
    2010.06.03 at 04:33:35:007: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: queryById: Exit
    2010.06.03 at 04:33:35:007: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: findWireMessageByB2BMessageId: querying for id = 1410017
    2010.06.03 at 04:33:35:007: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: findWireMessageByB2BMessageId: Returning null
    2010.06.03 at 04:33:35:007: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
    2010.06.03 at 04:33:35:008: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
    2010.06.03 at 04:33:35:008: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Enter:
    2010.06.03 at 04:33:35:008: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Got RTP Context
    2010.06.03 at 04:33:35:008: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Exit
    2010.06.03 at 04:33:35:009: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:updateAppMessageState Enter
    2010.06.03 at 04:33:35:009: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: getAppMessageById: Enter appMsg id = 7F000001128FCF1A4C600000EA6A8D00
    2010.06.03 at 04:33:35:009: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: getAppMessageById: Got RTP Context
    2010.06.03 at 04:33:35:012: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: getAppMessageById: Got [1] messages for AppMessage ID 7F000001128FCF1A4C600000EA6A8D00
    2010.06.03 at 04:33:35:012: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: getAppMessageById: Exit
    2010.06.03 at 04:33:35:013: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:setAppMsgErrorInfo Enter
    2010.06.03 at 04:33:35:013: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:setAppMsgErrorInfo Setting AppMessage to ERROR
    2010.06.03 at 04:33:35:013: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:setAppMsgErrorInfo Exitr
    2010.06.03 at 04:33:35:013: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Enter:
    2010.06.03 at 04:33:35:013: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Got RTP Context
    2010.06.03 at 04:33:35:014: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Exit
    2010.06.03 at 04:33:35:014: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:updateAppMessageState Exit
    2010.06.03 at 04:33:35:014: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:DbAccess:updateMsgError(3 params) Enter
    2010.06.03 at 04:33:35:015: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Enter:
    2010.06.03 at 04:33:35:015: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Got RTP Context
    2010.06.03 at 04:33:35:016: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: updateObject: Exit
    2010.06.03 at 04:33:35:016: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:DbAccess:updateMsgError(3 params) Exit
    2010.06.03 at 04:33:35:016: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.engine.Engine:handleOutboundException Updating Native Event Tbl Row
    2010.06.03 at 04:33:35:016: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:updateNativeEvtTblRow Enter
    2010.06.03 at 04:33:35:017: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: queryById: Enter
    2010.06.03 at 04:33:35:017: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: queryById: Got RTP Context
    2010.06.03 at 04:33:35:019: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: queryById: Got 1messages for field messageId with value 1410017
    2010.06.03 at 04:33:35:019: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: queryById: Exit
    2010.06.03 at 04:33:35:019: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: findWireMessageByB2BMessageId: querying for id = 1410017
    2010.06.03 at 04:33:35:019: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.ToplinkHelper: findWireMessageByB2BMessageId: Returning null
    2010.06.03 at 04:33:35:019: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) DbAccess:updateNativeEvtTblRowGot WireMessage with B2BMessage ID 1410017
    2010.06.03 at 04:33:35:020: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg wiremsg not found
    2010.06.03 at 04:33:35:020: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) oracle.tip.b2b.engine.Engine:handleOutboundException notifying App
    2010.06.03 at 04:33:35:020: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) Notification: notifyApp: Enter
    2010.06.03 at 04:33:35:020: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@8f1195: B2B - (DEBUG) Notification: notifyApp: payload = <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>7F000001128FCF1A4C600000EA6A8D00</correlationId>
    <b2bMessageId>1410017</b2bMessageId>
    <errorCode>B2B-51505</errorCode>
    <errorText>
    Error Brief :
    Validator error - Extra data was encountered.
    An X12 syntax error occurred.
    An X12 syntax error occurred.
    Validator error - Extra data was encountered.
    Validator error - Extra data was encountered.
    A data element with 'Mandatory' status is missing.
    </errorText>
    <errorDescription>
    <![CDATA[
    Error :
    Extra Element was found in the data file as part of Segment REF. Segment REF is defined in the guideline at position 046.{br}{br}This error was detected at:{br}{tab}Segment Count: 3{br}{tab}Element Count: 2{br}{tab}Characters: 567 through 575
    At least one of REF02, REF03 must be present. The syntax rule R0203 of Segment REF is violated. Segment REF is defined in the guideline at position 046.{br}{br}This error was detected at:{br}{tab}Segment Count: 3{br}{tab}Element Count: 2{br}{tab}Characters: 593 through 593
    At least one of REF02, REF03 must be present. The syntax rule R0203 of Segment REF is violated. Segment REF is defined in the guideline at position 046.{br}{br}This error was detected at:{br}{tab}Segment Count: 3{br}{tab}Element Count: 3{br}{tab}Characters: 593 through 593
    Extra Element was found in the data file as part of Segment ISR. Segment ISR is defined in the guideline at position 030.{br}{br}This error was detected at:{br}{tab}Segment Count: 6{br}{tab}Element Count: 1{br}{tab}Characters: 870 through 872
    Extra Element was found in the data file as part of Segment ISR. Segment ISR is defined in the guideline at position 030.{br}{br}This error was detected at:{br}{tab}Segment Count: 6{br}{tab}Element Count: 2{br}{tab}Characters: 907 through 915
    Element ISR01 (Shipment/Order Status Code) is missing. This Element's standard option is 'Mandatory'. Segment ISR is defined in the guideline at position 030.{br}{br}This Element was expected in:{br}{tab}Segment Count: 6{br}{tab}Element Count: 1{br}{tab}Character: 933
    ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    Even though I am providing REF01 and ISR01 values, I am getting this Error.
    Below is my XML payload.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <Transaction-870 xmlns:ns0="http://www.edifecs.com/xdata/200" Standard="X12" xmlns="http://www.edifecs.com/xdata/200">
    - <ns0:Segment-ST>
    <ns0:Element-143>870</ns0:Element-143>
    <ns0:Element-329>000000043</ns0:Element-329>
    </ns0:Segment-ST>
    - <ns0:Segment-BSR>
    <ns0:Element-850>3</ns0:Element-850>
    <ns0:Element-847>PA</ns0:Element-847>
    <ns0:Element-127>3110000031OTM_TestPR</ns0:Element-127>
    <ns0:Element-373>20100603</ns0:Element-373>
    </ns0:Segment-BSR>
    - <ns0:Loop-REF>
    - <ns0:Segment-REF>
    <ns0:Element-128>VR</ns0:Element-128>
    <ns0:Element-127>RHEEM002</ns0:Element-127>
    </ns0:Segment-REF>
    </ns0:Loop-REF>
    - <ns0:Loop-HL>
    - <ns0:Segment-HL>
    <ns0:Element-628>1</ns0:Element-628>
    <ns0:Element-735>O</ns0:Element-735>
    </ns0:Segment-HL>
    - <ns0:Segment-PRF>
    <ns0:Element-324>OTM_Test</ns0:Element-324>
    </ns0:Segment-PRF>
    - <ns0:Loop-ISR>
    - <ns0:Segment-ISR>
    <ns0:Element-368>PR</ns0:Element-368>
    <ns0:Element-373>20100531</ns0:Element-373>
    </ns0:Segment-ISR>
    </ns0:Loop-ISR>
    </ns0:Loop-HL>
    - <ns0:Loop-HL>
    - <ns0:Segment-HL>
    <ns0:Element-628>2</ns0:Element-628>
    <ns0:Element-735>I</ns0:Element-735>
    </ns0:Segment-HL>
    - <ns0:Loop-PO1>
    - <ns0:Segment-PO1>
    <ns0:Element-350>1</ns0:Element-350>
    <ns0:Element-330>2</ns0:Element-330>
    <ns0:Element-355>EA</ns0:Element-355>
    <ns0:Element-235>SK</ns0:Element-235>
    <ns0:Element-234>6836003</ns0:Element-234>
    <ns0:Element-235_1>VP</ns0:Element-235_1>
    <ns0:Element-234_1>TAHM ITEM</ns0:Element-234_1>
    </ns0:Segment-PO1>
    - <ns0:Segment-PID>
    <ns0:Element-349>F</ns0:Element-349>
    <ns0:Element-352>TAHM ITEM</ns0:Element-352>
    </ns0:Segment-PID>
    </ns0:Loop-PO1>
    </ns0:Loop-HL>
    - <ns0:Segment-CTT>
    <ns0:Element-354>2</ns0:Element-354>
    </ns0:Segment-CTT>
    - <ns0:Segment-SE>
    <ns0:Element-96>11</ns0:Element-96>
    <ns0:Element-329>000000043</ns0:Element-329>
    </ns0:Segment-SE>
    </Transaction-870>
    Thanks in Advance
    Ravdeep

    Hi Ravdeep,
    Have you validated the payload against the ecs using document editor? If no, please do so.
    Also refer -
    5084: XEngine error - Invalid data (outbound with validation disabled)
    Please paste the complete B2B log here/mail it to my id (in my profile)
    Regards,
    Anuj

  • Validation of loaded data

    I am loading fixed width flat-files into Oracle tables using OWB (SQL*Loader). What's the best way by which I can test the validity/correctness of data i.e. match apples-to-apples ?
    Do you use any test scripts ? If so, then could you please elaborate ?
    Uptil now, I have been only checking for count validations but not actual data validation.
    Your inputs will be invaluable.
    Thanks
    John.

    Hi,
    I validate using a set of functions in a package that return substitute values. On the basis of these substitue values records are accepted or rejected. The set contains functions for validation of date & number fields.
    So, in short. Write function to validate numbers or dates. Insert known substitue values for erroneous data and validate in the next step on these substitute values.
    Hope this is what you're looking for.
    Cheers,
    Rob

  • [Solved] ADFBC validation when your data isn't normalized

    Hello -
    I'm working on a ADFBC/JSF app (using JDev 10.1.3.3) where I am developing a JSF page to edit data for a table whose data is denormalized. I'll explain using the EMPLOYEES table in the HR sample schema.
    Change EMPLOYEES to...
    a. Add a column (EMPLOYEES.DEPARTMENT_NAME) that holds the data in DEPARTMENTS.DEPARTMENT_NAME
    b. Remove the foreign key EMP_DEPT_FK which links EMPLOYEES.DEPARTMENT_ID to DEPARTMENTS.DEPARTMENT_ID
    The UI presents a field for EMPLOYEES.DEPARTMENT_ID. It also shows EMPLOYEES.DEPARTMENT_NAME as a read-only field.
    When the user gives a value for EMPLOYEES.DEPARTMENT_ID, the app needs to
    1. Validate the DEPARTMENT_ID using a function in a PL/SQL package
    2. Populate the EMPLOYEES.DEPARTMENT_NAME field. Department name is retrieved using a function in a PL/SQL package that takes the department_id as a parameter.
    3. Assign a NULL value to EMPLOYEES.DEPARTMENT_NAME if the provided DEPARTMENT_ID is NULL.
    I don't have the option of changing the table structure.
    I have an entity object for the EMPLOYEES records. To accomplish #1 I added a method validator on the DEPARTMENT_ID attribute to call the appropriate PL/SQL function using JDBC. My question is - where should #2 and #3 happen?
    - In the same method validator on the attribute for DEPARTMENT_ID?
    - In the setter for the DEPARTMENT_ID after the call to setAttributeInternal?
    - Somewhere else?
    Thanks for reading my question
    -- Scott
    Message was edited by:
    scott.turnquist

    Thanks Frank.
    Here is what I came up with (in case anyone else has a similar question) - it works well so far.
    In EmployeeEntityImpl:
        public boolean validateDepartmentId(Number data) {
            boolean valid = true;
            if (data != null ) {
                try {
                    MyAppModuleImpl mod =
                        (MyAppModuleImpl )getDBTransaction().getRootApplicationModule();
                    valid = mod.validateDepartmentId(data);  //method uses JDBC to call PL/SQL package function, could throw SQLException
                } catch (SQLException se) {
                    log.error("Error while checking Department Id: " + data, se);
                    valid = false;
            return valid;
        public void setDepartmentId(Number value) {
            setAttributeInternal(DEPARTMENTID, value);
            //Propogate changes to redundant DepartmentName field.
            //If we get this far, we will have passed the validation
            //called by setAttributeInternal()
            if (value == null) {
                if (getDepartmentName() != null) {
                    setDepartmentName(null);
            } else {
                MyAppModuleImpl mod =
                    (MyAppModuleImpl) getDBTransaction().getRootApplicationModule();
                try {
                    String deptName = mod.lookupDepartmentNameFromDepartmentId(value);   //method uses JDBC to call PL/SQL package function, could throw SQLExeption
                    if (deptName == null) {
                        log.error("Could not find department name for department id: " +
                                  value);
                        throw new JboException("Invalid department id: " +
                                               value);
                    } else {
                        setDepartmentName(deptName);
                } catch (SQLException se) {
                    log.error("Could not validate department id: " + value, se);
                    throw new JboException("Invalid department id: " + value);
        }

  • Parked doc that has 'Reversal Reason' & 'Reversal Date' available

    Hi guys,
    Transaction FBS1, Enter Accrual/Deferral Document, has the following additional fields when compared to a standard posting transaction such as FB01 which allows for the auto reversing of the accrual:
    1. Reversal Reason
    2. Reversal Date
    Is there a method of parking a document that has been entered via FBS1?
    Or is there a different transation that will park a document but will also allow the 'Reversal Reason' & 'Reversal Date' to be populated?
    Cheers

    As you have noticed by system design that indeed the options for Park or Hold are not available
    (greyed out) for accrual documents (FBS1).
    The apparent reason is because an accural document requires a reversal
    date and a held document cannot handle a reversal posting.
    You may want to consider using the "post with reference" feature to
    simplify the tasks of reentering accrual/deferral documents which occur
    every month.
    In adition,  please read note 492006:
    'Special transactions such as FBB1, FBS1, FB41 cannot and must not be
    parked since subsequent processing using FBV0 is not possible.'
    Hope that helps.
    Jon

  • How to control the default Reverse Date at VL09

    Hello,
    At VL09 (reverse goods movement) screen, the default Reverse Date is today.
    If users want to modify the Reverse Date,
    users have to select a line, click on define date button and input date into the local date field at pop-up screen.
    I want the default Reverse Date at VL09 screen to be the same as the Actual GI date of delivery.
    Please tell me how.
    Thank you.

    1. There is no standard BADI and userexit which can fulfill your requirement.
    2. You can try to do the modification in RVV50L09.
    Before
    "CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'"
    You can add  "Move XLIKPUKWA-wadat_ist to  XLIKPUKWA-STDAT. "

Maybe you are looking for