Error invalid date using  delete_filter_exp  in Ikm knowledege module netez

i created the a,b,final-r-interfaces in ORACLE DATA INTIGRATER(ODI).pkg level these three interfaces are executed successfully in developement.
when i executed the final-that r-interface alone in development then it shows the error (i.e.invalid date)
Note i am using the delete_filter_exp in Ikm knowledege module netezza control append i am using this conditon in this delete_filter_exp in Ikm knowledege module netezza control append (HIST_CREATION_DATE>= TO_DATE(substr('#D_abc_vb_O_LINES_HISTORY_RK',1,19) ,'MM/DD/YYYY HH24:MI:SS') AND SOURCE_ID=3)
I am getting the error as .invalid date.
Regards,
Venkat

hi,
the data types like typ_s_ressource are defined.
they are declared in the include LZTPGTOP.
The declaration of typ_s_ressource is:
types: begin of typ_s_ressource,
        perno type hrsobid-sobid,
        org_unit type objid,
        position type hrsobid-sobid,
        leadpos type c,
       end of typ_s_ressource.
If u have any questions, you can ask me, but try to provide a solution.
Thanks,
Srinivas.

Similar Messages

  • WebPart is raising the following error "Invalid data has been used to update the list item.The field you are trying to update may be read only"

    I have created a farm solution and then i deploy it to SharePoint server, the code looks as follow, and i use it to update a page info values (as the current page values represents old info):-
    [ToolboxItemAttribute(false)]
    public partial class VisualWebPart1 : WebPart
    // Uncomment the following SecurityPermission attribute only when doing Performance Profiling using
    // the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
    // for production. Because the SecurityPermission attribute bypasses the security check for callers of
    // your constructor, it's not recommended for production purposes.
    // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
    public VisualWebPart1()
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["Pages"];
    web.AllowUnsafeUpdates = true;
    foreach (SPListItem items in list.Items)
    items["Author"] = "SharePoint";
    items["Created"] = "01/08/2014 01:44 PM";
    items.Update();
    list.Update();
    web.AllowUnsafeUpdates = false;
    protected void Page_Load(object sender, EventArgs e)
    but when i try adding this web part to a page i got the following error:-
    Invalid data has been used to update the list item.The field you are trying to update may be read only
    so can anyone advice?

    i only changed lines bitween 
    web.AllowUnsafeUpdates = true;
    and
    web.AllowUnsafeUpdates = false;
    and other parts of code remains without change
    so it will updates all pages in current web
    yaşamak bir eylemdir

  • B2B-ESB Integration Error Text - 5084: XEngine error - Invalid data

    Hi,
    I am trying to integrate B2B with ESB.My requirement is that when i send an EDI XML file to B2B IP_OUT_QUEUE using a ESB process it needs to write an EDI file to a particular location.
    For this I have defined a business Protocol as EDI X12 over Generic Exchange for an EDI 850 5020 document.I have defined my transport protocol as a File -1.0 in B2B for both Host Trading Partner and as well as the Remote Trading Partner.
    Now when, I process the EDI XML file in ESB and send it to B2B i get an error in the Error Status Report.The following is the error.
    Error Code as AIP-51505 and Error Text as 5084: XEngine error - Invalid data.
    Please help. Thanks in advance.
    Regards,
    Kaavya

    Hi Ramesh,
    I am getting an validation error When i turn the validation on.I am getting an errorat MEA tag while doing the validation for EDI file.
    Error Code:AIP-51505
    Error Text:5034: Validator error - Extra data was encountered.
    Error Description:
    Machine Info: (mdpemer143119)
    Unrecognized data found in the data file. The last known segment was MEA at guideline position 2000.{br}{br}This error was detected at:{br}{tab}Segment Count: 12{br}{tab}Character: 4161 through 4280.
    This is the data i ma pasing in the MEA tag
    <ns9:Segment-MEA>
    <ns9:Element-737>9L</ns9:Element-737>
    <ns9:Element-738>1</ns9:Element-738>
    <ns9:Element-739>5</ns9:Element-739>
    <ns9:Composite-C001>
                   <ns9:Element-355>01</ns9:Element-355>
                   <ns9:Element-1018>2</ns9:Element-1018>
                   <ns9:Element-649>86</ns9:Element-649>
                   <ns9:Element-355_1>01</ns9:Element-355_1>
                   <ns9:Element-1018_1>18</ns9:Element-1018_1>
                   <ns9:Element-649_1>19</ns9:Element-649_1>
                   <ns9:Element-355_2>01</ns9:Element-355_2>
                   <ns9:Element-1018_2>62</ns9:Element-1018_2>
                   <ns9:Element-649_2>73</ns9:Element-649_2>
                   <ns9:Element-355_3>01</ns9:Element-355_3>
                   <ns9:Element-1018_3>80</ns9:Element-1018_3>
                   <ns9:Element-649_3>4</ns9:Element-649_3>
                   <ns9:Element-355_4>01</ns9:Element-355_4>
                   <ns9:Element-1018_4>66</ns9:Element-1018_4>
                   <ns9:Element-649_4>67</ns9:Element-649_4>
              </ns9:Composite-C001>
              <ns9:Element-740>23</ns9:Element-740>
              <ns9:Element-741>2</ns9:Element-741>
              <ns9:Element-935>01</ns9:Element-935>
    <ns9:Element-936 xsi:nil="true"/>
              <ns9:Element-752>1S</ns9:Element-752>
              <ns9:Element-1373>BM</ns9:Element-1373>
    </ns9:Segment-MEA>
    Please do let me know what could be the solution of this error.
    Thanks and Regards,
    Kaavya

  • AIP-51505: 5084: XEngine error - Invalid data.

    Hi All,
    I am getting invalid data error when posting a EDI 855 from BPEL to iB2B.
    I have done the following already: set validation to false and verified the XML against the xsd using XMLSpy.
    Any idea what can be wrong?
    Thanks in advance,
    Suresh
    2007.09.25 at 14:08:14:877: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:getControlNumberFromEDIRepository CtlNum (TP): Interchange = 1101, Functional Group = 1101, Transaction Set = 1097
    2007.09.25 at 14:08:14:877: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Enter
    2007.09.25 at 14:08:14:877: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl fullOutboundBatching = false
    2007.09.25 at 14:08:14:878: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl validateEnvelope = false
    2007.09.25 at 14:08:14:878: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:ISelectorImpl Leave
    2007.09.25 at 14:08:17:023: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:reset Enter
    2007.09.25 at 14:08:17:023: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:reset Leave
    2007.09.25 at 14:08:17:023: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument XML = 1
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument no result from XDataToNative
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sErrorGuid = {F35AFE03-C479-4F96-B4F1-2EF36DABC5FE}
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sDescription = Invalid data.
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sBrDescription = 5084: XEngine error - Invalid data.
    2007.09.25 at 14:08:17:024: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ErrorLevel sParameterValue = 0
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = Name sParameterValue = XData2Native
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ecdn_guid_ sParameterValue = {4A4CF358-6B92-11DC-82C1-00142223EF95}
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ecindex sParameterValue = 0
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument sParameterName = ec_error_scope sParameterValue = Document
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument added Hash Key = {4A4CF358-6B92-11DC-82C1-00142223EF95}
    2007.09.25 at 14:08:17:025: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin:processOutgoingDocument batch Position = 0
    2007.09.25 at 14:08:17:026: Thread-22: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2021)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1219)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:534)
    2007.09.25 at 14:08:17:026: Thread-22: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2021)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1219)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:534)
    2007.09.25 at 14:08:17:027: Thread-22: B2B - (ERROR) Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2062)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1219)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:534)
    2007.09.25 at 14:08:17:027: Thread-22: B2B - (ERROR) Error -: AIP-51505: General Validation Error: Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2062)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1219)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-51505: General Validation Error
         at oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin.processOutgoingDocument(EDIDocumentPlugin.java:2021)
         ... 6 more
    2007.09.25 at 14:08:17:027: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage B2BDomainException
    2007.09.25 at 14:08:17:027: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Error Message: Error -: AIP-51505: General Validation Error
    2007.09.25 at 14:08:17:028: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Enter
    2007.09.25 at 14:08:17:029: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Wire message not found.
    2007.09.25 at 14:08:17:029: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Updating business message error information
    2007.09.25 at 14:08:17:032: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState Exit
    2007.09.25 at 14:08:17:032: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updating Native Event Tbl Row
    2007.09.25 at 14:08:17:032: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateNativeEvtTblRow Enter
    2007.09.25 at 14:08:17:033: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
    ** DbAccess:updateNativeEvtTblRow:tip_wireMsg wiremsg not found
    2007.09.25 at 14:08:17:034: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException notifying App
    2007.09.25 at 14:08:17:034: Thread-22: B2B - (DEBUG) Engine:notifyApp Enter
    2007.09.25 at 14:08:17:036: Thread-22: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = 3AE6A497D52861F3E0400302290324BA
    2007.09.25 at 14:08:17:036: Thread-22: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
    <Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <correlationId>4de21f37c68d8a74:-3030dba5:11538f2ec0d:-7cfc</correlationId>
    <b2bMessageId>4de21f37c68d8a74:-3030dba5:11538f2ec0d:-7cfc</b2bMessageId>
    <errorCode>AIP-51505</errorCode>
    <errorText>5084: XEngine error - Invalid data.</errorText>
    <errorDescription>
    <![CDATA[Machine Info: (phantom.ciena.com)
    Invalid data.  ]]>
    </errorDescription>
    <errorSeverity>2</errorSeverity>
    </Exception>
    2007.09.25 at 14:08:17:036: Thread-22: B2B - (DEBUG) AQJMSCorrelationID = 3AE6A497D52861F3E0400302290324BA
    2007.09.25 at 14:08:17:041: Thread-22: B2B - (DEBUG) Engine:notifyApp Exit
    2007.09.25 at 14:08:17:041: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException Updated the Error Message Successfully: Error -: AIP-51505: General Validation Error
    2007.09.25 at 14:08:17:042: Thread-22: B2B - (DEBUG) DBContext commit: Enter
    2007.09.25 at 14:08:17:046: Thread-22: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2007.09.25 at 14:08:17:046: Thread-22: B2B - (DEBUG) DBContext commit: Leave
    2007.09.25 at 14:08:17:046: Thread-22: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Exit
    xml 855:
    <Transaction-855 xmlns:ns1="urn:oracle:integration:b2b:ED4636190E8D48CB88002EE2393BAFD6" xmlns="urn:oracle:integration:b2b:ED4636190E8D48CB88002EE2393BAFD6">
    <ns1:Segment-ST>
    <ns1:Element-143>855</ns1:Element-143>
    <ns1:Element-329>36770001</ns1:Element-329>
    </ns1:Segment-ST>
    <ns1:Segment-BAK>
    <ns1:Element-353>00</ns1:Element-353>
    <ns1:Element-587>AT</ns1:Element-587>
    <ns1:Element-324>QW-09122007-T2</ns1:Element-324>
    <ns1:Element-373>20070924</ns1:Element-373>
    <ns1:Element-373_1>20070924</ns1:Element-373_1>
    </ns1:Segment-BAK>
    <ns1:Segment-CUR>
    <ns1:Element-98>PE</ns1:Element-98>
    <ns1:Element-100>USD</ns1:Element-100>
    </ns1:Segment-CUR>
    <ns1:Loop-PO1>
    <ns1:Segment-PO1>
    <ns1:Element-350>004.000</ns1:Element-350>
    <ns1:Element-330>2</ns1:Element-330>
    <ns1:Element-355>EA</ns1:Element-355>
    <ns1:Element-212>1.1</ns1:Element-212>
    <ns1:Element-235>IN</ns1:Element-235>
    <ns1:Element-234>009-2002-734</ns1:Element-234>
    <ns1:Element-235_1>VN</ns1:Element-235_1>
    <ns1:Element-234_1>76814</ns1:Element-234_1>
    </ns1:Segment-PO1>
    <ns1:Loop-ACK>
    <ns1:Segment-ACK>
    <ns1:Element-668>IA</ns1:Element-668>
    </ns1:Segment-ACK>
    </ns1:Loop-ACK>
    <ns1:Loop-SCH>
    <ns1:Segment-SCH>
    <ns1:Element-380>2</ns1:Element-380>
    <ns1:Element-355_1>EA</ns1:Element-355_1>
    <ns1:Element-374_5>079</ns1:Element-374_5>
    <ns1:Element-373>20070924</ns1:Element-373>
    </ns1:Segment-SCH>
    </ns1:Loop-SCH>
    </ns1:Loop-PO1>
    <ns1:Loop-PO1>
    <ns1:Segment-PO1>
    <ns1:Element-350>002.000</ns1:Element-350>
    <ns1:Element-330>2</ns1:Element-330>
    <ns1:Element-355>EA</ns1:Element-355>
    <ns1:Element-212>1.1</ns1:Element-212>
    <ns1:Element-235>IN</ns1:Element-235>
    <ns1:Element-234>009-2002-375</ns1:Element-234>
    <ns1:Element-235_1>VN</ns1:Element-235_1>
    <ns1:Element-234_1>76752</ns1:Element-234_1>
    </ns1:Segment-PO1>
    <ns1:Loop-ACK>
    <ns1:Segment-ACK>
    <ns1:Element-668>IA</ns1:Element-668>
    </ns1:Segment-ACK>
    </ns1:Loop-ACK>
    <ns1:Loop-SCH>
    <ns1:Segment-SCH>
    <ns1:Element-380>2</ns1:Element-380>
    <ns1:Element-355_1>EA</ns1:Element-355_1>
    <ns1:Element-374_5>079</ns1:Element-374_5>
    <ns1:Element-373>20070924</ns1:Element-373>
    </ns1:Segment-SCH>
    </ns1:Loop-SCH>
    </ns1:Loop-PO1>
    <ns1:Loop-PO1>
    <ns1:Segment-PO1>
    <ns1:Element-350>003.000</ns1:Element-350>
    <ns1:Element-330>2</ns1:Element-330>
    <ns1:Element-355>EA</ns1:Element-355>
    <ns1:Element-212>1.1</ns1:Element-212>
    <ns1:Element-235>IN</ns1:Element-235>
    <ns1:Element-234>009-2002-710</ns1:Element-234>
    <ns1:Element-235_1>VN</ns1:Element-235_1>
    <ns1:Element-234_1>76744</ns1:Element-234_1>
    </ns1:Segment-PO1>
    <ns1:Loop-ACK>
    <ns1:Segment-ACK>
    <ns1:Element-668>IA</ns1:Element-668>
    </ns1:Segment-ACK>
    </ns1:Loop-ACK>
    <ns1:Loop-SCH>
    <ns1:Segment-SCH>
    <ns1:Element-380>2</ns1:Element-380>
    <ns1:Element-355_1>EA</ns1:Element-355_1>
    <ns1:Element-374_5>079</ns1:Element-374_5>
    <ns1:Element-373>20070924</ns1:Element-373>
    </ns1:Segment-SCH>
    </ns1:Loop-SCH>
    </ns1:Loop-PO1>
    <ns1:Loop-CTT>
    <ns1:Segment-CTT>
    <ns1:Element-354>3</ns1:Element-354>
    </ns1:Segment-CTT>
    </ns1:Loop-CTT>
    <ns1:Segment-SE>
    <ns1:Element-96>14</ns1:Element-96>
    <ns1:Element-329>36770001</ns1:Element-329>
    </ns1:Segment-SE>
    </Transaction-855>

    Hello,
    Can you please restart the b2b server and apply the latest patch. If the problem still persist send us the export.
    Rgds,Ramesh

  • Data error (invalid data type 17) in a Remote Function Call

    Hi,
    I am passing 2 select-option tables to RFC.
    Tables have structures -
       Table1  SIGN(C1)
                   OPTION(C2)
                   HIGH(C6)
                   LOW(C6)
       Table2  SIGN(C1)
                   OPTION(C2)
                   HIGH(C20)
                   LOW(C20)
    At the destination side, I have created two table types which have same structure.
    But when I call the RFC , program terminates with error - "Data error (invalid data type 17) in a Remote Function Call"
      Not able to understand the reason for this error. Please help.
    Thanks,
    Sujeet

    Hi,
    check out this example
    [LINK|http://abap.googlar.eu/viewtopic.php?f=5&t=28]
    You have several ranges that you can use like RANGE_AUF.
    Function example:
    FUNCTION zexemple.
    *"*"Interface local:
    *"  IMPORTING
    *"     REFERENCE(R_HORA) TYPE  FLAG
    *"     REFERENCE(R_DIA_1) TYPE  FLAG
    *"     REFERENCE(P_IDOC) TYPE  FLAG
    *"  EXPORTING
    *"     REFERENCE(MSG) TYPE  CHAR255
    *"  TABLES
    *"      T_OIFSPBL STRUCTURE  OIFSPBL
    *"      SL_PBLNR STRUCTURE  RANGE_PBLNR
    *"      SL_MATNR STRUCTURE  RANGE_MATNR
    *"      SL_HORA STRUCTURE  RANGE_UZEIT
    *"      T_ERROS STRUCTURE  ZARSTRING
    ENDFUNCTION.
    Report:
    SELECT-OPTIONS: sl_pblnr FOR oirbpblb-pblnr,
                                  sl_matnr FOR a361-matnr.
    ~
    Final question:
    You are passing the values using TABLES and not IMPORTING right?

  • ERROR: Invalid data pump job state; one of: DEFINING or EXECUTING.

    Hi all.
    I'm using Oracle 10g (10.2.0.3) I had some scheduled jobs for export the DB with datapump. Some days ago they began to fail with the message:
    ERROR: Invalid data pump job state; one of: DEFINING or EXECUTING.
    Wait a few moments and check the log file (if one was used) for more details.
    The EM says that I can't monitor the job because there's no master tables. How can I find the log?
    I also founded in the bdump that exceptions occurred:
    *** 2008-08-22 09:04:54.671
    *** ACTION NAME:(EXPORT_ITATRD_DIARIO) 2008-08-22 09:04:54.671
    *** MODULE NAME:(Data Pump Master) 2008-08-22 09:04:54.671
    *** SERVICE NAME:(SYS$USERS) 2008-08-22 09:04:54.671
    *** SESSION ID:(132.3726) 2008-08-22 09:04:54.671
    kswsdlaqsub: unexpected exception err=604, err2=24010
    kswsdlaqsub: unexpected exception err=604, err2=24010
    * kjdrpkey2hv: called with pkey 114178, options x8
    * kjdrpkey2hv: called with pkey 114176, options x8
    * kjdrpkey2hv: called with pkey 114177, options x8
    Some help would be appreciated.
    Thanks.

    Delete any uncompleted or failed jobs and try again.

  • DP forecast not released to SNP - error "Invalid Data Status"

    Hello,
    When DP forecast was released to SNP, one material - Location went into error. The error is "Invalid Data Status"
    Release to DP to SNP  is thru background job, and it check the material status (only material with active status is considered for release).
    But for the above error, the material is active.
    What could be the possible reason for this error & how can it be  resolved.
    Thanks in advance.

    Hi Datta,
    In consistency match, there are multiple objects. Since DP is new to me, I am not aware of the objects that should be selected. Can you tell me which objects should I select for this and what will be the outcome of this.
    Also can you please explain me why do we execute his transaction?
    Thanks in advance.

  • R/3 -- RFC -- XI Message stuck in R/3 SM58 with error "invalid date"

    Hello,
    we have a scenario where we send a message via RFC from R/3 to XI and further on to a file. Everything is setup according to blog 1438 and most of the time it works fine. But sometimes the messages get stuck on R/3 side in SM58 with error "program ID not registered". I can then execute the LUW and it starts working immediately. One strange thing is that the time in SM58 for that message is in the future and there is a comment "invalid date". The R/3 system is a 4.6b and XI is SP16.
    Can someone explain why the time is in the future for this message only and is this probably the reason that it hangs?
    Thanks for your help.
    /Michael

    I should maybe also add that we now schedule a job every 5 min to push on the "hanging" entries in SM58 -  as a workaround so to say.

  • How to fix the field level Error(Invalid Date)

    Hi All,
    Error: 1 (Field level error)
      SegmentID: ACK
      Position in TS: 5
      Data Element ID: ACK05
      Position in Segment: 5
      Data Value: 162014
      8: Invalid Date
    can anyone help me out, How to fix above error? i searched about this but only information about the error  is given and no where it is mentioned how to fix it  and how is it generated please help me out.
    Thanks,
    Nitish

    Are you sending or receiving the EDI?
    Either way, "162014" is simply not a valid EDI data format.  Dates in x12 are expressed as CCYYMMDD so December 30, 2013 would appear as 20131230.
    If you are receiving, you need to contact the sender and have them correct the output.
    If you are sending, you need to property format that date value.  For example:
    myDateVar.ToString("yyyyMMdd");

  • Java error "invalid data page"

    Hi, I am hoping someone can please help me... I am trying to access a real site that show live scoring updates and everytime I try, it continually says that the site is loading in in my java console it states that the error is an "invalid data page". Is anyone familiar with this error, and if so please help!!
    Thanks!!!

    I just read what I wrote and it didn't make much sense... what I meant to ask is:
    Hi, I am hoping someone can please help me... I am trying to access a web site that shows baseball live scoring updates and everytime I try, it continually says that the site is loading. Also, in my java console it states that the error is an "invalid data page". Is anyone familiar with this error, and if so please help!!
    Thanks!!!

  • "SharePoint list itme update error : Invalid data has been used to update the list item. The field you are trying to update may be read only."

    Hi Everyone,
    i am facing one problem ...
    when i am updating an SharePoint List item, it is throwing above error....
    This is my code......
     try
                    tbl = getListDateTable("NCR");
                    DataTable dt = tbl;
                    oWebsite = mysite.OpenWeb();
                    oList = oWebsite.Lists["NCR"];
                    SPListItem itemToUpdate = null;
                    foreach (SPListItem listItem in oList.Items)
                        listItem.Update();
                        workOrderID = Convert.ToInt32(txtTitle.Text);
                        itemToUpdate = listItem;
                    //SPListItem itemToUpdate = oList.GetItemById(workOrderID);
                    //itemToUpdate.Fields["Title"].ReadOnlyField = false;
                    //string str = ddlStatus.SelectedValue;
                    itemToUpdate["Title"] = txtTitle.Text;
                    itemToUpdate["JobNumber"] = txtJobNumber.Text;
                    itemToUpdate["PartNumber"] = txtPartNumber.Text;
                    itemToUpdate["PartDescription"] = txtPartDescription.Text;
                    //itemToUpdate["RequiredBy"] = txtRequiredBy.Text;
                    itemToUpdate["ReportedBy"] = txtReportedBy.Text;
                    itemToUpdate["WrittenBy"] = txtWrittenBy.Text;
                    //itemToUpdate["DateOpened"] = txtDateOpened.SelectedDate;
                    //itemToUpdate["DateClosed"] = txtDateClosed.SelectedDate;
                    itemToUpdate.Update();
                    oList.Update();
                   // bind();
                catch (Exception ex)
                    throw ex;
    Thanks
    viswanath

    Hi Viswanath,
    If you are using People/User Type Field Column then use below code methord
    SPUser user = web.EnsureUser(loginName);
    item["UserTypeFieldName"] = user;
    Lookup Type Field Column then use below code methord
    public static SPFieldLookupValue GetLookupFieldFromValue(string lookupValue,string lookupSourceColumn, SPList lookupSourceList)
    SPFieldLookupValue value = null;
    SPQuery query = new SPQuery();
    query.Query = "<Where><Eq><FieldRef Name='" + lookupSourceColumn + "'/><Value Type='Text'>" + lookupValue + "</Value></Eq></Where>";
    SPListItemCollection listItems = lookupSourceList.GetItems(query);
    if(listItems.Count > 0 )
    value = new SPFieldLookupValue(listItems[0].ID,lookupValue);
    return value;
    item["LookupField"] = GetLookupFieldFromValue(lookupfieldValue, lookupSourceColumn, listName);
    Please mark the replies as answers if they help or unmark if not.

  • Error Updating Data using a Web Service from BPM

    Hi there,
    I'm trying to update data in an oracle database using a webservice created in DSP and get the following errors. It appears that BPM is unable to find a name, but I'm not sure what name this is referring to. The web service is straight forward and takes in the original and current objects as arguments. I can successfully call the query and insert web services and have double checked my code for the update web service but can't figure out why this is failing. Any idea on why this error might be occurring, or any pointers on what I need to be aware of?
    Caused by: Task '0' in activity '/PlanSubmittal#Default-1.0/Interactive[ViewEditPlan]' for instance '/PlanSubmittal#Default-1.0/1/0' could not be successfully executed. The task failed while executing method 'AddEditWell_Router'.
    Caused by: The method 'AddEditWell_Router' from class 'xobject.Fuego__AutoGen__Screenflows__.__EditPlan' could not be successfully executed.
    Caused by: Could not retrieve name
    fuego.web.exception.WapiTaskFailedException: Task failed.
    Thanks.
    Azeem.

    Hi,
    For the same 'omni portlet' tutorial I am stuck whiile using 'http://webservices.oracle.com/WeatherWS/WeatherWS?WSDL' the error
    'Failed to open specified URL. Check the following: is the URL is active; is there a valid proxy setting or, if HTTP authentication is required, check user name and password. [http://webservices.oracle.com/WeatherWS/WeatherWS?WSDL]'
    get dispalyed. Any quick pointers to resolve this please..
    Thanks,
    Kalyan.

  • Update Rule Error ( Invalid Data) while load 0VENDOR

    Hello All,
    I have attributes like  0POSTAL_CD of 10 Char (Postal Code) and 0SORTL 0f 10 Char (Sort Field) of Vendor. From yesterday onwards the Production master data loads for 0VENDOR started failing saying:
    Record 211 :0POSTALCODE : Data record 211 ('03 2VEN4000040 '): Version 'HK HONG KONG ' is not valid
    Record 136 :0SORTL : Data record 136 ('0002000175 '): Version 'SATTLER, I ' is not valid
    Solutions tried:
    Interstingly what we found is: when u edit the PSA data for the above records and again input the same values, the load runs fine.
    I found  this thread some what relating to my problem, but I could'nt get the solution.
    Please help to solve this issue which I am facing alone....... Thanks for your support

    Hi Ram,
    Really add more valid char is a possible option, but in your case I dont believe that was a good idea...
    I believe that this msg is an automatic master data validation.
    Ex:
    0SORT:  is not valid use comma ( , ) or sapce in this field
    0POSTALCODE: the value  'HK HONG KONG '  dont seems to be a correct value for a zip code
    I belive that this validation is not about allowed extra-char
    Check both InoObject and see wich datatype support.
    Hope this Help!

  • Error trying to use load-externs in a module project

    Hi:
    I am trying to implement modules in my application. I have
    read the documentation and learned that if i want to reduce the
    size of my modules i have to use the link-report and load-externs
    compiler options (the first in the main project and the second in
    the modules)
    This is the line that i use in the "Additional compiler
    arguments" section of the the main project:
    -locale en_US -use-network=true -optimize=true
    -link-report=C:\report.xml
    The file is created in the specified location but......
    when i try to use report.xml in the load-externs argument of
    the module project i get the next error:
    "could not open 'C:\report.xml' while processing
    configuration variable 'load-externs'
    The line tha i use is this:
    -locale en_US -use-network=true -optimize=true
    -load-externs=C:\report.xml
    I am using Flex Builder 2.01
    I'll appreciate your help
    Thanks
    GBY

    Hi
    This answer is 3 1/2 years too late, but someone else might find it helpful.
    Saw your question and was looking for the same answer. Eventually translated this spanish site to english.
    Solution: you need to copy the linkReport.xml to the root folder of your module project i.e. the same directory as
    your [ModuleName].mxml file.
    Good luck
    Brian

  • Error in uploading the data using BDC

    Hi All,
    I developed a BDC to upload the data for Infotype-0195.When I am trying to upload the flatfile using Functional Module option I am getting the error Invalid Date Format.
    Can anyone please help me out giving the solution..........
    Thanks in advance,
    Deepika

    Hi Avinash,
    I am passing the date field in the format MM/DD/YYYY but in the program i am converting to the format YYYYMMDD using concatenate and then passing the value to the FM but still I am getting the error.
    For ur convenience I am sending the code
    *-- Includes Declaration                                               *
    INCLUDE zixx_data_upload.
    INCLUDE zixx_conversion_log.
    INCLUDE bdcrecx1.
    *-- SELECTION SCREEN                                                   *
    SELECTION-SCREEN BEGIN OF BLOCK funcmod WITH FRAME TITLE text-t01.
    PARAMETERS : p_fm   TYPE c AS CHECKBOX.
    PARAMETERS : p_ctumod TYPE ctu_mode DEFAULT '0',
                 p_date TYPE c AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK funcmod.
    TYPES Declaration.
    Types decalration for flat file structure
    *Declaration for internal table/wa for flat file structure
    TYPES: BEGIN OF gt_data,
              pernr TYPE rp50g-pernr,
              begda(10) TYPE c,
              endda(10) TYPE c,
              gcase     TYPE pb10_gcase,
              objps TYPE p0195-objps,
              ordcd TYPE p0195-ordcd,
              rulid TYPE p0195-rulid,
              ibaln(13) TYPE c,
              deduc(13) TYPE c,
              dedut TYPE p0195-dedut,
              li1no TYPE q0195-li1no,
              li1ex TYPE q0195-li1ex,
              nval1(13) TYPE c,
              nuni1 TYPE p0195-nuni1,
              li2no TYPE q0195-li1no,
              li2ex TYPE q0195-li2ex,
              nval2(13) TYPE c,
              nuni2 TYPE p0195-nuni2,
              addno TYPE q0195-addno,
              addex TYPE q0195-addex,
              addvl(13) TYPE c,
              addun TYPE p0195-addun,
              fstat TYPE p0195-fstat,
              exemp TYPE p0195-exemp,
              addde TYPE p0195-addde,
              levda(10) TYPE c,
              fild1 TYPE p0195-fild1,
              fild2 TYPE p0195-fild2,
              fild3 TYPE p0195-fild3,
              fild4 TYPE p0195-fild4,
            END OF gt_data,
            BEGIN OF gt_0194,
               pernr TYPE p0194-pernr,
               begda TYPE p0194-begda,
               endda TYPE p0194-endda,
               subty TYPE p0194-subty,
               lifnr TYPE p0194-lifnr,
               schid TYPE p0194-schid,
               rulnr TYPE p0194-rulnr,
               plain TYPE p0194-plain,
               orign TYPE p0194-orign,
               orcod TYPE p0194-orcod,
               ornam TYPE p0194-ornam,
               orstr TYPE p0194-orstr,
               orort TYPE p0194-orort,
               orreg TYPE p0194-orreg,
               orcnt TYPE p0194-orcnt,
               orplz TYPE p0194-orplz,
               lapdy TYPE p0194-lapdy,
               lapdt TYPE p0194-lapdt,
               gcase TYPE p0194-gcase,
               gprio TYPE p0194-gprio,
               gcate TYPE p0194-gcate,
               gstat TYPE p0194-gstat,
               rcvdd TYPE p0194-rcvdd,
               rlsdd TYPE p0194-rlsdd,
               scrul TYPE p0194-scrul,
            END OF gt_0194.
    TYPES: BEGIN OF gt_data_d,
              pernr TYPE rp50g-pernr,
              begda(10) TYPE c,
              endda(10) TYPE c,
              gcase     TYPE pb10_gcase,
              objps TYPE p0195-objps,
              ordcd TYPE p0195-ordcd,
              rulid TYPE p0195-rulid,
              ibaln(13) TYPE c,
              deduc(13) TYPE c,
              dedut TYPE p0195-dedut,
              li1no TYPE q0195-li1no,
              li1ex TYPE q0195-li1ex,
              nval1(13) TYPE c,
              nuni1 TYPE p0195-nuni1,
              li2no TYPE q0195-li1no,
              li2ex TYPE q0195-li2ex,
              nval2(13) TYPE c,
              nuni2 TYPE p0195-nuni2,
              addno TYPE q0195-addno,
              addex TYPE q0195-addex,
              addvl(13) TYPE c,
              addun TYPE p0195-addun,
              fstat TYPE p0195-fstat,
              exemp TYPE p0195-exemp,
              addde TYPE p0195-addde,
              fild1 TYPE p0195-fild1,
              fild2 TYPE p0195-fild2,
              fild3 TYPE p0195-fild3,
              fild4 TYPE p0195-fild4,
            END OF gt_data_d.
    INTERNAL TABLE/WORK AREA Declaration.
    *Declaration for internal table/wa for flat file structure
    DATA:    gi_data       TYPE TABLE OF gt_data,
             gw_data       TYPE gt_data,
             gi_0194       TYPE TABLE OF gt_0194,
             gw_0194       TYPE gt_0194,
    *Declaration for BDCDATA
            gi_bdcdata     TYPE STANDARD TABLE OF bdcdata,
            gw_bdcdata     TYPE bdcdata,
    *Declaration for BDCMSGCOLL
            gi_bdcmsgcoll  TYPE TABLE OF bdcmsgcoll,
            gw_bdcmsgcoll  TYPE bdcmsgcoll,
             gi_data_d     TYPE TABLE OF gt_data_d,
             gw_data_d     TYPE gt_data_d,
             gw_p0195      TYPE p0195,
             gw_p0194      TYPE pa0194.
    DATA: gw_return TYPE bapireturn1,
    *Declaration for Global Variables
            gv_count(5)    TYPE c VALUE 0.
    *Declaration for constants
    CONSTANTS: gc_update               VALUE 'L',
               gc_msgid(2)             VALUE 'PG',
               gc_s_msgid(3)           VALUE '102',
               gc_pa30 TYPE tstc-tcode VALUE 'PA30',
               gc_200(3)               VALUE '200'.
    *-- AT SELECTION SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
      nodata = ' '.
      group = sy-uname.
    *To change the screen attributes dynamically.
      PERFORM upload_screen_output.
    *-- START-OF-SELECTION                                                 *
    START-OF-SELECTION.
      IF p_date = 'X'.
    *-- Routine to upload the file data
        PERFORM upload USING 'X'       "HAS_SEPARATOR
                             'ASC'     "File Type
                             space     "ALT_SEPARATOR Alternate separator
                             'X'       "DISPLAY_ERROR
                             'X'       "ERROR_OCCURRED
                             gi_data. "TABLE Table to upload into
        IF NOT gi_data IS INITIAL.
          SELECT pernr begda endda subty
                 lifnr schid rulnr
                 plain orign orcod
                 ornam orstr orort
                 orreg orcnt orplz
                 lapdy lapdt gcase
                 gprio gcate gstat
                 rcvdd rlsdd scrul
            FROM pa0194
            INTO TABLE gi_0194
             FOR ALL ENTRIES IN gi_data
           WHERE pernr = gi_data-pernr
             AND gcase = gi_data-gcase.
    *-- Routine to perform bdc
          IF sy-subrc IS INITIAL.
            IF p_fm NE 'X'.
              PERFORM bdc.
            ELSE.
              PERFORM function_module.
            ENDIF.
          ENDIF.
        ENDIF.
      ELSE.
    *-- Routine to upload the file data
        PERFORM upload USING 'X'       "HAS_SEPARATOR
                             'ASC'     "File Type
                             space     "ALT_SEPARATOR Alternate separator
                             'X'       "DISPLAY_ERROR
                             'X'       "ERROR_OCCURRED
                             gi_data_d. "TABLE Table to upload into
        IF NOT gi_data_d IS INITIAL.
          IF p_fm EQ 'X'.
            PERFORM function_module.
          ENDIF.
        ENDIF.
      ENDIF.
    *Perform to insert the filename in Z-Table and move the file from New
    *to Processed in APP Server.
      SORT gi_log BY msg_typ.
      READ TABLE gi_log INTO gw_log WITH KEY msg_typ = 'E' BINARY SEARCH.
      IF sy-subrc <> '0'.
        PERFORM file_moving USING gi_data.
      ENDIF.
    *-- END-OF-SELECTION                                                   *
    END-OF-SELECTION.
    *-- Routine to display conversion log
      PERFORM log_display.
      Subroutine Pool
    *&      Form  BDC
          Routine to perform bdc
    FORM bdc .
    *Data declaration for collecting success and error records
      DATA: lv_success(5)     TYPE c VALUE 0,
            lv_begda  TYPE string,
            lv_rlsdd  TYPE string,
            lv_lapdt  TYPE string,
            lv_endda  TYPE string,
            lv_rcvdd  TYPE string.
      gv_count = 0.
      PERFORM open_group.
      SORT gi_0194 BY pernr gcase.
      LOOP AT gi_data INTO gw_data.
        gv_count = gv_count + 1.
        READ TABLE gi_0194 INTO gw_0194 WITH KEY pernr = gw_data-pernr
                                                 gcase = gw_data-gcase.
        IF sy-subrc = 0.
       LOOP AT gi_0194 INTO gw_0194 WHERE gcase = gw_data-grnum.
          MOVE gw_0194-begda TO lv_begda.
          MOVE gw_0194-endda TO lv_endda.
    *FUNCTION MODULE TO CONVERT DATE FORMAT
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = lv_begda
            IMPORTING
              ef_date = lv_begda.
          CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
            EXPORTING
              if_date = lv_endda
            IMPORTING
              ef_date = lv_endda.
          PERFORM bdc_dynpro      USING 'SAPMP50A' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=MOD'.
          PERFORM bdc_field       USING 'RP50G-PERNR'
                                        gw_data-pernr.
          PERFORM bdc_field       USING 'RP50G-TIMR6'
                                        'X'.
          PERFORM bdc_field       USING 'RP50G-CHOIC'
                                        '0194'.
          PERFORM bdc_field       USING 'RP50G-SUBTY'
                                        gw_0194-subty.
          PERFORM bdc_dynpro      USING 'MP019400' '2000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=GROR'.
          PERFORM bdc_field       USING 'P0194-BEGDA'
                                        lv_begda.
          PERFORM bdc_field       USING 'P0194-ENDDA'
                                        lv_endda.
          PERFORM bdc_field       USING 'P0194-LIFNR'
                                        gw_0194-lifnr.
          PERFORM bdc_field       USING 'P0194-SCHID'
                                        gw_0194-schid.
          PERFORM bdc_field       USING 'P0194-RULNR'
                                        gw_0194-rulnr.
          PERFORM bdc_field       USING 'P0194-pLAIN'
                                        gw_0194-plain.
          PERFORM bdc_field       USING 'P0194-ORIGN'
                                        gw_0194-orign.
          PERFORM bdc_field       USING 'P0194-ORCOD'
                                        gw_0194-orcod.
          PERFORM bdc_field       USING 'P0194-ORNAM'
                                        gw_0194-ornam.
          PERFORM bdc_field       USING 'P0194-ORSTR'
                                        gw_0194-orstr.
          PERFORM bdc_field       USING 'P0194-ORORT'
                                        gw_0194-orort.
          PERFORM bdc_field       USING 'P0194-ORREG'
                                        gw_0194-orreg.
          PERFORM bdc_field       USING 'P0194-ORCNT'
                                        gw_0194-orcnt.
          PERFORM bdc_field       USING 'P0194-ORPLZ'
                                        gw_0194-orplz.
          PERFORM bdc_field       USING 'P0194-LAPDY'
                                        gw_0194-lapdy.
          IF gw_0194-lapdt IS NOT INITIAL.
            MOVE gw_0194-lapdt TO lv_lapdt.
            CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
              EXPORTING
                if_date = lv_lapdt
              IMPORTING
                ef_date = lv_lapdt.
            PERFORM bdc_field       USING 'P0194-LAPDT'
                                          lv_lapdt.
          ENDIF.
          PERFORM bdc_field       USING 'P0194-GCASE'
                                        gw_0194-gcase.
          PERFORM bdc_field       USING 'P0194-GPRIO'
                                        gw_0194-gprio.
          PERFORM bdc_field       USING 'P0194-GCATE'
                                        gw_0194-gcate.
          PERFORM bdc_field       USING 'P0194-GSTAT'
                                        gw_0194-gstat.
          IF gw_0194-rcvdd IS NOT INITIAL.
            MOVE gw_0194-rcvdd TO lv_rcvdd.
            CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
              EXPORTING
                if_date = lv_rcvdd
              IMPORTING
                ef_date = lv_rcvdd.
            PERFORM bdc_field       USING 'P0194-RCVDD'
                                          lv_rcvdd.
          ENDIF.
          IF gw_0194-rlsdd IS NOT INITIAL.
            MOVE gw_0194-rlsdd TO lv_rlsdd.
            CALL FUNCTION '/SAPDII/SPP05_CONVERT_DATE'
              EXPORTING
                if_date = lv_rlsdd
              IMPORTING
                ef_date = lv_rlsdd.
            PERFORM bdc_field       USING 'P0194-RLSDD'
                                          lv_rlsdd.
          ENDIF.
          PERFORM bdc_field       USING 'P0194-SCRUL'
                                        gw_0194-scrul.
         PERFORM bdc_dynpro      USING 'SAPLSPO1' '0200'.
         PERFORM bdc_field       USING 'BDC_CURSOR'
                                       'SPOP-TEXTLINE1'.
         PERFORM bdc_field       USING 'BDC_OKCODE'
                                       '=YES'.
          PERFORM bdc_dynpro      USING 'SAPLSPO1' '0200'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'SPOP-TEXTLINE1'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=YES'.
          PERFORM bdc_dynpro      USING 'MP019500' '2000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=UPD'.
          PERFORM bdc_field       USING 'P0195-BEGDA'
                                        gw_data-begda.
          PERFORM bdc_field       USING 'P0195-ENDDA'
                                        gw_data-endda.
          PERFORM bdc_field       USING 'P0195-ORDCD'
                                        gw_data-ordcd.
          PERFORM bdc_field       USING 'P0195-RULID'
                                        gw_data-rulid.
          PERFORM bdc_field       USING 'P0195-IBALN'
                                        gw_data-ibaln.
          PERFORM bdc_field       USING 'P0195-DEDUC'
                                        gw_data-deduc.
          PERFORM bdc_field       USING 'P0195-DEDUT'
                                        gw_data-dedut.
    Begin of Insertion V2.0 by S.NATARAJAN
         IF ( ( gw_data-li1no = '1' AND gw_data-li1ex = ''  ) OR
              ( gw_data-li1no = ''  AND gw_data-li1ex = ''  ) ).
          IF ( ( gw_data-li1no = '1' AND gw_data-li1ex = ''  ) OR
               ( gw_data-li1no = ''  AND gw_data-li1ex = ''  ) OR
               ( gw_data-li1no = ''  AND gw_data-li1ex = '2' ) ).
    End of Insertion V2.0 by S.NATARAJAN
            PERFORM bdc_field       USING 'Q0195-LI1NO'
                                          'X'.
            PERFORM bdc_field       USING 'P0195-NVAL1'
                                          gw_data-nval1.
            PERFORM bdc_field       USING 'P0195-NUNI1'
                                          gw_data-nuni1.
    Begin of Insertion V2.0 by S.NATARAJAN
         ELSEIF  gw_data-li1no = '' AND gw_data-li1ex = '2'  .
          ELSEIF ( gw_data-li1no = '' AND gw_data-li1ex = '1' ) .
    End of Insertion V2.0 by S.NATARAJAN
            PERFORM bdc_field       USING 'Q0195-LI1EX'
                                          'X'.
            PERFORM bdc_field       USING 'P0195-NVAL1'
                                          gw_data-nval1.
            PERFORM bdc_field       USING 'P0195-NUNI1'
                                          gw_data-nuni1.
          ENDIF.
    Begin of Insertion V2.0 by S.NATARAJAN
         IF ( ( gw_data-li2no = '1' AND gw_data-li2ex = ''  ) OR
              ( gw_data-li2no = ''  AND gw_data-li2ex = ''  ) ).
          IF ( ( gw_data-li2no = '1' AND gw_data-li2ex = ''  ) OR
               ( gw_data-li2no = ''  AND gw_data-li2ex = ''  ) OR
               ( gw_data-li2no = ''  AND gw_data-li2ex = '2' ) ).
            PERFORM bdc_field       USING 'Q0195-LI2NO'
                                          'X'.
            PERFORM bdc_field       USING 'P0195-NVAL2'
                                          gw_data-nval2.
            PERFORM bdc_field       USING 'P0195-NUNI2'
                                          gw_data-nuni2.
    Begin of Insertion V2.0 by S.NATARAJAN
         ELSEIF  ( gw_data-li2no = '' AND gw_data-li2ex = '2' ).
          ELSEIF  ( gw_data-li2no = '' AND gw_data-li2ex = '1' ).
    End of Insertion V2.0 by S.NATARAJAN
            PERFORM bdc_field       USING 'Q0195-LI2EX'
                                          'X'.
            PERFORM bdc_field       USING 'P0195-NVAL2'
                                          gw_data-nval2.
            PERFORM bdc_field       USING 'P0195-NUNI2'
                                          gw_data-nuni2.
          ENDIF.
    Begin of Insertion V2.0 by S.NATARAJAN
         IF ( ( gw_data-addno = '1' AND gw_data-addex = ''  ) OR
              ( gw_data-addno = ''  AND gw_data-addex = ''  ) ).
    End of Insertion V2.0 by S.NATARAJAN
          IF ( ( gw_data-addno = '1' AND gw_data-addex = ''  ) OR
               ( gw_data-addno = ''  AND gw_data-addex = ''  ) OR
               ( gw_data-addno = ''  AND gw_data-addex = '2' ) ) .
            PERFORM bdc_field       USING 'Q0195-ADDNO'
                                          'X'.
            PERFORM bdc_field       USING 'P0195-ADDVL'
                                          gw_data-addvl.
            PERFORM bdc_field       USING 'P0195-ADDUN'
                                          gw_data-addun.
    Begin of Insertion V2.0 by S.NATARAJAN
    *ELSEIF  gw_data-addno = '' AND gw_data-addex = '2' .
          ELSEIF ( gw_data-addno = '' AND gw_data-addex = '1' ).
    End of Insertion V2.0 by S.NATARAJAN
            PERFORM bdc_field       USING 'Q0195-ADDEX'
                                          'X'.
            PERFORM bdc_field       USING 'P0195-ADDVL'
                                          gw_data-addvl.
            PERFORM bdc_field       USING 'P0195-ADDUN'
                                          gw_data-addun.
          ENDIF.
          PERFORM bdc_dynpro      USING 'MP019500' '2000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=UPD'.
          PERFORM bdc_dynpro      USING 'MP019400' '2000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/EBCK'.
          PERFORM bdc_dynpro      USING 'SAPLSPO1' '0200'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'SPOP-TEXTLINE1'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=YES'.
          PERFORM bdc_dynpro      USING 'SAPLSPO1' '0200'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'SPOP-TEXTLINE1'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=YES'.
          PERFORM bdc_dynpro      USING 'MP019500' '2000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=UPD'.
         CALL TRANSACTION gc_pa30 USING gi_bdcdata
                                   MODE p_ctumod
                                 UPDATE gc_update
                               MESSAGES INTO gi_bdcmsgcoll.
          PERFORM bdc_transaction USING gc_pa30.
          gi_bdcmsgcoll[] = messtab[].
          LOOP AT gi_bdcmsgcoll INTO gw_bdcmsgcoll.
            IF gw_bdcmsgcoll-msgnr NE gc_200.
              IF gw_bdcmsgcoll-msgid = gc_msgid.
                IF gw_bdcmsgcoll-msgnr EQ gc_s_msgid.
                  ADD 1 TO lv_success.
                ENDIF.
              ENDIF.
              gw_log-msg_id   = gw_bdcmsgcoll-msgid.
              gw_log-msg_num  = gw_bdcmsgcoll-msgnr.
              gw_log-msg_key  = gw_bdcmsgcoll-msgv1.
              gw_log-msg_typ  = gw_bdcmsgcoll-msgtyp.
              gw_log-rec_no   = gv_count.
              CALL FUNCTION 'FORMAT_MESSAGE'
                EXPORTING
                  id        = gw_log-msg_id
                  no        = gw_log-msg_num
                  v1        = gw_bdcmsgcoll-msgv1
                  v2        = gw_bdcmsgcoll-msgv2
                  v3        = gw_bdcmsgcoll-msgv3
                  v4        = gw_bdcmsgcoll-msgv4
                IMPORTING
                  msg       = gw_log-msg_txt
                EXCEPTIONS
                  not_found = 1
                  OTHERS    = 2.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDIF.
              CONCATENATE gw_log-msg_txt 'for Personnel No -' ''''
                          gw_data-pernr '''' 'Case -' '''' gw_data-gcase
                          '''' INTO gw_log-msg_txt SEPARATED BY space.
              APPEND gw_log TO gi_log.
              REFRESH gi_bdcmsgcoll.
            ENDIF.
          ENDLOOP.
          CLEAR : lv_begda,lv_endda,
                  lv_lapdt,lv_rlsdd.
        ELSE.
          gw_log-msg_id = 'CUST'.
          gw_log-msg_num = 'XXX'.
          gw_log-msg_key  = 'USK'.
          gw_log-msg_typ  = 'E'.
          gw_log-rec_no   = gv_count.
          CONCATENATE 'Case -' '''' gw_data-gcase ''''
                      'does not exists for Personnel No -'
                      '''' gw_data-pernr ''''
                       INTO gw_log-msg_txt SEPARATED BY space.
          APPEND gw_log TO gi_log.
        ENDIF.
       ENDLOOP.
        CLEAR : gw_0194, gw_data.
        REFRESH gi_bdcdata.
      ENDLOOP.
      FREE gi_data.
      gv_tot_rec = gv_count.
      gv_suc_rec = lv_success.
      gv_err_rec = gv_count - lv_success.
      gv_ifnam   = p_upfile.
      PERFORM close_group.
    ENDFORM.                    " BDC
    *&      Form  FUNCTION_MODULE
          text
    FORM function_module .
      IF p_date = 'X'.
        LOOP AT gi_data INTO gw_data.
          gv_count = gv_count + 1.
          SELECT SINGLE pernr begda endda subty grnum
            FROM pa0194
            INTO CORRESPONDING FIELDS OF gw_p0194
           WHERE pernr = gw_data-pernr
             AND gcase = gw_data-gcase.
          IF sy-subrc = 0.
            MOVE-CORRESPONDING gw_data TO gw_p0195.
            CONCATENATE gw_data-begda6(4) gw_data-begda3(2)
                        gw_data-begda+0(2)
                       INTO gw_p0195-begda.
            CONCATENATE gw_data-endda6(4) gw_data-endda3(2)
                        gw_data-endda+0(2)
                       INTO gw_p0195-endda.
            CONCATENATE gw_data-levda6(4) gw_data-levda3(2)
                        gw_data-levda+0(2)
                       INTO gw_p0195-levda.
            gw_p0195-grnum = gw_p0194-grnum.
            gw_p0195-nein1 = ' '.
            gw_p0195-nein2 = ' '.
            gw_p0195-addin = ' '.
            IF ( gw_data-li1no = '' AND gw_data-li1ex = '1' ) .
              gw_p0195-nein1 = '1'.
            ELSEIF ( gw_data-li1ex = '2' OR gw_data-li1ex = '' ).
              gw_p0195-nein1 = '2'.
            ENDIF.
            IF ( gw_data-li2no = '' AND gw_data-li2ex = '1' ) .
              gw_p0195-nein2 = '1'.
            ELSEIF ( gw_data-li2ex = '2' OR gw_data-li2ex = '' ).
              gw_p0195-nein2 = '2'.
            ENDIF.
            IF ( gw_data-addno = '' AND gw_data-addex = '1' ) .
              gw_p0195-addin = '1'.
            ELSEIF ( gw_data-addex = '2' OR gw_data-addex = '' ).
              gw_p0195-addin = '2'.
            ENDIF.
            CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
              EXPORTING
                number = gw_p0195-pernr
              IMPORTING
                return = gw_return.
            IF gw_return-type NE 'E'.
              CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                EXPORTING
                  infty         = '0195'
                  number        = gw_p0195-pernr
                  validityend   = gw_p0195-endda
                  validitybegin = gw_p0195-begda
                  record        = gw_p0195
                  operation     = 'INS'
                  dialog_mode   = p_ctumod                      "Mod-01
                  tclas         = 'A'
                  nocommit      = ' '
                IMPORTING
                  return        = gw_return.
              CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
                EXPORTING
                  number = gw_p0195-pernr.
            ENDIF.
            IF gw_return IS NOT INITIAL.
              gw_log-msg_id = gw_return-id.
              gw_log-msg_num = gw_return-number.
              CONCATENATE gw_data-pernr gw_data-gcase INTO
              gw_log-msg_key SEPARATED BY '|'.
              gw_log-msg_typ  = gw_return-type.
              gw_log-rec_no   = gv_count.
              gw_log-msg_txt  = gw_return-message.
            ELSE.
              gw_log-msg_id = 'CUST'.
              gw_log-msg_num =  '000'.
              CONCATENATE gw_data-pernr gw_data-gcase INTO
              gw_log-msg_key SEPARATED BY '|'.
              gw_log-msg_typ  = 'S'.
              gw_log-rec_no   = gv_count.
              gw_log-msg_txt  = 'Record Created'(t02).
            ENDIF.
          ELSE.
            gw_log-msg_id = 'CUST'.
            gw_log-msg_num = 'XXX'.
            CONCATENATE gw_data-pernr gw_data-gcase INTO
            gw_log-msg_key SEPARATED BY '|'.
            gw_log-msg_typ  = 'E'.
            gw_log-rec_no   = gv_count.
            gw_log-msg_txt  =  'Case does not exists for Personnel No'(t03).
          ENDIF.
          APPEND gw_log TO gi_log.
          CLEAR : gw_log,gw_return,gw_data,gw_p0194,gw_p0195.
        ENDLOOP.
      ELSE.
        LOOP AT gi_data_d INTO gw_data_d.
          gv_count = gv_count + 1.
          SELECT SINGLE pernr begda endda subty grnum
            FROM pa0194
            INTO CORRESPONDING FIELDS OF gw_p0194
           WHERE pernr = gw_data_d-pernr
             AND gcase = gw_data_d-gcase.
          IF sy-subrc = 0.
            MOVE-CORRESPONDING gw_data_d TO gw_p0195.
            CONCATENATE gw_data_d-begda6(4) gw_data_d-begda3(2)
         gw_data_d-begda+0(2)
                       INTO gw_p0195-begda.
            CONCATENATE gw_data_d-endda6(4) gw_data_d-endda3(2)
         gw_data_d-endda+0(2)
                       INTO gw_p0195-endda.
            gw_p0195-grnum = gw_p0194-grnum.
            gw_p0195-nein1 = ' '.
            gw_p0195-nein2 = ' '.
            gw_p0195-addin = ' '.
            IF ( gw_data_d-li1no = '' AND gw_data_d-li1ex = '1' ) .
              gw_p0195-nein1 = '1'.
            ELSEIF ( gw_data_d-li1ex = '2' OR gw_data_d-li1ex = '' ).
              gw_p0195-nein1 = '2'.
            ENDIF.
            IF ( gw_data_d-li2no = '' AND gw_data_d-li2ex = '1' ) .
              gw_p0195-nein2 = '1'.
            ELSEIF ( gw_data_d-li2ex = '2' OR gw_data_d-li2ex = '' ).
              gw_p0195-nein2 = '2'.
            ENDIF.
            IF ( gw_data_d-addno = '' AND gw_data_d-addex = '1' ) .
              gw_p0195-addin = '1'.
            ELSEIF ( gw_data_d-addex = '2' OR gw_data_d-addex = '' ).
              gw_p0195-addin = '2'.
            ENDIF.
            CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
              EXPORTING
                number = gw_p0195-pernr
              IMPORTING
                return = gw_return.
            IF gw_return-type NE 'E'.
              CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                EXPORTING
                  infty         = '0195'
                  number        = gw_p0195-pernr
                  validityend   = gw_p0195-endda
                  validitybegin = gw_p0195-begda
                  record        = gw_p0195
                  operation     = 'INS'
                  dialog_mode   = p_ctumod                      "Mod-01
                  tclas         = 'A'
                  nocommit      = ' '
                IMPORTING
                  return        = gw_return.
              CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
                EXPORTING
                  number = gw_p0195-pernr.
            ENDIF.
            IF gw_return IS NOT INITIAL.
              gw_log-msg_id = gw_return-id.
              gw_log-msg_num = gw_return-number.
              CONCATENATE gw_data_d-pernr gw_data_d-gcase INTO
              gw_log-msg_key SEPARATED BY '|'.
              gw_log-msg_typ  = gw_return-type.
              gw_log-rec_no   = gv_count.
              gw_log-msg_txt  = gw_return-message.
            ELSE.
              gw_log-msg_id = 'CUST'.
              gw_log-msg_num =  '000'.
              CONCATENATE gw_data_d-pernr gw_data_d-gcase INTO
              gw_log-msg_key SEPARATED BY '|'.
              gw_log-msg_typ  = 'S'.
              gw_log-rec_no   = gv_count.
              gw_log-msg_txt  = 'Record Created'(t02).
            ENDIF.
          ELSE.
            gw_log-msg_id = 'CUST'.
            gw_log-msg_num = 'XXX'.
            CONCATENATE gw_data_d-pernr gw_data_d-gcase INTO
            gw_log-msg_key SEPARATED BY '|'.
            gw_log-msg_typ  = 'E'.
            gw_log-rec_no   = gv_count.
           gw_log-msg_txt  =  'Case does not exists for Personnel No '(t03).
          ENDIF.
          APPEND gw_log TO gi_log.
          CLEAR : gw_log,gw_return,gw_data_d,gw_p0194,gw_p0195.
        ENDLOOP.
      ENDIF.
    ENDFORM.
    Thanks.

Maybe you are looking for

  • WHY THIS IS NOT WORKING

    CAN ANY ONE TELL ME THIS SIMPLE SELECT STATEMENT NOT WORKING PLEASE DATA IS NOT COMING TYPES: BEGIN OF TY_ITAB,         F(3) TYPE C,         F1(8) TYPE N,         F2(8) TYPE N,         F3(10) TYPE C,         F4(2) TYPE C,         F5(5) TYPE C,       

  • Why is my 3D menu greyed out? (Photoshop CC)

    Sorry if I'm asking this in the wrong place, first time I attempt using these forums! I have recently installed Photoshop CC, and I'm experiencing that the 3D menu is all greyed out - I remember using it without problems in CS5. System Info Adobe Pho

  • Dependent Object persistence in EJB 1.1

    Please take a look at the following container-managed entity EJB code: //REMOTE INTERFACE //---------------------- import javax.ejb.EJBObject; import java.rmi.RemoteException; public interface Product extends EJBObject { public void setPrice(double p

  • Import Subtitle File (STL)

    Hi - I am trying to work out how to import a text subtitle file for use with DVD Studio Pro 4. I've been reading the manual and, from Page 456 it gave this example: $FontName = Arial $FontSize = 65 //The following subtitles are for scene one. 00:00:1

  • Website goes blank

    Using Internet Explorer, I am able to access the website rci.com, but when I get to a certain point, after logging in, the page I am looking for appears for a split second, then goes to white, and I can go no further. This does not happen on my daugh