Modifying screens in VA02 without making changes to SAPMV45A

HI All,
I want to hide few fields in the screens of VA02 transaction when displaying the header level data. i tried using transaction variants ( SHD0) without much success.
is it possible to make changes to VA02 without making any change to the SAPMV45A program in any other way. i dont want to replicate the Sap program and then edit the screens..
Thanks and Regards
Nikhil

Hi
Either we have to use screen exits if provided for the screen in context or directly modify the standard screen using acces key(Not recomended).
Regards
Gaurav

Similar Messages

  • How to change the profile value in the pl/sql code without making change in the database

    How to change the profile value in the pl/sql code without making change in the database.

    I have program ,where if the profiles 'printer and nunber of copies ' are set at the user level, by default when the report completes the O/p will be sent to the printer mentioned in the set-up. but what user wants is
    if these Profiles are set for the user running this program automatic printing should not be done.

  • How do we initialize DAL variables without making changes to INI files?

    We have an application which currently use only two DALs. We would like to add a DAL to popluate certain data on the form. We have encountered an issue with initialization of dal vairables.
    One of the solutionis that set FlushDalSymbo = Yes in the FSISYS file.
    However, this involves INI file change which we would like to avoid.
    So, is there a way to initialize dal variables, without making changes to INI files? If so, how?
    Thanks,
    Bala

    Hi Bala,
    Initializing a variable is simple, you just need to set the value to blank or zero:
    Variable = ""
    #Variable =0
    $Variable = 0.00
    You can place the declaration at the beginning of your script, of course replacing "Variable" with the actual name of you variable.
    Gaétan

  • Single Go button for all prompts - without making changes to system files

    Hi All,
    I went thru several threads and blogs which suggest to do certain changes in the .js files to get a single go button for a group of prompts (saved as individual objects)
    Is it possible to have single go button in 11g for prompts which are saved separately without changing the system files?
    Many Thanks,
    RS

    Hi,
    I dont think so. But in 11.1.6 version there is a feasibility to avoid apply and reset buttons. so that will make to appear all the prompts together.
    And you can try to built a common prompt filter with all the columns, but it will be bad and cause lots of problems.
    Hope this helped/ answered.
    Regards
    MuRam

  • Lightroom 5 Export TIFF tonal change, even without making changes in Photoshop

         Hi there,
    I seem to experience a mysterious issue when Lightroom creates an Edit Tiff for external editing. I have this issue only with one picture it seems. I tried to replicate it with another, but it doessn't happen.
    So here's what happens. I already had an Edit.tif of a DNG. Then I noticed I wanted to do some final retouching in Photoshop with the healing brush, but I also did some minor adjustments in Lightroom on the Edit.tiff, so I decided to create an Edit-Edit.tif.
    Then when I went back to Lightroom, I noticed the Edit-Edit.tif was all of a sudden lighter in the shadows than my Edit.tif.
    I tried some trial and error investigation myself, to replicate the issue. I couldn't replicate it with other pictures. But when I tried to do the same thing again, except this time no Photoshop editing to the Edit-Edit.tif (so Photoshop didn't ask me to save), same thing happened. So at least I found out it doesn't have anything to do with Photoshop.
    Anyone any idea what this could be? I would greatly appreciate any help! Thanks in advance!
    Kind regards,
    Dennis

    Problem is solved. It turns out, it probably has to do with the interpolation mechanism of Lightroom displaying dark area's with color noise a litte different.
    Thanks anyway for reading!

  • Populate a field on each page of formset without making formlevel changes

    Is there any rule that can control at a master level, the population of a certain value from the flat-file extract on all pages of the formset?
    There is a huge number of forms that need to be populated with the value from the extract without making changes to the forms. The field might have to be positioned similar to a footer field.
    Is there any transaction level rule that can be used within the afgjob.jdt to serve this purpose?

    859317 wrote:
    Is there any rule that can control at a master level, the population of a certain value from the flat-file extract on all pages of the formset?
    There is a huge number of forms that need to be populated with the value from the extract without making changes to the forms. The field might have to be positioned similar to a footer field.
    Is there any transaction level rule that can be used within the afgjob.jdt to serve this purpose?If you already have a field on all the pages of the formset, you need only set the scope of the field to global and then populate the value once - it will then be populated for all occurrences of that field in the formset. If you do not already have the field on the components of the formset then your work will be a little more difficult - you will have to create an overlay section that contains the field, set the field scope to global and populate, then add the overlay section to all the forms (you can do this via a DAL script so you don't need to edit all the forms, but you will have to touch them to at least add the DAL).
    -Andy

  • Getting Error while saving a transaction without making any changes to it.

    Hi All,
    I have a page where in the advance table I add few rows and save the transaction. First time when I save it everything works fine, but when I save it again without making any changes to the fields I get following error:
    "Unable to perform transaction on the record. \nCause: The record has been deleted by another user. \nAction: Cancel the transaction and re-query the records to get the new data."
    In the same page if I make any changes again it allows me to save the transaction.
    Please guide how we can avoid it..
    I have already checked many threads related to the issue but nothing has worked. Please help!!
    Any help would be highly appreciated..
    Regards,
    Nisheeth

    Hi All,
    please help!!

  • How to noneditable the field in va02 without modify userexit

    I  use BAPI_SALESDOCU_CREATEFROMDATA1 to create sales order now i want  noneditable the field in va02 without modify userexit
    Edited by: krupa jani on Nov 8, 2008 8:41 AM

    Hi,
    Set the read only property.
    Check this interface IWDInteractiveForm
    http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/uielib/adobe/api/IWDInteractiveForm.html
    Thanks

  • I recently changed computers and lost all my playlists from my itunes on my computer, i have them still on my phone. Is there a way i can get them back without making them all again?!

    i recently changed computers and lost all my playlists from my itunes on my computer, i have them still on my phone. Is there a way i can get them back without making them all again?!

    If the books were purchased at the iBookStore, you will be able to redownload, like the apps. Some other sellers, like O'Reilly, also allow multiple downloads.
    If you have (or can install) iTunes on a computer (Mac preferable, not mandatory) and run it then plug the device in, does it show up? If the computer can detect it, you can and should do a complete backup onto local storage immediately. That can then be used to reconstruct the content of the device on a new or repaired replacement. If you enable encryption, even the passwords will get saved.

  • Creating print files that clients can modify in the future without using Indesign

    If I create a print/design piece for clients in Indesign CS3 is there a file format I can give them that they can modify in the future without coming back to me to modify it for them? Essentially build them a design template which they can use for another program such as word / publisher / something like that?
    Yes, publisher is gross...I know, i know, i cringed a little too...

    I'm with David on this one. If you can charge the client for making changes to a project you already created, why not do so? If the client has ASKED you for an "editable" format of the project so they can "save money" by making their own edits, they're cheating you.
    In a nutshell, if a client wants to edit a project, as Rodney mentioned, they'll need to pony up and purchase the required software, and THEN learn how to use it--nothing is free, right?
    Also be aware that by giving a client access to your production files, you are setting yourself up for the possibility of many phone calls "asking" how to do this or that in the files. Unless you also plan on adding a cost update for program tutorials, I wouldn't even think of it.
    Another thing to consider is this; once you turn over any production files, you may also be blamed for "corrupt files" when the client takes those files (edited or not) to an unknown printer who may tell the client, "I can't use these files". The client will then call you in frustration, exclaiming "The files you sent me are bad! The printer can't use them. You have to fix this right away." At this point, your best option is to add a disclaimer such as a READ-ME file on the disk, that states you aren't responsible for the quality of output of any files which you do not maintain final production control.
    Remember: we (as designers, printers, etc.) are in business to make money doing a job that a client doesn't know how to do. That's what business is all about. Just because a client might want to "save money" by doing it themselves doesn't mean you have to "train" them to do it without charging for that service, as well. In my business, I have an actual cost update item entry called "Software Assistance and Training", and we charge $180 per hour or fraction thereof to walk clients through editing a document we created, if they insist on requesting the project files from us. It makes sure we get paid for the time spent on all projects, even if it means spending an hour on the phone to "walk" a client through the steps of using the program. And finally: A client that doesn't want to pay for your services is a client any profitable business doesn't need.
    Just something to think about...
    Mikey

  • Modified CR2 files in ACR and changes were not saved

    I have a directory with 1400 CR2 files in it. I have a stack of picks that I am working with. I went through and for 6 hours adjusted all the images by opening them in Camera Raw and making changes to White Balance, Fill light, etc... When I was done, i clicked done to save the changes to the file (Like I've done many many times before).However most of the modifications were never saved. All the files have sidecar xmp files, but most show original files without modification. I edited approximately 580 images this way and probably 20% kept the changes and the rest "seem" to have reverted back to their original "As Shot" state. Any ideas what happened? Is this reversible or did I just waste my life?

    Look at the folder in windows Explorer.   What are the time stamps on  the xmp files?  Do they appear to be "current" -- that is, timestamps approximately when you performed the ACR edits and pressed Done?  Or do 70 to 80% of them have earlier time stamps?  Current time stamps would suggest that xmp files are being written or updated, possibly omitting some ACR edit data; earlier time stamps suggest that the xmp files were not updated by ACR-Done.
    Sequence the xmp files by Date Modified.   Do the xmp file time stamps appear to be in time groups?  If you clicked Done after editing 20-25 images in ACR, you would expect to see 20-25 xmp files with the same file modified date and time.  If you see this, it suggests that entire groups of edits were saved; but some groups of edits that should be saved by a Done from ACR may not have been saved to xmp.  If you see groups of substantially fewer than your usualy edit Done sets of 20-25, it suggests that only some xmp files were written.
    Since it looks like that you will need to go back and redo the edits to a good many of your 580 images, you might try looking at the xmp files after each ACR Done.  Sequence the xmp files by Date Modified.  Is the number of file modified timestamps with the 'now' date and time the same as the number of files you just edited in ACR?
    In Bridge, do the just-performed edits appear in the thumbnails?  Look a the ACR values in the metadata for each of the just-edited images.  Do they show the values you just edited?  (Be sure that you have checked on Camera Raw metadata in Bridge preferences.)

  • Making changes to date-related fields

    Hi all,
    Before i continue, i'd like to thank everyone who helped me develop my first ever ABAP program. However, i am now asked to make changes to it.
    Criteria: The input field for PO Date (I_BEDAT) now has to become 2 separate input fields. The first field is where the user has to input the month that they wish to query (I_MONTH1 to I_MONTH2). The second field is where the user has to input the year that they wish to query (I_YEAR).
    The following is what i have done so far, without any changes made yet. I'm still reading what the F1 help has to say before i do anything...but if anyone could give me a hint or an idea where to start with, please share it with me...thanks to all in advance
    *& Report  ZLPUPO100                                                   *
    *& Description : Delivery Evaluation Report                            *
    REPORT ZLPUPO100 NO STANDARD PAGE HEADING LINE-SIZE 135 LINE-COUNT 65.
    TABLES: EKKO,
            EKPO,
            EKBE,
            EKET.
    DATA: BEGIN OF ITAB OCCURS 0,
          EBELN LIKE EKKO-EBELN,  "Purchasing Document Number
          EBELP LIKE EKPO-EBELP,  "Item Number of Purchasing Document
          EINDT LIKE EKET-EINDT,  "Item delivery date
          BUDAT LIKE EKBE-BUDAT,  "Posting Date in the Document
          END OF ITAB.
    DATA: BEGIN OF WTAB OCCURS 0,
          EBELN LIKE EKBE-EBELN,  "Purchasing Document Number
          EBELP LIKE EKBE-EBELP,  "Item Number of Purchasing Document
    *      EINDT LIKE EKET-EINDT,  "Item delivery date
          BUDAT LIKE EKBE-BUDAT,  "Posting Date in the Document
          END OF WTAB.
    DATA V_OVERDUE TYPE I.
    DATA COUNT_OVERDUE TYPE I.
    DATA COUNT_LINES TYPE I.
    DATA V_PERCENTAGE TYPE P DECIMALS 9.
    *&    SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
      I_WERKS FOR EKPO-WERKS DEFAULT '6000' NO INTERVALS,  "PLANT
      I_BUKRS FOR EKKO-BUKRS DEFAULT 'GSPC' NO INTERVALS,  "COMPANY CODE
      I_EBELN FOR EKKO-EBELN DEFAULT,   "PO NUMBER
      I_LIFNR FOR EKKO-LIFNR,                              "VENDOR NUMBER
      I_MATNR FOR EKPO-MATNR.                              "MATERIAL NUMBER
      I_BEDAT FOR EKKO-BEDAT.                              "PO DATE
    PARAMETERS I_MONTH(2) TYPE D.                         "YEAR
    PARAMETERS I_YEAR(4) TYPE D DEFAULT SY-DATUM+0(4).    "MONTH
    SELECTION-SCREEN END OF BLOCK 1.
    SELECTION-SCREEN BEGIN OF BLOCK 2 WITH FRAME TITLE TEXT-002.
    PARAMETERS:  P_ONET RADIOBUTTON GROUP RFMT DEFAULT 'X',  "ON-TIME
                 P_ODUE RADIOBUTTON GROUP RFMT,  "OVERDUE
                 P_ALLP RADIOBUTTON GROUP RFMT,  "BOTH (SORT BY PO NO.)
                 P_ALLC RADIOBUTTON GROUP RFMT.  "BOTH (SORT BY CATEGORY)
    SELECTION-SCREEN END OF BLOCK 2.
    *&    START-OF-SELECTION
    START-OF-SELECTION.
        PERFORM WRITE_HEADER.
        PERFORM SELECT_DATA.
    END-OF-SELECTION.
    *&    FORM WRITE_HEADER
    FORM WRITE_HEADER.
    WRITE: /1 'REPORT:', SY-REPID,
             118 'PAGE:', SY-PAGNO.
      WRITE: /1 'DATE:', SY-DATUM,
             54 'DELIVERY EVALUATION REPORT',
             118 'USER:', SY-UNAME, 147 ' ' .
      WRITE: / SY-ULINE(148).
    ENDFORM.
    *&    SELECT_DATA
    FORM SELECT_DATA.
    *--> IF ON-TIME DELIVERY IS SELECTED
    IF P_ONET EQ 'X'.
      PERFORM WRITE_ONET.
    *--> IF OVERDUE DELIVERY IS SELECTED
    ELSEIF P_ODUE EQ 'X'.
      PERFORM WRITE_ODUE.
    *--> IF BOTH IS SELECTED, SORT BY PO NUMBER
    ELSEIF P_ALLP EQ 'X'.
      PERFORM WRITE_ALLP.
    *--> IF BOTH IS SELECTED, SORT BY CATEGORY (+/-)
    ELSE.
      PERFORM WRITE_ONET.
      PERFORM WRITE_ODUE.
    ENDIF.
    ENDFORM.
    *&    FORM WRITE_ONET
    FORM WRITE_ONET.
    SELECT A~EBELN B~EBELP C~EINDT
            INTO CORRESPONDING FIELDS OF TABLE ITAB
            FROM ( EKKO AS A
                   INNER JOIN EKPO AS B
                     ON B~EBELN = A~EBELN
                   INNER JOIN EKET AS C
                     ON C~EBELN = B~EBELN AND
                        C~EBELP = B~EBELP AND
                        C~ETENR = '1')
            WHERE B~WERKS IN I_WERKS AND
                  B~LOEKZ = ' ' AND
                  A~BUKRS IN I_BUKRS AND
                  A~BSTYP = 'F' AND
                  A~EBELN IN I_EBELN AND
                  A~LIFNR IN I_LIFNR AND
                  B~MATNR IN I_MATNR AND
                  A~BEDAT IN I_BEDAT
            ORDER BY A~EBELN B~EBELP.
    *DELETE ADJACENT DUPLICATES FROM ITAB COMPARING ALL FIELDS.
    SELECT EBELN EBELP BUDAT
      INTO CORRESPONDING FIELDS OF TABLE WTAB
      FROM EKBE
      WHERE WERKS IN I_WERKS AND
            EBELN IN I_EBELN AND
    *        EBELP = ITAB-EBELP AND
            VGABE = '1' AND
            BEWTP = 'E'
      ORDER BY EBELN EBELP.
      FORMAT COLOR 1.
      WRITE: / SY-ULINE(86).
      WRITE: /1  '|', 20 'EVALUATION REPORT FOR ON-TIME DELIVERY ITEMS',
              86 '|'.
      FORMAT COLOR OFF.
      FORMAT COLOR 4.
      WRITE: / SY-ULINE(86).
      WRITE: /1  '|', 5 'PO No.',
              14 '|', 16 'PO Item No.',
              28 '|', 'PO Delivery Date',
              47 '|', 'Actual Delivery',
              65 '|', 'Overdue Days (+/-)',
              86 '|'.
      FORMAT COLOR OFF.
      WRITE: / SY-ULINE(86).
      NEW-LINE.
    LOOP AT WTAB.
    MOVE WTAB-BUDAT TO ITAB-BUDAT.
    MODIFY ITAB TRANSPORTING BUDAT
      WHERE EBELN = WTAB-EBELN AND
            EBELP = WTAB-EBELP.
    ENDLOOP.
    LOOP AT ITAB.
      IF NOT ITAB-BUDAT IS INITIAL.
    *--> IF BUDAT CONTAINS A DATE
        V_OVERDUE = ITAB-BUDAT - ITAB-EINDT.
      ELSE.
    *-- IF BUDAT DOES NOT CONTAIN A DATE
        CLEAR V_OVERDUE.
      ENDIF.
    *--> DISPLAY ON-TIME ITEMS ONLY
    *  IF V_OVERDUE LE 0.
      IF ITAB-BUDAT IS INITIAL.
        DELETE ITAB.
      ELSEIF ITAB-BUDAT > ITAB-EINDT.
        DELETE ITAB.
      ELSE.
      WRITE: /1  '|', 3 ITAB-EBELN,   "PO NO
              14 '|', 19 ITAB-EBELP,  "PO ITEM NO
              28 '|', 33 ITAB-EINDT,  "PO DELIVERY DATE
              47 '|', 51 ITAB-BUDAT,  "ACTUAL DELIVERY DATE
              65 '|', V_OVERDUE,      "OVERDUE DAYS
              86 '|'.
    *  WRITE: / SY-ULINE(86).
      ENDIF.
    ENDLOOP.
      WRITE: / SY-ULINE(86).
    ENDFORM.
    *&    FORM WRITE_ODUE
    FORM WRITE_ODUE.
    SELECT A~EBELN B~EBELP C~EINDT
            INTO CORRESPONDING FIELDS OF TABLE ITAB
            FROM ( EKKO AS A
                   INNER JOIN EKPO AS B
                     ON B~EBELN = A~EBELN
                   INNER JOIN EKET AS C
                     ON C~EBELN = B~EBELN AND
                        C~EBELP = B~EBELP AND
                        C~ETENR = '1')
            WHERE B~WERKS IN I_WERKS AND
                  B~LOEKZ = ' ' AND
                  A~BUKRS IN I_BUKRS AND
                  A~BSTYP = 'F' AND
                  A~EBELN IN I_EBELN AND
                  A~LIFNR IN I_LIFNR AND
                  B~MATNR IN I_MATNR AND
                  A~BEDAT IN I_BEDAT
            ORDER BY A~EBELN B~EBELP.
    *DELETE ADJACENT DUPLICATES FROM ITAB COMPARING ALL FIELDS.
    SELECT EBELN EBELP BUDAT
      INTO CORRESPONDING FIELDS OF TABLE WTAB
      FROM EKBE
      WHERE WERKS IN I_WERKS AND
            EBELN IN I_EBELN AND
    *        EBELP = ITAB-EBELP AND
            VGABE = '1' AND
            BEWTP = 'E'
      ORDER BY EBELN EBELP.
      FORMAT COLOR 1.
      WRITE: / SY-ULINE(86).
      WRITE: /1  '|', 20 'EVALUATION REPORT FOR OVERDUE DELIVERY ITEMS',
              86 '|'.
      FORMAT COLOR OFF.
      FORMAT COLOR 4.
      WRITE: / SY-ULINE(86).
      WRITE: /1  '|', 5 'PO No.',
              14 '|', 16 'PO Item No.',
              28 '|', 'PO Delivery Date',
              47 '|', 'Actual Delivery',
              65 '|', 'Overdue Days (+/-)',
              86 '|'.
      FORMAT COLOR OFF.
      WRITE: / SY-ULINE(86).
      NEW-LINE.
    LOOP AT WTAB.
    MOVE WTAB-BUDAT TO ITAB-BUDAT.
    MODIFY ITAB TRANSPORTING BUDAT
      WHERE EBELN = WTAB-EBELN AND
            EBELP = WTAB-EBELP.
    ENDLOOP.
    LOOP AT ITAB.
    ADD 1 TO COUNT_LINES.
    ENDLOOP.
    LOOP AT ITAB.
      IF NOT ITAB-BUDAT IS INITIAL.
    *--> IF BUDAT CONTAINS A DATE
        V_OVERDUE = ITAB-BUDAT - ITAB-EINDT.
      ELSE.
    *-- IF BUDAT DOES NOT CONTAIN A DATE
        CLEAR V_OVERDUE.
      ENDIF.
    *--> DISPLAY OVERDUE ITEMS ONLY
      IF V_OVERDUE < 0.
    *    ADD 1 TO COUNT_OVERDUE.
        DELETE ITAB.
      ELSEIF ITAB-BUDAT = ITAB-EINDT.
        DELETE ITAB.
      ELSE.
        ADD 1 TO COUNT_OVERDUE.
      WRITE: /1  '|', 3 ITAB-EBELN,   "PO NO
              14 '|', 19 ITAB-EBELP,  "PO ITEM NO
              28 '|', 33 ITAB-EINDT,  "PO DELIVERY DATE
              47 '|', 51 ITAB-BUDAT,  "ACTUAL DELIVERY DATE
              65 '|', V_OVERDUE,      "OVERDUE DAYS
              86 '|'.
    *  WRITE: / SY-ULINE(86).
      ENDIF.
    ENDLOOP.
      WRITE: / SY-ULINE(86).
      NEW-LINE.
      WRITE: /1  '|', 'Total Overdue Delivery Items: '.
      FORMAT COLOR 3.
      WRITE: COUNT_OVERDUE.
      FORMAT COLOR OFF.
      WRITE: 86 '|'.
    COMPUTE V_PERCENTAGE = ( COUNT_OVERDUE * 100 ) / COUNT_LINES.
      WRITE: /1 '|', 'Percentage (%) Over All Deliveries: '.
        FORMAT COLOR 3.
        WRITE: V_PERCENTAGE DECIMALS 2.
      FORMAT COLOR OFF.
      WRITE: 86 '|'.
      WRITE: / SY-ULINE(86).
    ENDFORM.
    *&    FORM WRITE_ALLP
    FORM WRITE_ALLP.
    SELECT A~EBELN B~EBELP C~EINDT
            INTO CORRESPONDING FIELDS OF TABLE ITAB
            FROM ( EKKO AS A
                   INNER JOIN EKPO AS B
                     ON B~EBELN = A~EBELN
                   INNER JOIN EKET AS C
                     ON C~EBELN = B~EBELN AND
                        C~EBELP = B~EBELP AND
                        C~ETENR = '1')
            WHERE B~WERKS IN I_WERKS AND
                  B~LOEKZ = ' ' AND
                  A~BUKRS IN I_BUKRS AND
                  A~BSTYP = 'F' AND
                  A~EBELN IN I_EBELN AND
                  A~LIFNR IN I_LIFNR AND
                  B~MATNR IN I_MATNR AND
                  A~BEDAT IN I_BEDAT
            ORDER BY A~EBELN B~EBELP.
    *DELETE ADJACENT DUPLICATES FROM ITAB COMPARING ALL FIELDS.
    SELECT EBELN EBELP BUDAT
      INTO CORRESPONDING FIELDS OF TABLE WTAB
      FROM EKBE
      WHERE WERKS IN I_WERKS AND
            EBELN IN I_EBELN AND
    *        EBELP = ITAB-EBELP AND
            VGABE = '1' AND
            BEWTP = 'E'
      ORDER BY EBELN EBELP.
      FORMAT COLOR 1.
      WRITE: / SY-ULINE(86).
      WRITE: /1  '|', 20 'EVALUATION REPORT FOR ALL DELIVERY ITEMS',
              86 '|'.
      FORMAT COLOR OFF.
      FORMAT COLOR 4.
      WRITE: / SY-ULINE(86).
      WRITE: /1  '|', 5 'PO No.',
              14 '|', 16 'PO Item No.',
              28 '|', 'PO Delivery Date',
              47 '|', 'Actual Delivery',
              65 '|', 'Overdue Days (+/-)',
              86 '|'.
      FORMAT COLOR OFF.
      WRITE: / SY-ULINE(86).
      NEW-LINE.
    LOOP AT WTAB.
    MOVE WTAB-BUDAT TO ITAB-BUDAT.
    MODIFY ITAB TRANSPORTING BUDAT
      WHERE EBELN = WTAB-EBELN AND
            EBELP = WTAB-EBELP.
    ENDLOOP.
    LOOP AT ITAB.
      IF NOT ITAB-BUDAT IS INITIAL.
    *--> IF BUDAT CONTAINS A DATE
        V_OVERDUE = ITAB-BUDAT - ITAB-EINDT.
      ELSE.
    *-- IF BUDAT DOES NOT CONTAIN A DATE
        CLEAR V_OVERDUE.
      ENDIF.
    *--> DISPLAY BOTH ON-TIME AND OVERDUE ITEMS
      WRITE: /1  '|', 3 ITAB-EBELN,   "PO NO
              14 '|', 19 ITAB-EBELP,  "PO ITEM NO
              28 '|', 33 ITAB-EINDT,  "PO DELIVERY DATE
              47 '|', 51 ITAB-BUDAT,  "ACTUAL DELIVERY DATE
              65 '|', V_OVERDUE,      "OVERDUE DAYS
              86 '|'.
    *  WRITE: / SY-ULINE(86).
    ENDLOOP.
      WRITE: / SY-ULINE(86).
    ENDFORM.

    Hi Bernard,
    congratulations to your first ever ABAP program.
    Looks pretty good. I assume your question refers to
    the declaration of your both new fields.
    The data type 'D' already automatically declares a field
    as a character field of length 8. You should declare
    I_MONTH as type C length 2 and I_YEAR as length 4.
    Better yet: Let I_MONTH refer to the datatype MONTH and
    declare it as a listbox-parameter
    (like: I_MONTH type MONTH AS LISTBOX). This has the advantage of having allowed values in your parameter listbox, coming from SAP standard. Unfortunetaly there is nothing like that for year and it would probably lead to far to describe how to create a set of allowed values for this parameter on your own.
    The second problem you might have is how to execute a proper selection on this. One of maybe 10 different ways to do that would be to leave the I_BEDAT selewct-option as it is but to hide it from the selection screen and fill it automatically with what you have in your both new parameters. Select-Options are stored internally as a table that you append a line to, as follows:
    Fill the LOW-value (FROM-value in selection) with
    the first day of the month:
    CONCATENATE I_YEAR I_MONTH '01' TO I_BEDAT-LOW.
    Fill a new date variable with the last day of the
    month by (as above, I_BEDAT-LOW replaced by your
    variable, I_MONTH incremented before by 1, subtract
    1 from the readily concatenated date and you have the
    last day of the month as result):
    MOVE: NEW_DATE_VARIABLE TO I_BEDAT-HIGH,
          'BT'              TO I_BEDAT-OPTION, "(=Between)
          'I'               TO I_BEDAT-SIGN.   "(=Inlusive)
    APPEND I_BEDAT.
    After that you can continue using the I_BEDAT-Selection
    in your Selection as it is.

  • Add Command to StringItem without making it a hyperlink

    I want to make a screen with a load of StringItems that the user can highlight and I found that I can do this by adding a command to each StringItem (without making it a button). The only problem is, as soon as a Command is added the appearanceMode of the Item is set to HYPERLINK and I can't change it. Does anyone know how I can achieve the same without making it a HYPERLINK. The problem I have with the hyperlink is that it becomes underlined, and I am using spaces to alter the layout, so the empty space also gets underlined.

    As far as I understand, you create StringItem with default appearance mode - using constructor StringItem(label, text).
    In that case, [MIDP 2.1|http://www.jcp.org/en/jsr/detail?id=118] requires device to set hyperlink appearancefor item with command:
    A StringItem that has item commands and the appearance mode Item.PLAIN MUST always be presented as a StringItem with added command(s) and appearance mode Item.HYPERLINK.To avoid hyperlink, I'd try to use "button" appearance mode. This could be done with constructor StringItem(label, text, Item.BUTTON)

  • Ihone 4s lost all contacts. I tried to restore from backup but the error message now says there is not enough room. I have deleted all the apps without making any more room on iphone. Why did contact disappear and how do I get them back?

    ihone 4s lost all contacts. I tried to restore from backup but the error message now says there is not enough room. I have deleted all the apps without making any more room on iphone. Why did contact disappear and how do I get them back?

    In the simplest sense, archiving a file means making a copy that you never change and never discard. You already know how to do that.
    iPhoto has built-in archival features, in the sense that it saves all versions of an image that you've modified. As long as you have adequate backups, you don't necessarily have any reason to archive an iPhoto library. If you want to delete images from the working library but still have access to them in case you change your mind, then you do need to archive those images. I don't have a specific suggestion as to how you should do that. You might post a question in the iPhoto forum.

  • I no longer have access to the back up email address I used when I set up my apple ID. I have since forgotten the answers to my security questions and am having a problem making changes to my account. What can I do?

    I no longer have access to the back up email address I used when I set up my apple ID. I have since forgotten the answers to my security questions and am having a problem making changes to my account. What can I do?

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (114957)

Maybe you are looking for