Plz correct Code given or tell error

Hi all,
I am trying to find solution but no result.
The code is given below. It compile without any error... but when run it, it gives an error
" Object read error ! Writing aborted; java.io.NotSerializableException Class name
Exception in Thread "main" java.lang.NullPointerException "
import java.io.*;
public class MemberMaintainer
public static void main(String[] args) throws IOException, ClassNotFoundException
Membership membs = null;
try {
FileInputStream fis = new FileInputStream("Membership.data");
ObjectInputStream ois = new ObjectInputStream(fis);
ClubMember.membershipNumber = ois.readInt();
membs = (Membership)ois.readObject();
ois.close();
catch(FileNotFoundException e)
membs = new Membership(5);
catch(Exception e)
System.out.println( "Object read error! " + e.getMessage() );
// System.exit( 1 );
I hope i will get reply positively
Regards,
Dave

Thanks for reply dear,
I also request you to plz tell me the solution means how to rectify this error.
Regards,
Dave

Similar Messages

  • CS5 telling me to update, but updates won't install (no error code given)

    I have been trying to install the updates my CS5 has been telling me to do but every time I run the update program, it goes through the process and then says there was an error in updating all my programs. I have restarted my computer, I have shut everything down...I have done EVERYTHING possible. At this point in time, my company (which is a not-for-profit) cannot afford to upgrade my software to the CS6 cloud based system, therefore I need to be able to upgrade the software I am on currently to continue doing the work I need to do.
    Additionally, there is no error code given when the updates finish, so I can't even look up the error code or post the error code here to help narrow down the issue.
    PLEASE HELP!!!!
    Thank you so much
    Audra

    Hi Audra,
    Please try downloading and installing the updates manually from : http://www.adobe.com/downloads/updates.html
    In case you still face issues, please try the following :
    > Disable all Non-Microsoft Startup Services. (Ref : http://helpx.adobe.com/x-productkb/global/disable-startup-items-services-windows.html )
    > Disable all the Antivirus softwares like CA, Norton,Mc Afee etc. temporarily from the computer.
    Reboot and try installing in the new enabled Admin user account and check.
    Regards,
    Rave

  • PROBLE IN ADDING A FIELD IN STRUCTURE...PLZ CORRECT THIS CODE

    HI, PLZ CORRECT IT.
    TYPES : BEGIN OF FS_OUTPUT .
          TEXT(20) TYPE C.
            INCLUDE STRUCTURE HRPDV_EXPIRED_Q.
    TYPES       TEXT(20) TYPE C.
    TYPES    END OF FS_OUTPUT.
    LOOP AT P_GT_FIELDCAT INTO WA_FIELDCAT.
        l_tabix = sy-tabix.
        CASE WA_FIELDCAT-FIELDNAME.
          when 'OTYPE'.
            WA_FIELDCAT-DDICTXT = 'L'.
          when 'SOBID'.
            WA_FIELDCAT-DDICTXT = 'L'.
          WHEN 'STEXT'.
            WA_FIELDCAT-DDICTXT = 'L'.
          when 'PTYPE'.
            WA_FIELDCAT-DDICTXT = 'L'.
          when 'POBID'.
            WA_FIELDCAT-DDICTXT = 'L'.
          when 'PSHORT'.
            WA_FIELDCAT-DDICTXT = 'L'.
          WHEN 'PTEXT'.
            WA_FIELDCAT-DDICTXT = 'L'.
          WHEN 'QUALID'.
            WA_FIELDCAT-DDICTXT = 'L'.
          WHEN 'QUALSTXT'.
            WA_FIELDCAT-DDICTXT = 'L'.
          WHEN 'EXPBEGDA'.
            WA_FIELDCAT-DDICTXT = 'L'.
          WHEN 'EXPENDDA'.
            WA_FIELDCAT-DDICTXT = 'L'.
          WHEN 'ICON_S_EVENTS'.
            IF P_H_EVENTS IS INITIAL.
              WA_FIELDCAT-NO_OUT = 'X'.
            else.
              WA_FIELDCAT-DDICTXT = 'X'.
            endif.
        ENDCASE.
        MODIFY P_GT_FIELDCAT FROM WA_FIELDCAT INDEX l_tabix.
      ENDLOOP.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = ' TEXT '.
      WA_FIELDCAT-SELTEXT_1 = hTEXT.
      wa_fieldcat-tabname   = ALV_OUTPUT.
      APPEND WA_FIELDCAT TO P_GT_FIELDCAT.
    ENDFORM.

    As you have added te fields below, add the other required fields:
    when 'OTYPE'.
    WA_FIELDCAT-DDICTXT = 'L'.
    when 'SOBID'.
    WA_FIELDCAT-DDICTXT = 'L'.
    WHEN 'STEXT'.
    WA_FIELDCAT-DDICTXT = 'L'.
    when 'PTYPE'.
    WA_FIELDCAT-DDICTXT = 'L'.
    when 'POBID'.
    WA_FIELDCAT-DDICTXT = 'L'.
    when 'PSHORT'.
    WA_FIELDCAT-DDICTXT = 'L'.
    WHEN 'PTEXT'.
    WA_FIELDCAT-DDICTXT = 'L'.
    WHEN 'QUALID'.
    WA_FIELDCAT-DDICTXT = 'L'.
    WHEN 'QUALSTXT'.
    WA_FIELDCAT-DDICTXT = 'L'.
    WHEN 'EXPBEGDA'.
    WA_FIELDCAT-DDICTXT = 'L'.
    WHEN 'EXPENDDA'.
    WA_FIELDCAT-DDICTXT = 'L'.

  • HTTP Error Code 400 Bad Request error when connecting to SQL db

    I realized I should move this to a new post since it was a new question...
    I am trying to connect to a distributed SQL database from CS4.
    Let me show you how the connection is built... and then maybe someone can tell me what I am doing wrong...
    First I go to the database panel:
    I click on the '+' sign to add an MS SQL Server Connection:
    That brings up the SQL Server Connection window where I am supposed to replace the placeholders with my server values:
    After I enter the correct values and click test, I get the error (HTTP Error Code 400 Bad Request)... These values work from SQL Server Management Studio on the same PC.
    Just as a side note... I tried one other thing that makes me think SOMETHING is wrong here:
    If I choose as OLE DB Connection instead... and click the 'Build...' button and then enter the values in the Data Link Properties Window (OLE DB Provider for SQL Server, and then the connection info on the Connection tab) and then click Test Connection on the Data Link Properties window, it says my test succeeded. Then I click 'ok' which takes me back to the OLE DB Connection windows with the connection string pre-filled, and click test on THAT window and I get the same HTTP Error Code 400 Bad Request error...
    Hopefully that is enough detail that someone can can tell me what I have broken?
    Thanks,
    Mike

    You will get a better response if you ask this question on the DW Application Dev forum. This forum mainly covers client-side issues.

  • See my code that no me error after complied but not give me pdf result and

    hi master
    sir i use this code for create the pdf
    ExternalContext econtext = getExternalContext();
    InputStream stream = econtext.getResourceAsStream(PREFIX);
    try {
    JRResultSetDataSource mcon = new JRResultSetDataSource(getSessionBean1().getChartofaccRowSet());
    JasperPrint jasperPrint = null;
    jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
    JRExporter exporter = null;
    HttpServletResponse response = (HttpServletResponse)econtext.getResponse();
    FacesContext fcontext = FacesContext.getCurrentInstance();
    exporter = new JRPdfExporter();
    exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
    exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,
    response.getOutputStream());
    exporter.exportReport();
    fcontext.responseComplete();
    } catch (Exception ex) {
    log(" Error Description" , ex);
    error("Error counting rows: " + ex.getMessage() );
    error("Error counting rows: " + ex ); }
    sir this code not give any error but also not create /display the pdf
    i try to find the where problem occurred i get textfiled and send some value after one by one line
    like is this
    first time try
    JRResultSetDataSource mcon = new JRResultSetDataSource(getSessionBean1().getChartofaccRowSet());
    textField2.setValue(PREFIX);
    is given me right result and show /WEB-INF/reports/mfa.jasper in textfield2
    second time
    jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
              textField2.setValue(PREFIX);
    when i press button second time this time page not give me result in textfield2 and show blank it means
    only this line have error but what i could not foud out jasperPrint = JasperFillManager.fillReport(stream, null, mcon);
    use see my code and give me idea or solution of my problem
    thank�s
    aamir

    I found and easier way to do it and wrote it up here: http://developers.sun.com/jscreator/learning/tutorials/2/reports.html

  • The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.

    H,
    Since upgrading Windows server 2008 R2 to Server 2012 Standard edition, we get this repetitious critical error in the event log:
    Event 1001
    Op Code NLS initialization
    The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.
    We originally found that the regional date settings after changing them in regional settings (DD/MM/YYYY) and they did not inherit properly from the upgrade but they are ok now. 
    I've looked at HKCU\.Default\Control Panel\International and nothing looks obviously wrong. Country codes, time & date formats are correct.
    How do we ascertain the  cause of this error and the specific registry key that might be problematic?

    Hi,
    This could be caused by firewall rules or security softwares.
    http://www.tomshardware.com/forum/242579-44-hkcu-control-panel-international-opened
    And in addition, the fix is worth a try.
    Nothing happens when you double-click "Region" in Control Panel 
    http://support.microsoft.com/kb/2958845
    Please Note: Since the first web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

  • (error code = 200; message="Java error"; exception = [java.lang.Exception])

    Hi, I have several times tried to install ABAP Trial, but failed.
    So I need your help.
    As soon as I set up XP, I download and install the newest Java, then started installation of ABAP Trial.
    But at the end I just get an error message as belows.
    I hope you will guide me correct direction.
    Thanks for reading & Have a good day!
    (Jul 11, 2008 7:38:06 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, An error occurred and product installation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Jul 11, 2008 7:38:06 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllInstallationSteps(StepWrapperInstallFiles.java:177)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.install(StepWrapperInstallFiles.java:268)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Jul 11, 2008 7:43:08 AM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Jul 11, 2008 7:43:08 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllUninstallationSteps(StepWrapperInstallFiles.java:192)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.uninstall(StepWrapperInstallFiles.java:313)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hi YUN SEOK,
    I got the same error than you when I tried to install SAP NetWeaver ABAP Trial Version. 
    Could you help me in giving exactly the link you wrote.
    https://www.sdn.sap.com/irj
    Where is located exactly the answer ?
    I looked at this link but I did not find the answer.
    So could you give me exactly the location in this link ?
    Thanks in advance.
    STD,

  • I have an error code , 500, internal server error, Is this an airport card problem?

    I get an error code, 500 Internal Server Error when I try to open Safari. How do I correct it or somehow remedy this?

    Hello Thomas,
    Thank you for the details of the issue you are experiencing with Safari when using Wi-Fi.  I would be concerned about this too.
    I recommend following the steps in the section labeled "Symptom: My Mac does not connect to the Internet" in the following article to resolve an issue like the one you described:
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/HT4628
    Thank you for posting in the Apple Support Community.
    Best,
    Sheila M.

  • Plz Check Code!!!!!

    Dear All,
    Below is my code given but in output screen it does not show any value of ceratain fields like KOSTL,BELNR,BLDAT,WRBTR,DMBTR,BDIFF from BSID table.
    Can anybody go through the program and let me know where is the error and where I am mistaking.
    Regards,
    Abhay.
    REPORT rfdopr00
           MESSAGE-ID fr
           LINE-SIZE  132
           NO STANDARD PAGE HEADING.
    TABLES:   b0sg,
              kna1,                        "Daten auf Mandantenebene
              KNKA,
                knb1,                      "Daten auf Buchungskreisebene
                  knb4,                    "Zahlungsverhalten
                  knb5,                    "Mahndaten
                KNKK,    "Kreditkontrolle
                  knc1,                    "Verkehrszahlen
                  knc3,                    "Sonderumsätze
                  bsid,                    "Offend Posten
                  BKPF,
                    BSEG,
                           bsega.
    TABLES:
              bhdgd,
              t001,
              t001s,
              *t001s,
              t074t,
              t074u,
              tbsl,
              tbslt,
              tcurx,
              adrs,
              rfpdo,
              rfsdo,
              RFPOSXEXT,
              faede.
    FIELD-SYMBOLS: .
    *Hilfsfelder
    *---Prüfung ob mehrere Hauswährungen verarbeitet werden.
    DATA:    cfakt(3)      TYPE p,
             checksaldo(8) TYPE p,
             checksald1(8) TYPE p,
             checksald2(8) TYPE p,
             checksald3(8) TYPE p,
             checksald4(8) TYPE p,
             checkagobl(8) TYPE p,
             waers         LIKE t001-waers,
             wflag(1)      TYPE p VALUE '0',
             waers2        LIKE t001-waers,
             wflag2(1)     TYPE p VALUE '0',
             ph-line(132)  TYPE c.
    *---Ermittlung aktuelles Geschäftsjahr über Funktionsbaustein.
    DATA: curry LIKE bsid-gjahr.
    *-Ermittlung Zahlungseingang bei Zahlungen mit Skontoabzug--
    DATA: zvtage LIKE knb4-vzs01,          "Verzugstage
          zvskonto(8) TYPE p,     "Zahlungsvolumen bei Zahlung mit Skonto
          zvnetto(8)  TYPE p,              "Zahlungsvolumen bei Nettozahlung
          zvverzug(8) TYPE p,              "Verzugstage
          zvmalvz(10) TYPE p,              "Zahlungvolumen * Verzugstage
                                           "KNB4-VZSxx)
          zvtyp(1)    TYPE c,              "Skonto oder Nettozahler
        ZVPER(4)    TYPE C.     "Periode letze Zahlung
          zvper(6)    TYPE c.              "Periode letze Zahlung
    *---Zeilenanzahl fü Adressausgabe -
    DATA: zeilenanzahl LIKE adrs-anzzl VALUE 7.
    DATA: ksaldo(6)  TYPE p,               "Saldovortrag
          beabzug(6) TYPE p,               "Berechtigte Abzüge
          ubabzug(6) TYPE p,               "Unberechtigte Abzüge
          jahraug(6) TYPE p,               "Kumulierter Jahresausgleich
          kumzins(6) TYPE p.               "Kumulierter Zins
    Ausgabe der Mahndaten pro Buchungskreis.
    DATA: index(2) TYPE p VALUE 0.
    Hilfsfelder
    DATA: hf(1)    TYPE c.
    DATA: txt_1(78) TYPE c,                "Mahnbereich
          txt_2(78) TYPE c,                "Mahnart
          txt_3(78) TYPE c,                "Mahnempfänger
          txt_4(78) TYPE c,                "Mahndatum
          txt_5(78) TYPE c,                "Mahnstufe
          txt_6(78) TYPE c,                "Mahnsperre
          txt_7(78) TYPE c,                "Mahnverfahren
          txt_8(78) TYPE c.                "Sachbearbeiter
    DATA: BEGIN OF xmahn OCCURS 10.
            INCLUDE STRUCTURE knb5.
    DATA: END OF xmahn.
    Hilfsfeld für Sicherung der knka Felder
    *ATA: SAVE_KLIMG LIKE KNKA-KLIMG,   "Gesamtlimit
        SAVE_KLIME LIKE KNKA-KLIME,   "Einzellimit
        SAVE_WAERS LIKE KNKA-WAERS,   "Währung
        SAVE_DLAUS LIKE KNKA-DLAUS.   "letzte Auskunft
    Hilfsfelder
    DATA: char1(1)   TYPE c.
    DATA: flag1(1)   TYPE c.
    DATA: intens(1)  TYPE c.
    DATA: rastza(1)  TYPE c.
    *---- K o n s t a n t e n -
    *---- DNULL zum Vergleich mit Datumsfeldern -
    DATA: dnull(8) TYPE c VALUE '00000000'.
    *---- DECKBLATT = 'N' ==> Kein Deckblatt bei NEW-SECTION -
    DATA: deckblatt TYPE c VALUE 'N'.
    *---- 'H' =   Hilfsfelder, die jederzeit fuer Berechnungen ver-  -
    *---- wendet werden koennen. -
    DATA: BEGIN OF h,
            stichtag(8),
            offset(2) TYPE p,
            offse1(2) TYPE p,
            soll      LIKE knc1-um01s,
            haben     LIKE knc1-um01h,
            saldo     LIKE knc1-umsav,
            shbkz     LIKE knc3-shbkz,     "Sonderhauptbuchkennzeichen
            saldv     LIKE knc3-saldv,     "Sonderhauptbuch-Saldovortrag
            shbls     LIKE knc3-solll,     "Sonderhauptbuch-Lfd.-Saldo
            shbsl     LIKE knc3-solll,     "Sonderhauptbuch-Lfd.-SOLL
            shbhb     LIKE knc3-habnl,     "Sonderhauptbuch-Lfd.-HABEN
          GBNUM     LIKE KNC1-GBN01,    "Geschaeftsber. Nummer ECKERT
          GBUMS     LIKE KNC1-GBU01,    "Geschaeftsber. Umsatz
            text(15),
            umlow     LIKE bsid-umskz,     "Umsatzkennzeichen
            umhig     LIKE bsid-umskz,     "Umsatzkennzeichen
    **************AB*******
            kostl LIKE bsid-kostl,
            belnr LIKE bsid-belnr,
            bldat LIKE bsid-bldat,
            wrbtr LIKE bsid-wrbtr,
            bdiff LIKE bsid-bdiff,
    **************AB*******
          END   OF h.
    ---- 'C' =   Zwischenergebnisse, die aus Feldern des C-Segmentes ---
    *---- berechnet werden. -
    DATA: BEGIN OF c,
            saldo     TYPE p,              "Saldo
          WEXOB     TYPE P,         "Wechsel-Obligo        W,S,B
          ANZOB     TYPE P,         "Anzahlungs-Obligo     A
          ZANFB     TYPE P,         "Zahlungs-Anforderung  F
            umkz1     LIKE knc3-shbkz,                          "SHBKZ 1
            sums1     TYPE p,              "Sonderumsatz 1
            umkz2     LIKE knc3-shbkz,                          "SHBKZ 2
            sums2     TYPE p,              "Sonderumsatz 2
            umkz3     LIKE knc3-shbkz,                          "SHBKZ 3
            sums3     TYPE p,              "Sonderumsatz 3
            umkz4     LIKE knc3-shbkz,                          "SHBKZ 4
            sums4     TYPE p,              "Sonderumsatz 4
            umkz5     LIKE knc3-shbkz,                          "SHBKZ 5
            sums5     TYPE p,              "Sonderumsatz 5
            umkz6     LIKE knc3-shbkz,                          "SHBKZ 6
            sums6     TYPE p,              "Sonderumsatz 6
            umkz7     LIKE knc3-shbkz,                          "SHBKZ 7
            sums7     TYPE p,              "Sonderumsatz 7
            umkz8     LIKE knc3-shbkz,                          "SHBKZ 8
            sums8     TYPE p,              "Sonderumsatz 8
            umkz9     LIKE knc3-shbkz,                          "SHBKZ 9
            sums9     TYPE p,              "Sonderumsatz 9
            umkz10    LIKE knc3-shbkz,                          "SHBKZ 10
            sums10    TYPE p,              "Sonderumsatz 10
            sonob     TYPE p,              "Sonstige Umsatz-Kz
            babzg     TYPE p,              "Berechtigte Abzuege
            uabzg     TYPE p,              "Unberechtigte Abzuege
            kzins     TYPE p,              "Zinszahlungen
            kumum     TYPE p,              "Umsatz
            kumag     TYPE p,              "Kum. Jahresausgleich
          KREUEB    TYPE P,         "Kreditueberschreitung
          AGOBLI    TYPE P,         "Gesamt-Obligo (absolut)
            agobli LIKE knc1-umsav,        "Gesamt-Obligo (absolut)
          RGOBLI    TYPE P,         "Gesamt-Obligo (relativ)
            lftage(3) TYPE p,              "Langfristige Überzugstage
            mftage(3) TYPE p,              "Mittelfristige Überzugstage
            kftage(3) TYPE p,              "Kurzfristige Überzugstage
            zvtyp(1)    TYPE c,            "Flag Skonto oder Nettozahler
            zvper(6)    TYPE c,            "letze Zahlungsperiode
            zvverzug(8) TYPE p,            "Durchschittliche Verzugst
          END   OF c.
    ---- 'C2'=   Zwischenergebnisse, die aus Feldern des C-Segmentes ---
    *---- berechnet werden. -
    DATA: BEGIN OF c2 OCCURS 0,
            bukrs     LIKE knc1-bukrs,
            saldo     TYPE p,              "Saldo
          WEXOB     TYPE P,         "Wechsel-Obligo        W,S,B
          ANZOB     TYPE P,         "Anzahlungs-Obligo     A
          ZANFB     TYPE P,         "Zahlungs-Anforderung  F
            umkz1     LIKE knc3-shbkz,                          "SHBKZ 1
            sums1     TYPE p,              "Sonderumsatz 1
            umkz2     LIKE knc3-shbkz,                          "SHBKZ 2
            sums2     TYPE p,              "Sonderumsatz 2
            umkz3     LIKE knc3-shbkz,                          "SHBKZ 3
            sums3     TYPE p,              "Sonderumsatz 3
            umkz4     LIKE knc3-shbkz,                          "SHBKZ 4
            sums4     TYPE p,              "Sonderumsatz 4
            umkz5     LIKE knc3-shbkz,                          "SHBKZ 5
            sums5     TYPE p,              "Sonderumsatz 5
            umkz6     LIKE knc3-shbkz,                          "SHBKZ 6
            sums6     TYPE p,              "Sonderumsatz 6
            umkz7     LIKE knc3-shbkz,                          "SHBKZ 7
            sums7     TYPE p,              "Sonderumsatz 7
            umkz8     LIKE knc3-shbkz,                          "SHBKZ 8
            sums8     TYPE p,              "Sonderumsatz 8
            umkz9     LIKE knc3-shbkz,                          "SHBKZ 9
            sums9     TYPE p,              "Sonderumsatz 9
            umkz10    LIKE knc3-shbkz,                          "SHBKZ 10
            sums10    TYPE p,              "Sonderumsatz 10
            sonob     TYPE p,              "Sonstige Umsatz-Kz
            babzg     TYPE p,              "Berechtigte Abzuege
            uabzg     TYPE p,              "Unberechtigte Abzuege
            kzins     TYPE p,              "Zinszahlungen
            kumum     TYPE p,              "Umsatz
            kumag     TYPE p,              "Kum. Jahresausgleich
          KREUEB    TYPE P,         "Kreditueberschreitung
          AGOBLI    TYPE P,         "Gesamt-Obligo (absolut)
            agobli LIKE knc1-umsav,        "Gesamt-Obligo (absolut)
          RGOBLI    TYPE P,         "Gesamt-Obligo (relativ)
            lftage(3) TYPE p,              "Langfristige Überzugstage
            mftage(3) TYPE p,              "Mittelfristige Überzugstage
            kftage(3) TYPE p,              "Kurzfristige Überzugstage
            zvtyp(1)    TYPE c,            "Flag Skonto oder Nettozahler
            zvper(6)    TYPE c,            "letze Zahlungsperiode
            zvverzug(8) TYPE p,            "Durchschittliche Verzugst
          END   OF c2.
    ---- 'C3'=   Zwischenergebnisse, die aus Feldern des C-Segmentes ---
    *---- berechnet werden. -
    DATA: BEGIN OF c3,
            saldo     TYPE p,              "Saldo
          WEXOB     TYPE P,         "Wechsel-Obligo        W,S,B
          ANZOB     TYPE P,         "Anzahlungs-Obligo     A
          ZANFB     TYPE P,         "Zahlungs-Anforderung  F
            umkz1     LIKE knc3-shbkz,                          "SHBKZ 1
            sums1     TYPE p,              "Sonderumsatz 1
            umkz2     LIKE knc3-shbkz,                          "SHBKZ 2
            sums2     TYPE p,              "Sonderumsatz 2
            umkz3     LIKE knc3-shbkz,                          "SHBKZ 3
            sums3     TYPE p,              "Sonderumsatz 3
            umkz4     LIKE knc3-shbkz,                          "SHBKZ 4
            sums4     TYPE p,              "Sonderumsatz 4
            umkz5     LIKE knc3-shbkz,                          "SHBKZ 5
            sums5     TYPE p,              "Sonderumsatz 5
            umkz6     LIKE knc3-shbkz,                          "SHBKZ 6
            sums6     TYPE p,              "Sonderumsatz 6
            umkz7     LIKE knc3-shbkz,                          "SHBKZ 7
            sums7     TYPE p,              "Sonderumsatz 7
            umkz8     LIKE knc3-shbkz,                          "SHBKZ 8
            sums8     TYPE p,              "Sonderumsatz 8
            umkz9     LIKE knc3-shbkz,                          "SHBKZ 9
            sums9     TYPE p,              "Sonderumsatz 9
            umkz10    LIKE knc3-shbkz,                          "SHBKZ 10
            sums10    TYPE p,              "Sonderumsatz 10
            sonob     TYPE p,              "Sonstige Umsatz-Kz
            babzg     TYPE p,              "Berechtigte Abzuege
            uabzg     TYPE p,              "Unberechtigte Abzuege
            kzins     TYPE p,              "Zinszahlungen
            kumum     TYPE p,              "Umsatz
            kumag     TYPE p,              "Kum. Jahresausgleich
          KREUEB    TYPE P,         "Kreditueberschreitung
          AGOBLI    TYPE P,         "Gesamt-Obligo (absolut)
            agobli LIKE knc1-umsav,        "Gesamt-Obligo (absolut)
          RGOBLI    TYPE P,         "Gesamt-Obligo (relativ)
          LFTAGE(3) TYPE P,         "Langfristige Überzugstage
          MFTAGE(3) TYPE P,         "Mittelfristige Überzugstage
          KFTAGE(3) TYPE P,         "Kurzfristige Überzugstage
          ZVTYP(1)    TYPE C,       "Flag Skonto oder Nettozahler
          ZVPER(6)    TYPE C,       "letze Zahlungsperiode
          ZVVERZUG(8) TYPE P,       "Durchschittliche Verzugst
          END   OF c3.
    DATA: shbetrag LIKE bsega-dmshb.       "TYPE P.
    *---- 'RTAB' = Rastertabelle fuer offene Posten -
    DATA: BEGIN OF rtab OCCURS 30,
            sortk(1)   TYPE c,             "0 = Summe Gesber
                                           "1 = Summe aller Gesber
                                           "2 = Umsatzdaten
            bukrs LIKE bsid-bukrs,
            gsber LIKE bsid-gsber,
            waers LIKE bsid-waers,
    ********AB********
            kostl LIKE bsid-kostl,
            belnr LIKE bsid-belnr,
            bldat LIKE bsid-bldat,
            wrbtr LIKE bsid-wrbtr,
            bdiff LIKE bsid-bdiff,
    ********AB********
            raart TYPE c,                  "Rasterart
                                           "1 = Netto-Faelligkeit
                                           "2 = Skonto1-Faelligkeit
                                           "3 = Zahlungseingang
                                           "4 = Belegalter
                                           "5 = Ueber-Faelligkeit
            kumum TYPE p,                  "Umsatz
            anzah TYPE p,                  "Anzahlungen
            opsum TYPE p,                  "Offene Posten Summe
            rast1 TYPE p,                  "Rasterfeld 1
            rast2 TYPE p,                  "Rasterfeld 2
            rast3 TYPE p,                  "Rasterfeld 3
            rast4 TYPE p,                  "Rasterfeld 4
            rast5 TYPE p,                  "Rasterfeld 5
            rast6 TYPE p,                  "Rasterfeld 6
          COUNT TYPE P,                  "count für Gesber
          END   OF rtab.
    *---- 'RBUS' = Rastertabelle fuer Summen pro Sachbearbeiter -
    DATA: BEGIN OF rbus OCCURS 30,
            sortk(1)   TYPE c,             "0 = Summe Gesber
                                           "1 = Summe aller Gesber
                                           "2 = Umsatzdaten
            bukrs LIKE bsid-bukrs,
            gsber LIKE bsid-gsber,
            waers LIKE bsid-waers,
            raart TYPE c,                  "Rasterart
                                           "1 = Netto-Faelligkeit
                                           "2 = Skonto1-Faelligkeit
                                           "3 = Zahlungseingang
                                           "4 = Ueber-Faelligkeit
            kumum TYPE p,                  "Umsatz
            anzah TYPE p,                  "Anzahlungen
            opsum TYPE p,                  "Offene Posten Summe
            rast1 TYPE p,                  "Rasterfeld 1
            rast2 TYPE p,                  "Rasterfeld 2
            rast3 TYPE p,                  "Rasterfeld 3
            rast4 TYPE p,                  "Rasterfeld 4
            rast5 TYPE p,                  "Rasterfeld 5
            rast6 TYPE p,                  "Rasterfeld 6
          COUNT TYPE P,             "count für Gesber
          END   OF rbus.
    *---- 'RBUK' = Rastertabelle fuer Summen pro Buchungskreis  -
    DATA: BEGIN OF rbuk OCCURS 30,
            sortk(1)   TYPE c,             "0 = Summe Gesber
                                           "1 = Summe aller Gesber
                                           "2 = Umsatzdaten
            bukrs LIKE bsid-bukrs,
            gsber LIKE bsid-gsber,
            waers LIKE bsid-waers,
            raart TYPE c,                  "Rasterart
                                           "1 = Netto-Faelligkeit
                                           "2 = Skonto1-Faelligkeit
                                           "3 = Zahlungseingang
                                           "4 = Ueber-Faelligkeit
            kumum TYPE p,                  "Umsatz
            anzah TYPE p,                  "Anzahlungen
            opsum TYPE p,                  "Offene Posten Summe
            rast1 TYPE p,                  "Rasterfeld 1
            rast2 TYPE p,                  "Rasterfeld 2
            rast3 TYPE p,                  "Rasterfeld 3
            rast4 TYPE p,                  "Rasterfeld 4
            rast5 TYPE p,                  "Rasterfeld 5
            rast6 TYPE p,                  "Rasterfeld 6
          COUNT TYPE P,             "count für Gesber
          END   OF rbuk.
    ---- 'RSUM' = Rastertabelle pro Währung über alle Buchungskreise ---
    DATA: BEGIN OF rsum OCCURS 30,
            sortk(1)   TYPE c,             "0 = Summe Gesber
                                           "1 = Summe aller Gesber
          BUKRS LIKE BSID-BUKRS,
          GSBER LIKE BSID-GSBER,
            waers LIKE bsid-waers,
            raart TYPE c,                  "Rasterart
                                           "1 = Netto-Faelligkeit
                                           "2 = Skonto1-Faelligkeit
                                           "3 = Zahlungseingang
                                           "4 = Ueber-Faelligkeit
            kumum TYPE p,                  "Umsatz
            anzah TYPE p,                  "Anzahlungen
            opsum TYPE p,                  "Offene Posten Summe
            rast1 TYPE p,                  "Rasterfeld 1
            rast2 TYPE p,                  "Rasterfeld 2
            rast3 TYPE p,                  "Rasterfeld 3
            rast4 TYPE p,                  "Rasterfeld 4
            rast5 TYPE p,                  "Rasterfeld 5
            rast6 TYPE p,                  "Rasterfeld 6
          COUNT TYPE P,             "count für Gesber
          END   OF rsum.
    *---- interne Tabelle für Periodenabgrenzung----
    RANGES: bmonat FOR rfpdo-doprbmon.
    *---- interne Tabelle für Kreditkontrollbereichsdaten----
    *ATA: BEGIN OF KREDK OCCURS 10,
          KKBER LIKE KNKK-KKBER, "Kreditkontrollbereich
          UEDAT LIKE KNKK-UEDAT, "Datum Kreditlimitüberschreitung
          KLIMK LIKE KNKK-KLIMK, "Kreditkontrollbereichslimit
          SSOBL LIKE KNKK-SSOBL, "Relevantes Sonderobligo
          SAUFT LIKE KNKK-SAUFT, "Summe Auftragswerte
          SKFOR LIKE KNKK-SKFOR, "Summe Forderungen
        END OF KREDK.
    ---- interne Tabellen für Konsistenzcheck Kreditkontrollbereiche ---
    *ATA: BEGIN OF KKBERSEL OCCURS 10,
          KKBER LIKE KNKK-KKBER, "Kreditkontrollbereich
        END OF KKBERSEL.
    *ATA: BEGIN OF KKBERGES OCCURS 10,
          KKBER LIKE KNKK-KKBER, "Kreditkontrollbereich
          BUKRS LIKE T001-BUKRS, "Buchungskreis
        END OF KKBERGES.
    ---- In die Felder RP01 bis RP05 werden dynamisch die von aussen ---
    *---- eingegebenen Rasterpunkte uebertragen -
    DATA: rp01(2)   TYPE p,                                     "   0
          rp02(2)   TYPE p,                                     "  20
          rp03(2)   TYPE p,                                     "  40
          rp04(2)   TYPE p,                                     "  80
          rp05(2)   TYPE p,                                     " 100
          rp06(2)   TYPE p,                                     "   1
          rp07(2)   TYPE p,                                     "  21
          rp08(2)   TYPE p,                                     "  41
          rp09(2)   TYPE p,                                     "  81
          rp10(2)   TYPE p.                                     " 101
    *---- In die Felder RC01 bis RC10 werden die Rasterpunkte in -
    ---- charakterform abgestellt. (fuer REPLACE-Funktion in Variabler -
    *---- Ueberschrift) -
    DATA: rc01(4)   TYPE c,                                     "  0
          rc02(4)   TYPE c,                                     "  20
          rc03(4)   TYPE c,                                     "  40
          rc04(4)   TYPE c,                                     "  80
          rc05(4)   TYPE c,                                     " 100
          rc06(4)   TYPE c,                                     "   1
          rc07(4)   TYPE c,                                     "  21
          rc08(4)   TYPE c,                                     "  41
          rc09(4)   TYPE c,                                     "  81
          rc10(4)   TYPE c.                                     " 101
    *---- Felder für Umsatzkennzeichen -
    *---- für Ausweis der Sonderumsätze----
    DATA: humkz1    LIKE knc3-shbkz,
          humkz2    LIKE knc3-shbkz,
          humkz3    LIKE knc3-shbkz,
          humkz4    LIKE knc3-shbkz,
          humkz5    LIKE knc3-shbkz,
          humkz6    LIKE knc3-shbkz,
          humkz7    LIKE knc3-shbkz,
          humkz8    LIKE knc3-shbkz,
          humkz9    LIKE knc3-shbkz,
          humkz10   LIKE knc3-shbkz.
    *---- 'GAG' = Hilfsfelder für die Berechnung der Gauss'chen  -
    *---- Ausgleichsgeraden. ( Trend ) -
    DATA:BEGIN OF gag OCCURS 5,
                  f     TYPE c,            "1 = langfristig
                                           "2 = mittelfristig
                                           "3 = kurzfristig
                                           "4 = letzter Vorgang
                  d(4)  TYPE p,            "Mitteldatum
                  t(4)  TYPE p,            "MW Überzgustage
                  u(8)  TYPE p,            "MW Umsatz
                  ut(8) TYPE p,            "MW Umsatz * Tage
                  dt(8) TYPE p,            "MW Datum  * Tage
                  dd(8) TYPE p,            "MW Datum  * Datum
         END OF gag.
    *---- Weitere Hilfsfelder für die Berechnung der Gauss'chen  -
    *---- Ausgleichsgeraden. ( Trend ) -
    DATA:         lz(4)  TYPE p,           "Letzte Zahlung
                  dm(8)  TYPE p,           "Rechenfeld
                  vw(16) TYPE p,           "Rechenfeld
                  vw1(16) TYPE p,          "Rechenfeld
                  vw2(16) TYPE p.          "Rechenfeld
    DATA: BEGIN OF trend,
            text(7)     TYPE c,
            trendda(4)  TYPE c,
            trenddb(4)  TYPE c,
            trenddc(4)  TYPE c VALUE '/100',
          END OF trend.
    DATA: BEGIN OF s,
            m(4)     TYPE p,               "Anzahl akzeptierter Mittelwerte
            d(4)     TYPE p,               "Summe (Datum)
            t(5)     TYPE p,               "Summe (Tage)
            dt(8)    TYPE p,               "Summe (Datum * Tage)
            dd(8)    TYPE p,               "Summe (Datum * Datum)
            aw(4)    TYPE p,               "Schätzwert f. akt. Überzugstage
            ae(9)    TYPE p,               "dto. aufbereitet.
            bw(4)    TYPE p,               "Tendenz Tage /100 Tage
            be(9)    TYPE p,               "dto. aufbereitet
          END OF s.
    *---- E N D E der Hilfsfelder für Berechnung der Gauss'chen  -
    *---- Ausgleichsgeraden. ( Trend ) -
    *---- GBZAEHL - In diesem Feld wird vermerkt, fuer wieviele Ge- -
    *----           schaeftsbereiche ein OP-Raster ausgegeben wird. -
    ----           Wird das Raster nur fuer einen Geschaeftsbereich ge- -
    *----           druckt, so entfaellt das Summen-Raster. -
    DATA: gbzaehl(3) TYPE p.
    ---- TOP-FLAG '1' = bei TOP-OF-PAGE Einzelpostenueberschrift ausg. --
    *----          '2' = bei TOP-OF-PAGE Ueberschrift fuer Raster ausgeb. *
    *----          '3' = bei TOP-OF-PAGE ULINE ausgeben. -
    ----          '4' = bei TOP-OF-PAGE Stammsatzueberschrift ausgeben --
    DATA: top-flag(1) TYPE c.
    *---- SEL-STAMM  'J' = Saldo Normalumsätze                            *
    *---- SEL-POSTN  'J' = Stammsatz hat Posten gerastert                 *
    *----            'N' = Stammsatz hat keine Posten gerastert           *
    *---- SEL-POST2  'J' = Stammsatz hat Posten gerastert                 *
    *----            'N' = Stammsatz hat keine Posten gerastert           *
    DATA: BEGIN OF sel,
            stamm(1)  TYPE c,
            postn(1)  TYPE c,
            post2(1)  TYPE c,
          END   OF sel.
    *---- SATZART  '1' = Stammdaten -
    *----          '2' = Faelligkeitsraster -
    *----          '3' = Einzelposten -
    DATA: satzart(1) TYPE c.
    *---- RART  =  Erste ausgewaehlte Rasterart -
    DATA: rart(1)    TYPE c.
    *---- TAGE  =  Tage nach denen die Posten sortiert sind -
    DATA: tage(4)    TYPE p,
    *---- NTAGE =  Tage fuer Netto-Faelligkeit -
          ntage(4)   TYPE p,
    *---- STAGE =  Tage fuer Skonto1-Faelligkeit -
          stage(4)   TYPE p,
    *---- ZTAGE =  Tage fuer voraussichtlichen Zahlungseingang -
          ztage(4)   TYPE p,
    *---- ATAGE =  Alter der Belege -
          atage(4)   TYPE p,
    *---- UTAGE =  Tage fuer Ueber-Faelligkeit -
          utage(4)   TYPE p.
    *---- RASTERUU dient zur Sortierung der Einzelposten. Die Posten -
    *----          gemaess ihrer Rasterung die Werte '1' bis '6' -
    DATA: rasteruu(1) TYPE c.
    *---- RAART  Rasterart -
    ---- Die einzelnen Felder der Feldleiste werden bei SART-OF-SELECTION
    *---- mit 1 oder 0 bestueckt. -
    *ATA: BEGIN OF RAART,
          NET(1)   TYPE C,      "X = ausgewaehlt, ' ' = nicht ausgewaehlt
          SKT(1)   TYPE C,      "X = ausgewaehlt, ' ' = nicht ausgewaehlt
          UEB(1)   TYPE C,      "X = ausgewaehlt, ' ' = nicht ausgewaehlt
        END   OF RAART.
    DATA: BEGIN OF gb,
            gsber  LIKE bsid-gsber,
            waers  LIKE bsid-waers,
          END   OF gb.
    *---- Variable Ueberschriften -
    DATA: BEGIN OF varueb1,
            feld1(40)   TYPE c,
            feld2(14)   TYPE c,
            feld3(14)   TYPE c,
            feld4(14)   TYPE c,
            feld5(14)   TYPE c,
            feld6(14)   TYPE c,
            feld7(14)   TYPE c,
          END   OF varueb1.
    DATA: BEGIN OF varueb2,
            feld1(40)   TYPE c,
            feld2(14)   TYPE c,
            feld3(14)   TYPE c,
            feld4(14)   TYPE c,
            feld5(14)   TYPE c,
            feld6(14)   TYPE c,
            feld7(14)   TYPE c,
          END   OF varueb2.
    DATA: varueb3(132),
          varueb4(132),
          vartxt1(40),
          vartxt(40)  TYPE c.
    *---- Variable für Ausgabe der Sonderumsätze----
    DATA: shbbez LIKE t074t-ltext.
    DATA: asums  TYPE p.                                        "
    *---- Interne Tabelle für Bezeichnungen der SHBKZ----
    DATA: BEGIN OF bezshb OCCURS 10,
            shbkz LIKE t074t-shbkz,
            ltext LIKE t074t-ltext,
          END OF bezshb.
    *---- Interne Tabelle für Zwischenspeicherung -
    DATA: BEGIN OF blkey,
            bukrs LIKE bsid-bukrs,
            belnr LIKE bsid-belnr,
            gjahr LIKE bsid-gjahr,
            buzei LIKE bsid-buzei,
          END   OF blkey.
    DATA: BEGIN OF rtage,
            ntage LIKE ntage,
            stage LIKE stage,
            ztage LIKE ztage,
            atage LIKE atage,
            utage LIKE utage,
         END   OF rtage.
    DATA: BEGIN OF hbsid OCCURS 10.
            INCLUDE STRUCTURE bsid.
            INCLUDE STRUCTURE bsega.
            INCLUDE STRUCTURE rtage.
    DATA: END   OF hbsid.
    DATA: BEGIN OF refbl OCCURS 10.
            INCLUDE STRUCTURE blkey.
            INCLUDE STRUCTURE rtage.
    DATA: END   OF refbl.
    DATA: BEGIN OF hknb1 OCCURS 10.
            INCLUDE STRUCTURE knb1.
    DATA: END   OF hknb1.
    DATA: BEGIN OF ht001 OCCURS 10.
            INCLUDE STRUCTURE t001.
    DATA: END   OF ht001.
    *---- Interne Tabelle für Ausgabe der Obligos -
    DATA: BEGIN OF aobligo OCCURS 12,
            obart TYPE c,             "Flag für Obligoart 1 = Kontokorrent
                                           "                   2 = SHBKZ
                                      "                   3 = sonstige SHB
            shbkz LIKE t074t-shbkz,        "SHB-Kennzeichen
            ltext LIKE t074t-ltext,        "Bezeichnung
            oblig TYPE p,                  "Obligobetrag
          END OF aobligo.
    *---- Declarationen für Accessibility /ALV GRID -
    DATA: acc_mode TYPE c.
    DATA: uebtext(22) TYPE c.
    DATA: uektext(15)  TYPE c.
    DATA: tittext(100) TYPE c.
    DATA: dattext(10) TYPE c.
    DATA: BEGIN OF rtab_alv OCCURS 30,
          SORTK(1)   TYPE C,             "0 = Summe Gesber
                                         "1 = Summe aller Gesber
                                         "2 = Umsatzdaten
            bukrs LIKE bsid-bukrs,
            kunnr LIKE kna1-kunnr,
            busab LIKE knb1-busab,
            sortl LIKE kna1-sortl,
            land1 LIKE kna1-land1,
            gsber LIKE bsid-gsber,
            waers LIKE bsid-waers,
          hwaer like rf140-hwaer,
            raart LIKE rf140-raart,        "Rasterart
          shkzg like bsid-shkzg,
          XGUTS TYPE C,                  "Gutschrift
            kumum LIKE rf140-kumumhw,      "Umsatz
            anzah LIKE rf140-anzbthw,      "Anzahlungen
            opsum LIKE rf140-gsaldd,       "Offene Posten Summe
           belnr LIKE rf140-belnr,
            rast1 LIKE rf140-rast1,        "Rasterfeld 1
            rast2 LIKE rf140-rast2,        "Rasterfeld 2
            rast3 LIKE rf140-rast3,        "Rasterfeld 3
            rast4 LIKE rf140-rast4,        "Rasterfeld 4
            rast5 LIKE rf140-rast5,        "Rasterfeld 5
            rast6 LIKE rf140-rast6,        "Rasterfeld 6
    ************AB*****
            kostl LIKE bsid-kostl,
            belnr LIKE bsid-belnr,
            bldat LIKE bsid-bldat,
            wrbtr LIKE bsid-wrbtr,
            bdiff LIKE bsid-bdiff,
    ************AB*****
          END   OF rtab_alv.
    *"General Data
    TYPE-POOLS: slis.
    *DATA: BEGIN OF GT_OUTTAB OCCURS 0.
           INCLUDE STRUCTURE rtab_alv.
    *DATA: END OF GT_OUTTAB.
    DATA: gs_layout TYPE slis_layout_alv,
         G_EXIT_CAUSED_BY_CALLER,
         GS_EXIT_CAUSED_BY_USER TYPE SLIS_EXIT_BY_USER,
          g_repid LIKE sy-repid,
          g_grid_title TYPE  lvc_title.
    *"Callback
    *Data: GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER,
         G_STATUS_SET   TYPE SLIS_FORMNAME VALUE 'PF_STATUS_SET',
    DATA: g_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
         G_TOP_OF_PAGE  TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
         G_TOP_OF_LIST  TYPE SLIS_FORMNAME VALUE 'TOP_OF_LIST',
         G_END_OF_LIST  TYPE SLIS_FORMNAME VALUE 'END_OF_LIST'.
    *"Variants
    DATA: gs_variant LIKE disvariant,
          g_save.
    Global structure of list
    fieldcatalog
    DATA:   ls_fieldcat TYPE slis_fieldcat_alv.
    DATA:   gt_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    sort
    *DATA:   GT_SORT     TYPE SLIS_T_SORTINFO_ALV.
    events
    *DATA:   GT_EVENTS   TYPE SLIS_T_EVENT.
    *----- Structure for specific color settings -
    *DATA:   COL_TAB_T TYPE SLIS_T_SPECIALCOL_ALV,
           COL_TAB   TYPE SLIS_SPECIALCOL_ALV.
    DATA:   g_tabname TYPE slis_tabname VALUE 'RTAB_ALV'.
    print
    *DATA:   GS_PRINT    TYPE SLIS_PRINT_ALV.
    *---- FIELD-GROUPS                            -
    FIELD-GROUPS:
              header,
              stammdaten,
              op-raster,
              einzelposten.
    INSERT
      knb1-bukrs                           " Buchungskreis
      knb1-busab                           " Sachbearbeiter
      kna1-kunnr                           " Kontonummer
      satzart                              " Satzart
      rtab-sortk                           " Sortkz fuer Tabelle RTAB
                                           " '0' = normale Eintraege
                                           " '1' = Summeneintraege
                                           " '2' = Jahresumsatz
      gb                                   " Geschaeftsbereich
                                           " - GB-GSBER
                                           " - GB-WAERS
      rasteruu         " Kennzeichen fuer Detailposten bzw Raster
    ab hier nur fuer Einzelposten -
      tage                                 " Rastertage  fuer Detailposten
      bsid-umskz                           " Umsatzkennzeichen
      bsid-blart                           " Belegart
    BSID-ZUONR         " Zuordnungsnummer
      bsid-belnr                           " Belegnummer
      bsid-buzei                           " Belegzeile
    ************AB*****
      bsid-kostl
      bsid-belnr
      bsid-bldat
      bsid-wrbtr
      bsid-bdiff
    ************AB*****
    INTO header.
    INSERT
    Addressdaten
      adrs-line0                           " 1. Zeile Adressenaufbereitung
      adrs-line1                           " 2. "     "
      adrs-line2                           " 3. "     "
      adrs-line3                           " 4. "     "
      adrs-line4                           " 5. "     "
      adrs-line5                           " 6. "     "
      adrs-line6                           " 7. "     "
    ADRS-LINE7         " 8. "     "
    ADRS-LINE8         " 9. "     "
    ADRS-LINE9         " 10."     "
    Umsatzdaten
      c-kumum                              " Umsatz
      c-babzg                              " Berechtigt. Abzuege
      c-uabzg                              " Unberechtigt. Abzuege
      c-kzins                              " Zinszahlungen
      c-kumag                              " Kum. Jahresausgleich
    Warenkreditversicherung
      knb1-vrsnr                           " Vertragsnummer
      knb1-vrbkz                           " Institutsnummer
      knb1-vlibb                           " Versicherungssumme
      knb1-verdt                           " Gültig bis
      knb1-vrszl                           " Ziel-Monate
      knb1-vrspr                           " Selbstbeiteiligung in %
    Obligos
      c-saldo                              " Saldo ohne SHB-Vorgänge
    C-WEXOB          " Wechselobligo
    C-ANZOB          " Anzahlungsobligo
    C-ZANFB          " Zahlungsanforderungen
      c-umkz1                                                   "SHBKZ 1
      c-sums1                              "Sonderumsatz 1
      c-umkz2                                                   "SHBKZ 2
      c-sums2  

    Hi,
    cost center/profit center is not shown in BSID , this depends on ur functional settings.
    Fetch these values from BSEG, providing the max possible key fields

  • ProductException: (error code = 200; message="Java error"; exception = [jav

    hello
    Take me if you have the power to fa is that I have a good time trying to install the demo of sap, but I fail to do so últimamemente follows all the steps but in the end I get the following error java:
    productException: (error code = 200; message="Java error"; exception = java.lang.Exception)
    at com.sap.installshield.sdcstepswrapper.StepWrapperI nstallFiles.execute(StepWrapperInstallFiles.java:2 54)
    at com.sap.installshield.sdcstepswrapper.StepWrapperI nstallFiles.executeAllSteps(StepWrapperInstallFile s.java:224)
    at com.sap.installshield.sdcstepswrapper.StepWrapperI nstallFiles.executeAllInstallationSteps(StepWrappe rInstallFiles.java:177)
    at java.lang.Thread.run(Unknown Source)
    may be that the Java Virtual Machine? what virtual machine
    it is recomd
    i don´t know how to correct them
    thank you very much
    bye

    Hello,
    This looks like a known issue error code: 200
    check this document:
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/6055f523-df6e-2910-f0bf-acccbb0a7d37
    Also, please make sure the service SAPNSP_00 @ OS level is running. If not, start the service manually and proceed with the installation.
    Hope it helps,
    Regards,
    Satish.
    Edited by: Satish Arram on Oct 10, 2008 6:30 PM

  • Is there a code checker that will give you the correct code?

    I have a website that I started using a bought template, I deleted all of the content except the navigation buttons.  The problem now is that there are ALOT of broken links and coding errors.  Is there a site that will show me what the correct code should be?
    www.cfaai.com
    Heidi

    Hello Heidi,
    I prefer an external FTP program. The difficulties with which you have to fight encourage me in this opinion, not least because we always search for experts, we don't charge a "jack of all trades".
    For this reason, to manage, for example, several websites or to upload my files and sometimes for the opposite way, for a necessary download from my server or to use a "a site-wide synch", I'm using FileZilla. It simply looks easier for me to keep track of all operations precisely and generate or reflect easily the desired tree structure.
    Above all, FileZilla has a feature (translation from my German FileZilla) called "compare file list". Here it's possible to use file size or modification time as a criterion. There is also the possibility to "hide identical files", so that only these files which you want to redact remain visible.
    And even if it means you have to install a new program, I am convinced that there is an advantage. Here is the link to get it and where you can read informations about how it works:
    http://filezilla-project.org/ and
    http://wiki.filezilla-project.org/Tutorial#Using_the_site_manager
    Mac: Mac OS X
    http://filezilla-project.org/download.php
    Of course, you also need all the access data to reach your server.
    Good luck
    Hans-Günter

  • Error Code...0x8AB1023 Error Accessing Historical Database

    Hi,
    I have recently started development using LabView7.1 (DSC Module). There is a nice example in the Getting Started Manual showing Real Time Trending and Historical data view. I followed the development steps but running the VI given displays the error message. Error Code 0x8AB1023: Failed to map database file to shared memory. I have attached the screenshots of the error messages. The same error messages are displayed even if I run the DSC examples. I am new to Labview so cannot really figure out the reason
    Thanks
    Attachments:
    aaa.jpg ‏85 KB
    bbbb.jpg ‏107 KB
    ccc.jpg ‏136 KB

    Hello Nustian,
    As Dennis said- LabVIEW 7.1 was released nearly ten years ago and is not supported on Windows 7; since the error you are getting appears to be related to file I/O, memory access, or a database driver, it's a good bet that something has changed in the OS that is affecting the examples you're trying to use.
    If you do need to use LabVIEW 7.1 and MAX 3.1, you'll probably need to use an earlier version of Windows as well (XP SP1 or similar).  The software may be operable in Windows 7 compatability mode, but this isn't a recommended or supported configuration and there are probably going to be more problems down the road.
    That being said, it looks like there is at least one (quite old) help document mentioning a similar error that you might want to take a look at:
    KnowledgeBase 27PGKDJ6: Error Accessing Historical Database System Error from the LabVIEW DSC Engine
    http://digital.ni.com/public.nsf/allkb/4263DA141111EA2086256A1B00821611
    Regards,
    Tom L.

  • LabVIEW load error code 1: LabVIEW load error code %Id: %p

    One of my VI crashed while trying to save some data to file, I then tried to save the VI afterwards, but message with Out of Memory popped up again and the IV closed down. So now I can´t open my VI, then I try I get the "LabVIEW load error code 1: LabVIEW load error code %Id: %p" message and I have been given no opportunity to recover an older version of the VI then I close down and open LabVIEW again!!! So my VI is lost or what?
    This is a huge problem for me, hope someone can help...
    Regards
    Jesper

    Hi Jesper
    For the future you should be good with LabVIEW 2012 (Normally realeased after NI Week in Austin in beginning of August). From what I know about this problem it have not been mentioned to be solved in a fixpack before release of LabVIEW 2012.
    If you are reading in large files that uses more memory than avaliable and do wan't to avoid LabVIEW from crashing then you could add more RAM to your PC. If you are using Windows 32-bit you could try to edit the boot.ini file for Windows to allow Windows to allocate more memory to LabVIEW as explained in the following article:
    Extending Virtual Memory Usage for 32-bit Windows
     http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/enable_lrg_ad_aware/
    You could also try upgrading to Windows 64-bit this will allow much larger memory operations, and Windows 64-bit will let LabVIEW allocate more memory.
    To use Source Code Control on your computer you will need:
    1) A Source Code Control server with space to store the backup VI's and previous versions on (this can be your own PC). All Source Code Control providers that follow the Microsoft Source Code Control API. We have a list of tools that we have been tested that can be found here (note that some is free and other is not):
    Which Third-Party Source Control Providers Can I Use with LabVIEW 8.0 and later?
    http://digital.ni.com/public.nsf/websearch/26EC5904169430CE8625706E00743997?OpenDocument
    2) After installing the server you need to configure LabVIEW to communicate with this server. In the article below under the section "Configuring LabVIEW to Call the Microsoft SCC API" you can see how to do this:
    Software Configuration Management and LabVIEW
    http://zone.ni.com/devzone/cda/tut/p/id/4114
    3) You are good to go. Source Code Control uses the two most know functions "Commit / Check out." When you Check out a document you will be able to edit it, and when you then commit the changes then it will be saved with a new version number on the server. For each commit you will be able to select "Revert to previous version" to go back and restore a previous commited VI. You can use these functions on the VI it self or as I prefer from the Project Explorer.
    Bisides the advantage of being able  to restore previous versions, Source Code Control is also a great tool if your are multiple users working on the same project. You will i.e. be able to be 2 or more developers working on the same VI at the same time and then merging your changes to one VI when you are finished.
    Best Regards
    Anders Rohde
    Applications Engineer
    National Instruments Denmark 

  • Plz correct this query

    iam trying to take input at the prompt in one statement only...
    but unable to do it..
    so plz correct my query
    accept var prompt "enter deptno=>" select * from emp where deptno=&var;
    error:
    SQL> accept var prompt "enter deptno=>" select * from emp where deptno=&var;
    Enter value for var: 20
    SP2-0003: Ill-formed ACCEPT command starting as select * from emp where deptno=2
    0
    SQL>
    thank u
    rajiv

    These are two statements you need to exceute separately
    SQL> accept var prompt "enter deptno=>"
    enter deptno=>10
    SQL> select * from emp where deptno=&var;
    old   1: select * from emp where deptno=&var
    new   1: select * from emp where deptno=10
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7782 CLARK      MANAGER         7839 09-JUN-81       2450
            10
          7839 KING       PRESIDENT            17-NOV-81       5000
            10
          7934 MILLER     CLERK           7782 23-JAN-82       1300
            10
    SQL>

  • Plz correct the following IFlogic

    Hi Xpertz
    I need the corrections in the following cide basically its in BW transfer rules..
    My logic i have to take a customer and compare it in two tables in BW side
    SELECT SINGLE MATERIAL FROM /BIC/PCUST1 INTO RESULT
    if  /BIC/KUNNR  = TRAN_STRUCTURE-/BIC/KUNNR
        AND /BIC/KDMAT = TRAN_STRUCTURE-/BIC/KDMAT
    else
         IF /BIC/KDMAT=TRAN_STRUCTURE-/BIC/KDMAT
          AND CUSTOMER-/BIC/CONSCUST= 11060.
         ENDIF.
    the above is the code my aim is first it should look up a cust1 table after else condition it needs to look up another table CUSTOMER2 table.
    Based on KDMAT
    If the KDMAT of transfer sture is = cust1-Kdmat
    i have to compare the corrosponding customer - consolidated number with customer 2 table consolidated customer and it should be equal to 11060.
    But bad thing is that i am not well versed ABAPER. plz correct me..
    Points assured..
    Regards
    K M R

    hi K M R
    do u want anything like this?
    if /BIC/KUNNR = TRAN_STRUCTURE-/BIC/KUNNR AND /BIC/KDMAT = TRAN_STRUCTURE-/BIC/KDMAT.
    ... "Condition 1
    ELSEIF /BIC/KDMAT=TRAN_STRUCTURE-/BIC/KDMAT AND CUSTOMER-/BIC/CONSCUST= 11060.
    ... "Condition 2
    ENDIF.
    Regards
    Allan Cristian

Maybe you are looking for

  • My lock screen keeps freezing ios 7.1

    Hi guys, I want to know if I am alone in this issue or if it is widespread? Since updating my iphone 5 to ios 7.1 my lock screen freezes. Not all the time, mainly if there is a notification of a text etc. I have to turn the phone off and on and it so

  • Crystal Reports 2008 Fix Pack 1.7 - Redist Install - Corrupt

    In an attempt to resolve ongoing issues with running Crystal Reports on my Development Server I tried to download Crystal Reports 2008 Fix Pack 1.7 - Redist Install today. When I attempt to open the zip file, I receive an error stating the zip file i

  • Burned DVD verify fails sometime

    I've been burning my photos onto DVDs as a backup. I create a smart album that collects my photos by data and then burn them onto a DVD as a library. I burned one and it worked fine I then when to the next smart folder and burn it but the burn failed

  • Help with Exit Code: 7

    Install Flex 4 Exit Code: 7 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 3 error(s), 1 warning(s) WARNING: Memory requirements not met for {74EF259F-1DC6-4DEE-866B-0707173D7654} ERROR: Cust

  • Unable to Delete Production Orders

    Hello all, I want to change Valuation Class for a material. However, I am unable to do so as there are few Purchase orders for this material still in the system. I have already set delete flag to these Purchase orders, removed all reservation, and cl