<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAP Scripts UREGENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271620#M782063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you only have to print an 'X'. You just have to place it rightly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 08:31:27 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-01-16T08:31:27Z</dc:date>
    <item>
      <title>SAP Scripts UREGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271619#M782062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am doing bank transfer sapscript for one bank which the data should be printed on pre-printed form. I did coding for fetching the data in the revelant fields. I need help for 1 problem. In this pre-printed form I have 4 check boxes one check box has to be ticked default. How can i write the code to keep the check box ticked in the script when i print the form. Kindly help me to write the code in the Sap Script. Awaiting for fast reply. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 08:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271619#M782062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T08:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Scripts UREGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271620#M782063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you only have to print an 'X'. You just have to place it rightly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 08:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271620#M782063</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-01-16T08:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Scripts UREGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271621#M782064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check this, may be it will be helpful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPScripts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POSITION WINDOW&lt;/P&gt;&lt;P&gt;SIZE WIDTH '160' MM HEIGHT '140' MM&lt;/P&gt;&lt;P&gt;BOX FRAME 10 TW&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Box&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;BOX HEIGHT '11' MM WIDTH '160' MM FRAME 10 TW INTENSITY 35&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;linessssssss&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;BOX XPOS '20' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW&lt;/P&gt;&lt;P&gt;BOX XPOS '45' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW&lt;/P&gt;&lt;P&gt;BOX XPOS '80' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW&lt;/P&gt;&lt;P&gt;BOX XPOS '120' MM WIDTH 0 TW HEIGHT '140' MM FRAME 10 TW &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Boxes, Lines, Shading: BOX, POSITION, SIZE &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when printing. Line printers and page-oriented printers not supported in the standard ignore these commands. You can view the resulting printer output in the SAPscript print preview.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Syntax:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY] &lt;/P&gt;&lt;P&gt;/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE] &lt;/P&gt;&lt;P&gt;/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]&lt;/P&gt;&lt;P&gt;BOX Command&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Effect: draws a box of the specified size at the specified position.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;XPOS, YPOS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Upper left corner of the box, relative to the values of the POSITION command. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Default: Values specified in the POSITION command.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The following calculation is performed internally to determine the absolute output position of a box on the page: &lt;/P&gt;&lt;P&gt;X(abs) = XORIGIN + XPOS &lt;/P&gt;&lt;P&gt;Y(abs) = YORIGIN + YPOS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WIDTH&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Width of the box. Default: WIDTH value of the SIZE command.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;HEIGHT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Height of the box. Default: HEIGHT value of the SIZE command.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FRAME&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thickness of frame.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Default: 0 (no frame).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INTENSITY&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Grayscale of box contents as %.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Default: 100 (full black)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Measurements: You must specify decimal numbers as literal values (like ABAP numeric constants) by enclosing them in inverted commas. Use the period as the decimal point character. See also the examples listed below.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Units of measurement: The following units of measurement may be used:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TW (twip)&lt;/P&gt;&lt;P&gt;PT (point) &lt;/P&gt;&lt;P&gt;IN (inch) &lt;/P&gt;&lt;P&gt;MM (millimeter) &lt;/P&gt;&lt;P&gt;CM (centimeter) &lt;/P&gt;&lt;P&gt;LN (line) &lt;/P&gt;&lt;P&gt;CH (character). &lt;/P&gt;&lt;P&gt;The following conversion factors apply: &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1 TW = 1/20 PT &lt;/P&gt;&lt;P&gt;1 PT = 1/72 IN &lt;/P&gt;&lt;P&gt;1 IN = 2.54 CM &lt;/P&gt;&lt;P&gt;1 CM = 10 MM &lt;/P&gt;&lt;P&gt;1 CH = height of a character relative to the CPI specification in the form header &lt;/P&gt;&lt;P&gt;1 LN = height of a line relative to the LPI specification in the form header&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX INTENSITY 10 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Fills the window background with shading having a gray scale of 10 %.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX HEIGHT 0 TW FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Draws a horizontal line across the complete top edge of the window.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX WIDTH 0 TW FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Draws a vertical line along the complete height of the left hand edge of the window.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15 &lt;/P&gt;&lt;P&gt;/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt;/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;POSITION Command&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started, the POSITION value is set to refer to the upper left corner of the window (default setting).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words, as a value that specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;XORIGIN, YORIGIN&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Origin of the coordinate system.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WINDOW&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sets the values for the left and upper edges to match those of the current window (default setting).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PAGE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sets the values for the left and upper edges to match those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/: POSITION WINDOW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sets the origin for the coordinate system to the upper left corner of the window.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN 2 CM YORIGIN '2.5 CM' &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SIZE Command&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started, the SIZE value is set to the same values as the window itself (default setting).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WIDTH, HEIGHT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Dimensions of the rectangle or line.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WINDOW&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sets the values for the width and height to the values of the current window (default setting).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PAGE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sets the values for the width and height to the values of the current output page.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;/: SIZE WINDOW&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sets WIDTH and HEIGHT to the current window dimensions.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;/: POSITION WINDOW &lt;/P&gt;&lt;P&gt;/: POSITION XORIGIN -20 TW YORIGIN -20 TW &lt;/P&gt;&lt;P&gt;/: SIZE WIDTH +40 TW HEIGHT +40 TW &lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf" target="test_blank"&gt;http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf" target="test_blank"&gt;http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf" target="test_blank"&gt;http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf" target="test_blank"&gt;http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf" target="test_blank"&gt;http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm" target="test_blank"&gt;http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 08:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271621#M782064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T08:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Scripts UREGENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271622#M782065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:MARA.&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF GT_MARA OCCURS 0,&lt;/P&gt;&lt;P&gt;MATNR LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;END OF GT_MARA,&lt;/P&gt;&lt;P&gt;GV_CB,&lt;/P&gt;&lt;P&gt;GV_CBV,&lt;/P&gt;&lt;P&gt;GV_LINES TYPE I,&lt;/P&gt;&lt;P&gt;INDEX TYPE I,&lt;/P&gt;&lt;P&gt;SY_INDEX TYPE I,&lt;/P&gt;&lt;P&gt;GV_LINES1 TYPE I,&lt;/P&gt;&lt;P&gt;MATNR LIKE MARA-MATNR.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:S_MATNR FOR MARA-MATNR.&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;MATNR FROM MARA&lt;/P&gt;&lt;P&gt;INTO TABLE GT_MARA&lt;/P&gt;&lt;P&gt;WHERE MATNR IN S_MATNR.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE GT_MARA LINES GV_LINES.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT GT_MARA.&lt;/P&gt;&lt;P&gt;WRITE:/ GV_CB AS CHECKBOX,&lt;/P&gt;&lt;P&gt;GT_MARA-MATNR.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;CLEAR GT_MARA.&lt;/P&gt;&lt;P&gt;WRITE:'Total num of records is ',GV_LINES.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'DEL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'DEL' OR SY-UCOMM = 'PICK'.&lt;/P&gt;&lt;P&gt;DO 50 TIMES.&lt;/P&gt;&lt;P&gt;SY_INDEX = SY-INDEX.&lt;/P&gt;&lt;P&gt;READ LINE SY_INDEX FIELD VALUE GV_CB&lt;/P&gt;&lt;P&gt;GT_MARA-MATNR INTO MATNR.&lt;/P&gt;&lt;P&gt;IF GV_CB = 'X'." AND MATNR IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT GT_MARA." WHERE MATNR = MATNR. &lt;/P&gt;&lt;P&gt;DELETE GT_MARA. &lt;/P&gt;&lt;P&gt;CLEAR GT_MARA. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;delete gt_mara index sy_index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE GT_MARA LINES GV_LINES1.&lt;/P&gt;&lt;P&gt;WRITE:'Total num of records is ',GV_LINES1.&lt;/P&gt;&lt;P&gt;CLEAR:GV_LINES .&lt;/P&gt;&lt;P&gt;LOOP AT GT_MARA.&lt;/P&gt;&lt;P&gt;WRITE:/ GT_MARA-MATNR.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 08:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-scripts-uregent/m-p/3271622#M782065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T08:35:53Z</dc:date>
    </item>
  </channel>
</rss>

