Script tab info req??

hi
i had an req like to display in format the quantity with there values below them:
              quan1      quan2     quant3     quan4      quan5
value:        10            11          12           13            14
my above line is displaying like this,but below line is coming:
value:             10               11            12            13
14
i want to take this in same line,below there respective quantity lables.pleae tell how to do?
also when i make a para p7,the TAB option in that shows only 3 tabs,tell what to do,if fileds in a line are 5,6,than how to give tab spacing b/z them.
my code:
P8           INVOICE VALUE:
=           &DTL2-MENGE&,,&DTL2-RATE&,,&DTL2-RATE1&,,&DTL2-RATE2&,,&DTL2-VALUE&
tabs in P8
1. 2cm
2. 3cm
3. 4cm.i am not very much clr with this tab funda,plz explain me.
regds

This is how tab concept work in SAPscript or in Smartform.
Go to your paragraph format and click on tabs.
Now define all your tab scpaces here.. Since you have 5 variable your can define either 5 or 4 tab spaces, for your undertanding I will define 5 tab spaces, let us assume our paragraph format is AS
Tabspaces: for paragraph AS
Tab Position        Alignment
0.2   CM             LEFT
1.2    CM             LEFT
3.7    CM             LEFT
5.5    CM             LEFT
6.5    CM             LEFT
Now inside your window call you paragraph format with tab spaces with all your variables as shown below
AS ,, &variable1& ,, &variable2& ,, &variable3& ,, &variable4&,, variable 5&
In above ,, --> represents tab spaces
since, before variable 1 we have given a tab space as shown above it will print at 0.2 CM position from window start and second variable will print from 1.2 cm from start of window and 3rd variable will print at 3,7 CM from start of window and so on...
Close the thread once your question is answered.
Regards,
SR

Similar Messages

  • SAP Script info req to print new line iten on new page

    hi
    i had an req to print the list of MATNR & KUNNR on script,but the req is like this,at NEW MATNR,the script shd start with new page,say,if there are 5 MATNR,2 are same & 3 are same with diff KUNNR.
    On first page:2 MATNR shd be printed
    On Second Page:3 MATNR shd be printed & so on each time on new page...
    Please tell me how to do it,in window MAIN,how shd i wirte code for this?
    regds

    hey,
    Check this,
    First in your print program call FM 'START_FORM'.
    Then call FM 'WRITE_FORM'
    After this call FM 'CONTROL_FORM' :
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    command = 'NEW-PAGE'
    EXCEPTIONS
    UNOPENED = 1
    UNSTARTED = 2
    OTHERS = 3
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    At last call FM 'CLOSE_FORM'.
    By using FM control_form and passing parameter 'NEW-PAGE' you will get one new page even thow if content of ur main window of previous page is not exceeding..
    hey call new-page for every new matnr
    Regards,
    Midhun Abraham
    Edited by: Midhun Abraham on Oct 11, 2008 8:47 AM

  • All scripts are missing from scripts tab

    I dont know why but all the scripts that were in my scripts tab are missing.  This happened once before and I found a fix but cant locate the steps to that again.  I remember it had something to do with backing up a few files and have ID recreate them or something.  Any ideas?

    Follow this link and try resetting your indesign prefrence.
    Shonky

  • Firefox 12 just installed on MacBook Pro, OSX 106.8. FF looks great, seems faster also. BUT, on tab menu, the small triangle (to list the tab info) is missing;

    Firefox 12 just installed on MacBook Pro, OSX 106.8. FF looks great, seems faster also. BUT, on tab menu, the small triangle (to list the tab info) is missing; I can't find a way to reinstall it using the View->Toolbars->Customise option. Can you help?

    You will only see the "List All Tabs" button in Firefox 12+ if there are that many tabs open that you get the Tab bar scroll buttons appearing.
    * Permanent List-all-tabs Button: https://addons.mozilla.org/firefox/addon/permanent-listalltabs/
    Bug 714281 - Show the all tabs button only when the tab strip overflows

  • Re: script tabs

    Hi,
       I am facing one problem with the script tabs. I have to print three text columns.
    20,30,40 lengths of three columsn.
    how to set the tabs to fix the lengths of teh columns and how to write it in the script editor.
    rgds
    p. krishna prasad

    Hi Krishna,
       In your form create a new paragraph format. In that paragraph format got to TABS option and mention the required lengths and their positions in the tab positions provided. In the window in which you want to use these tabs write two commas without any space.(,,). This represents a tab positions. Suppose you want to print v1 , v2 and v3 in the three tab positions defined write as ,,&v1&,,&v2&,,&v3&. This will print v1 value at first tab position , v2 in the second and v3 in third tab position.
    Thanks and Regards,
    Bharat Kumar Reddy.V

  • Info req -- in sales order, item detail tab

    hi all,
    In sales order (VA01), Item detail tab,
    1. what is the purpose of business transaction type field?
    2. if click on the field, it will show list. so, where to create the list?

    Hi
    The purpose of that you have to go thro F1 and understand
    The possible entries for that filed is defined in IMG activity T code OVE5
    IMG--->MATERIALS MANAGEMENT->PURCHASING>FOREIGN TRADE AND CUSTOMS>BASIC DATA FOR FOREIGN TRADE-->DEFINE BUSINESS TRANSACTION TYPES AND DEFAULT VALUES
    Regards
    Raja

  • SAP Script Form Info

    Hi all,
    There is no version management in the SAP Script. Then how can i find out the changes made for one TR in that. Can t be possible that i doenload the complete forminfo and upload the same to overwrite the previous one.
    Regards,
    Amit Jain

    Hi !
    You can download form related information from the SE71 Transaction .
    Display the form than Utilities->Form Info .
    Here you can download the form .
    Regards
    Sachin

  • Module pool domain text display info req?

    hi
    i had an req to show a filed MATNR on a screen in module pool pgm,there shd be a i/p filed for material,user can select the material from the list of available materials,along with the test to be displayed for the filed next to material nos.
    the list of mateiral is based on the login user name.
    i am able to display the material list,but text is not coming.
    pls tell me how to show the text next to matnr no. in list.
    i had used the code:
    loop at itab_carrid.
        clear:text.
        CALL FUNCTION 'ADS2KIPBRO_GET_DOMAIN_TEXT'
          EXPORTING
            E_TABLE          = 'MARA'
            E_FIELD          = 'MATNR'
            E_VALUE          = itab_carrid-matnr
          IMPORTING
            I_TEXT           = text
          EXCEPTIONS
            ILLEGAL_INPUT    = 1
            DOMAIN_NOT_FOUND = 2
            OTHERS           = 3.
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        move text to itab_carrid-text1.
        modify itab_carrid transporting text1.
      endloop.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'MATNR'
          value_org       = 'S'
        TABLES
          value_tab       = itab_carrid
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.

    hi
    tell me,if i made a i/p field on screen from the data variable declared in my program
    like :data:actvt(3) type c.
    than on layout of screen:I/P filed-actvt.
    now i want to provide the f4 to this.i had written the POV for the filed,the data is there in itab,but not poping out.
    code:PROCESS ON VALUE-REQUEST.
      FIELD ACTVT MODULE create_dropdown_box.
    TYPES: BEGIN OF type_carrid,
             actvt(3)  type c,
             text1(40) type c,
           END OF type_carrid.
    DATA: itab_carrid type Type_carrid occurs 0 with header line.
       itab_carrid-actvt = '001'.
        append itab_carrid.
        itab_carrid-actvt = '002'.
        append itab_carrid.
        itab_carrid-actvt = '003'.
        append itab_carrid.
        itab_carrid-actvt = '004'.
        append itab_carrid.
        itab_carrid-actvt = '005'.
        append itab_carrid.
        itab_carrid-actvt = '006'.
        append itab_carrid.
        itab_carrid-actvt = '007'.
        append itab_carrid.
      endif.
      clear:itab_carrid.
      loop at itab_carrid.
        clear:text.
        CALL FUNCTION 'ADS2KIPBRO_GET_DOMAIN_TEXT'
          EXPORTING
            E_TABLE          = 'YLOGON1'
            E_FIELD          = 'ACTVT'
            E_VALUE          = itab_carrid-actvt
          IMPORTING
            I_TEXT           = text
          EXCEPTIONS
            ILLEGAL_INPUT    = 1
            DOMAIN_NOT_FOUND = 2
            OTHERS           = 3.
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        move text to itab_carrid-text1.
        modify itab_carrid transporting actvt text1.
      endloop.
      clear:itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ACTVT'
          DYNPNR          = SY-DYNNR
          DYNPPROG        = SY-REPID
          value_org       = 'S'
        TABLES
          value_tab       = itab_carrid
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
    plz tell me how to pop out this help in screen.

  • FBL1N Transaction, Info req.

    Info about
    Posted: Dec 22, 2005 6:00 PM        Reply      E-mail this post 
    Hi,
    Presetnly I am working with FBL1N Transaction.
    Vendor Line Item Display.
    I would like some one to elaborate on that the usage of this transaction FBL1N.
    Actually when I am passing the Vendor A/c it should be posted to WBS element, but it is getting posted to cost center .
    Can some one help on this issue.
    Thanks in Advance,
    Irfan

    Hi,
    I am entering the vendor code and company code, after
    wards I am selecting Clear Line Item Selection,
    Then I am selecting Normal Line Items, then executing it,
    After the execution I am clicking on Assignment where I particularly clicking on an Assignment and then Display,
    After display I am clicking on Document Overview,
    I am seeing the expenses are getting posted to cost center not to the WBS element.
    Could you please further advice on this.
    When I am passing vendor code it is should be posted to  WBS element,But in some case it is getting posted to Cost Center and some cases it is getting psoted to WBS element.
    Actually as per our requirement it should be posted to
    WBS not to cost center , Could you please advice further on this issue.
    Thanks In Advance,
    Regards,
    Irfan Hussain

  • Module Pool Info REQ???

    Hi
    I need some info abt the deque-nque concept in module pool,also abt the commit area statemnts in it.
    I had an issue,in which the user runs an application in mdoule pool,like 3 users simaltenouly at a location,if any time they press the SAVE button at the same time,the application generate a unique no. all time,but in the case of same time SAVE butting pressing,one 1 no is generated & is same displyed to all users,thus only 1 records is stored in the table,but in actual it shd be 3.
    So i need to solve this ,can any one tell me how to do ?
    I sthete any deque-nque concept whcih can be applicabe here,or any think like I can lock the no of users at a particular location or i can find the no. of users & than generate the no. at a location based on the users.also in the case of same time SAVE button pressing.
    Plz tell me in brief,i am a beginner in module pool.
    Regds

    yes,this is the  requirement.
    Current the application is there,but the bug is there,which i hv to remove,it has to work in the same way as u written above.
    Can u tell me how to do this?
    the code is like this :
    when 'save'.
          SELECT MAX( slip_no ) INTO v_slipno FROM zhzlagucha_wb
          WHERE werks = werks AND exyear = exyear.
          zhzlagucha_wb-slip_no = v_slipno + 1.
          APPEND zhzlagucha_wb TO agucha_wb.
          zhzlagucha_wb-addn_fld3 = itab-slip_no.
          MODIFY zhzlagucha_wb.
    So i jeust need if 3-4 users simultanesouly press the save button,they shd get the indiual uniqye no.at there screen,& same shd be saved in table.

  • Report script - including info which is not in Essbase

    <p>Hi all of you experts.</p><p> </p><p>Here is a challenge for me. Is it also a challenge for you...oris this just piece of cake??</p><p> </p><p>I need to produce a report script against Essbase, where some ofthe data does not exist in Essbase. I am aware that it may be thebest solution to extract from Essbase what is available, and addthe rest using a different tool. However, I have been tasked withtrying to create a report script tha can support the requirementsdepicted in the following table. The output needs to be in columnformat to be loaded into DB2. The output need to be a semicolonseparated text file.</p><p> </p><p>Questions:</p><p>1) How do I add a column with hardcoded text or no data (Ifpossible)</p><p>2) How do I add a column with an automatic incrementing no(probably need to hardcode)</p><p>3) How do I create at semicolon separated text file as output(if not jus hardcoding semicolon columns)</p><p>4) How do I read system data and time for timestamps</p><p>5) How do I force a specific date time format (as differentformats are required in different columns)</p><p>6) How do I force the decimal point to be (.) rather than (,)even though the Danish settings normally use (,)</p><p> </p><p>Is this at all a sensible thing to attempt to do, and is it atall possible?</p><p> </p><p><b>Dimension</b>                              <b>  Example</b>                        <b>Comments</b></p><p>Scenario                                    Actual                           Essbase Data</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Year                                  2006                      EssbaseData</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Periode                             1,2,3&hellip;12                EssbaseData</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">BUcode                             NYB                        Hardcodedtext</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Repno                               1,2,3,4,6&hellip;              Incrementalnumber</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Category                           abc                        EssbaseData</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Locationno                         1234                      EssbaseData</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Fondskode                        <span style=" font-family: MPlantin;">                                       </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Purpose                            <span style=" font-family: MPlantin;">                                       </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">BusinessArea                    <span style=" font-family: MPlantin;">                                        A</span>lwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Curreny code(local)          DKK                       Hardcodedtext (DKK)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Saldo in localcurr.             99999.99                Decimalpoint (.) not (,)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Delta (Localcurr)              0                            AlwaysZero</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Currencycode(forrign)       <span style=" font-family: MPlantin;">                                        </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Saldo in forrigncurr.          <spanstyle=" font-family: MPlantin;">                                        </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Delta in forrign curr.          <span style= " font-family: MPlantin;">                                       </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">ConcernAccType                <span style=" font-family: MPlantin;">                                      </span>Alwaysempty</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Month Ultimodate            2006.08.31              Hard coded &rdquo;Ultimo date&rdquo; for month (yyyy.mm.dd)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Report executiondate      2006.09.26              Date when report is run (yyyy-mm-dd)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Report Executiontime       2006.09.2612:05      Time when report is run(yyyy-mm-dd HH:MM)</p><p style=" margin-left: -32.5pt; line-height: normal;" class= "msonormal">Dummy                            <span style=" font-family: MPlantin;">;                                        Semicolon</span>as record separator</p><p> </p><p>Hope you guys can help me</p><p> </p><table><tr><td valign="top" width="192" style=" padding-left: 3.5pt; width: 144.0pt; padding-right: 3.5pt; padding-top: 0cm; padding-bottom: 0cm; height: 12.0pt;"><p style=" line-height: normal;" class="msonormal"> </p></td></tr></table><p> </p>

    Look under downloads, code samples, custom designed functions on this site or follow this link to <a target=_blank class=ftalternatingbarlinklarge href="http://dev.hyperion.com/download/code_library/custom_defined_functions_samples.cfm">Custom designed functions</a><BR><BR>It's worth checking out. The extract runs as a custom calc script.

  • MM Goods Received Info req??

    Hi
    Is there any way to find out the GR No-MBLNR  for good received (Mov type - 101) against any Dilivery Doc No(PO is unknown).
    Is there any SAP FM exits for this?
    I have to track the GR status for the Dilivery Doc No(VBELN).
    Urgent Help Req!!!
    rgds
    vipin

    i am looking the same,but unable to identofy the data?
    in MKPF there are 2 fileds:ref doc : XBLNR & delivery: le_vbeln,so I am confuse which shd i take to chk the accurate one.
    Secondly for that deliv/ref no-its shows the MBLRN irresp of any mov type i think so?.
    and i am not able to acces the MSEG table with that ref/dilv no.Is any where in MSEG can i find out the MBLRN for particular deliv no for all mov type??
    that can solve my  prob?but i am unable to find the filed for dilv in MSEG.
    its only works with MBLRN i guess.
    So how to do??

  • MM -Aggrements  defination info req??

    hi
    i need to find out the PO released on all SAP defined aggremnts i.e outline,scheduling,quta aggremnts,info recourds..etc.....
    can any one plz tell me,how to find the defination of aggremnts,where they are matained in Tables,under which fileds.?
    are they only defined at PR or at PO?plz give me some doc. if any one hv so that i can understand the funcationaly,& start coding??
    regds.

    Check this link. U can find more details about  Purchase Requisitions  & Purchasing details.
    http://www.sap-img.com/sap-mm.htm
    http://www.sap-basis-abap.com/sapmmpur.htm
    Regards,
    Maha

  • Idoc info req for trigering a custon idoc?

    Hi
    I had a req to triger a custom idoc to send status after the idoc ARTMAS had beed processed.I had developed the custom idoc,but tell me the way to triger it automaticly every time when the idoc artmas is hitting the sap.
    regds
    vipin

    Hi,
    In the Process Code of ARTMAS, there must be a Function Module attached. Find a exit for it and then call your Custom Idoc from there.
    Regards,
    Sharath

  • Message info req??

    hi
    i had an req like to display an message on list 1 o f any O/P,than if user wants to go to next screen,than he have to press a button,than there shd appear a I message Want to cont',if he cilks OK,it shd display list 2,if he cancel the msg,he shd stays on same list 2.
    I had written a test code,but when i a cancelling the msg,its also moving to next scree,whcih I want to restrict.
    please tell me how to do this?
    if itab[] is not initial.
      message i000(0) with 'NEXT'.
      if sy-subrc = 0.
        loop at itab.
          write:/ itab-matnr.
        endloop.
      else.  -
    > here I want,if user cancel the message,than he shd stays on same scrren..
      endif.
      endif.

    Please find sample program for that.
    FORM save_data.
    continue if data has been changed.
      DATA: answer(1).
      CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
        EXPORTING
          textline1      = text-800
          titel          = text-802
          cancel_display = ' '
        IMPORTING
          answer         = answer.
      CASE answer.
        WHEN 'N'.                          " J = Yes
          CLEAR ok_code.
          LEAVE SCREEN.                    " Next screen is same
        WHEN 'J'.
          CLEAR ok_code.
          PERFORM save_asset_header.
      ENDCASE.
    ENDFORM.                    " save_data
    Kindly mark neccessary points, if this will helped u.
    Regards
    Ranjith

Maybe you are looking for