How to display COMPANY CODE DESCRIPTION ON THE TOP LEFT OF PAGE

How to display COMPANY CODE DESCRIPTION(Field BUTXT) ON THE TOP LEFT OF EVERY PAGE OF THE REPORT GENERATED.
   Actually I have collected BUTXT using
'select butxt into table itab from t001 where bukrs = p_bukrs'
where p_bukrs is the selection screen field.
REQUIREMENT: Depending on what company code we give on the selection screen, corresponding company code description(butxt) should be displayed at the top left of every page. how would i display it in TOP-OF-PAGE EVENT.

Hi
It's very simple, but what is the need to use <b>into table itab</b> in your select query.
Rather, define a variable
data: v_butxt type t001-butxt.
Select butxt into v_butxt from t001 where bukrs = pbukrs.
TOP-OF-PAGE.
write :/ v_butxt.
Regards
Surya.

Similar Messages

  • HT1677 iOS 7 for iPad the bookmarks tab is now on the top right hand side how can I change this back to the top left hand side as in the previous versions?

    iOS 7 for iPad the bookmarks tab is now on the top right hand side how can I change this back to the top left hand side as in the previous versions? Thanks

    Sorry but you can't

  • Image in pdf is small and in the top left of page

    I am creating a pdf from a tiff in Photshop CS5, windows xp. The file is a map that is 36x48" at 100%. When I create the PDF the map image comes out as and 8 1/2 x 10" image in the top left corner of a 36" x 48" page. Can't figure out why this is happening. Has anyone else had similar issues and anyone know how to fix it? This used to work and now it doesn't???

    Hi
    It's very simple, but what is the need to use <b>into table itab</b> in your select query.
    Rather, define a variable
    data: v_butxt type t001-butxt.
    Select butxt into v_butxt from t001 where bukrs = pbukrs.
    TOP-OF-PAGE.
    write :/ v_butxt.
    Regards
    Surya.

  • How do I make text start at the top of each page?

    Hello,
    If a paragraph ends on the preceding page, and I've inserted a line break after it, the line break applies at the top of the subsequent page, therefore the text is not at the absolute top. I need to keep the line break there in case I add text earlier in the document, to keep the paragraph spacing uniform.
    Is there a way to set it so that text always justifies to the top - yet if additional lines are added to earlier text, it keeps the line break? I hope that made sense, if not let me know and I'll clarify. Thanks.
    Be Well,
    Timothy

    Instead of using using line breaks after paragraphs, use the After Paragraph option to add extra space between paragraphs.

  • How to display most updated data on the TOP of the JTextArea???

    hi ,
    i have a JTextArea inside a JTextPane
    and the usual way that JTextArea is display
    The 1st message on top and follow until the ends
    is there any way to display the most updated/newest data on TOP instead Of the normal way?

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class TextTop extends JFrame {
        public TextTop() {
            initComponents();
        private void initComponents() {
            jTextArea1 = new JTextArea();
            jToolBar1 = new JToolBar();
            jButton1 = new JButton();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            jTextArea1.setBackground(new Color(255, 255, 204));
            jTextArea1.setEditable(false);
            getContentPane().add(jTextArea1, BorderLayout.CENTER);
            jToolBar1.setFloatable(false);
            jButton1.setText("TEXT");
            jButton1.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jToolBar1.add(jButton1);
            getContentPane().add(jToolBar1, BorderLayout.NORTH);
            Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-409)/2, (screenSize.height-334)/2, 409, 334);
        int count;
        private void jButton1ActionPerformed(ActionEvent evt) {
            count++;
            jTextArea1.insert("Text  " +count+ "\n", 0);
        public static void main(String args[]) {
                    new TextTop().setVisible(true);
        private JButton jButton1;
        private JTextArea jTextArea1;
        private JToolBar jToolBar1;
    }

  • How visible are your 3 sensors on the top left corner?

    My iphone's sensors seem to be more noticeable than other iphones.
    I even asked my friend if he can see the sensors on his iphone and he had no idea what I was talking about.
    I'm a bit worried that my sensors maybe too visible b/c of a defect
    Are they usually very noticeable or am I just overseeing it because I know it's there?

    They are easy to notice if I tilt my iPhone to a angle and in bright room or something. Other than that no, its if someone looks for them and starts to tilt the phone they will notice them but other than that they aren't really noticeable.

  • Getting the top & left of a textbox placed inside a table

    hai brainees
    i need a sampel code to get the top & left of a textbox placed inside a table so that i can display a dropdownlistbox ih that place.its very important.
    Thanks
    anieshuk

    Thanks. I asked a friend and he told me about the %but I still had a problem. Your expression solved my problem
            private function placeTile(mouseX:int, mouseY:int, frame:uint):void {
                var tile:Tile = new Tile();
                tile.gotoAndStop(frame);
                tile.x = Math.floor(mouseX / tileSize) * tileSize;
                tile.y = Math.floor(mouseY / tileSize) * tileSize;
                stage.addChild(tile);
    That way every tile is centered every 50 pixels

  • SRM-Synching company code description between SRM and ECC

    Hi,
    I have two questions:
    1. Is company code descriptions and other details are stored in SRM (like T001 in ECC)?
    2. If yes, how can we synch the company code description in SRM and ECC? What is the program name to synch both system
    Jit

    Sanjeev,
    Thanks for the reply. But still there is description difference in SRM - frontend and backend system.
    The SRM backend is correct but when we log ninto the SRM portal (frontend), the company code description are missing some characters. Can you pl let me know where is the frontend is picking the Company code description in SRM?
    Jit

  • Usage of Company code field in the Change Request for Company

    Hi,
    Would like to know the usage of - Company code field in the UI for Change request for Company.
    1. If a new Company is created, can i assign the company code directly in the UI, will the assignment also replicated to backend in this case?
    2. In case of new Company creation, is it possible for multiple company code assignments?
    3. Is it possible to to pick the existing Company from the F4 list in the CR and assign the company code in the CR? How about the replication work in this case?
    Please share your comments, Thank you.

    Thanks Sanjay.
    Just to summarize and a bit more specific, here is my understanding:
    1. (a). You have mentioned that we can assign new company code also - does this mean i can select            a company code which is not in the F4 list? In such case, how will be the assignment                   replicated? It should ideally create a company code in the backend before the assignment is           processed.
        (b). Usually, if a new company code is created in backend, i need to load that in to MDG tables                 such that it will be active in MDG F4 list, for Company assignments in the Change request.
    2.      Understood
    3.      In the Change request, if i pick existing company from F4 values and edit company related data,          it will be replicated accordingly.
             In the same CR, if i give some value in the company code data, the replication will result in one          more assignment added to the company, so as on date, SAP has given the option of only                    additional assignments to the existing assignments.

  • Error in sql server with a trigger (I want to display a customize message, when the user left a blank field or null) How can I do?

    How I display a customize message(with a trigger)when a user left a blank field? I want to the stop the insert statament if the user left  the status field in blank. I create a trigger but now I can't enter a row, i used an instead trigger
    too but doesn't work. I want to display a customize message when the user left the
    status field in blank or null. 
     I have the following code:
    CREATE TRIGGER [dbo].[BLANKFIELD] 
    ON [dbo].[Status] 
    FOR INSERT 
    AS 
    BEGIN 
    IF (SELECT COUNT(*) FROM inserted WHERE Status IS NULL) =1
     PRINT 'Please Fill the Status  field is required'
    Rollback;
    END 

    I agree with other comments that you should do this with specifying that the column is NOT NULL to prevent it from being NULL and a constraint if you don't want it to be blank (spaces or the empty string - note that the empty string is not the same thing
    as NULL).
    But for completeness, the reason your trigger does not ever allow you to enter a row is the code
    IF (SELECT COUNT(*) FROM inserted WHERE Status IS NULL) =1
    PRINT 'Please Fill the Status field is required'
    Rollback;
    Since you don't have a begin/end block after IF, the only conditionally executed statement is the one immediately following the IF (that is the PRINT).  So the Rollback is always executed whether or not the IF is true and so all updates are rejected.
    So if you were to do this in a trigger you could do something like the following
    CREATE TRIGGER [dbo].[BLANKFIELD]
    ON [dbo].[Status]
    FOR INSERT
    AS
    BEGIN
    IF EXISTS(SELECT * FROM inserted WHERE Status IS NULL)
    BEGIN
    PRINT 'Please Fill the Status field is required';
    Rollback;
    END
    END
    (As José noted, there can be more than one row in the inserted pseudo table, so you don't want to test whether the COUNT = 1, instead just whether one or more rows exist where the Status  is null.  If you want to prevent Status is NULL, or all
    spaces, or the empty string, then your IF statement would be
    IF EXISTS(SELECT * FROM inserted WHERE ISNULL(Status, '') = '')
    Tom

  • How to display source code of a webpage in Safari 7.0?

    Hello. I'm unable to find how we used to once enable developing tools in Safari Preferences or simply CMD + ALT + A to display the source code of a webpage. Now I've no clue how to display source code of a webpage in Safari 7.0 on Mac OS X Mavericks. Help.

    Hi gss2,
    Make sure you are not under the Apple icon but under Safari>Preferences>Advanced. All the way at the bottom check the box that says: "Show Develop menu in menu bar."
    Now go back to the page you want to get the source code for, right click on it and choose Inspect Element. Hope this helps.
    Cheers,
    LURDS LLC

  • How to upload company code data related to Company Code BP01?

    How to upload company code data related to Company Code BP01 FOR CIN?

    Hi,
    First check whether all the pre-requisites are completed.
    I'm assuming you have installed the Best Practices Baseline package (for country IN). If you have succeeded in actvating the buildig blocks (as per your scope) using Solution Builder, you would have populated all the company code data related to Co. code BP01. Looks like some steps are missing.
    Please refer to the OSS note 1408706 in this regard. From there, you also can refer to the "Quick Guide to Implementing the SAP Best Practices Baseline Package V1.604 (DE), which is self-explanatory. 
    Let me know if this helps.

  • S_ALR_87013336 does not display company code currency

    Hi Gurus
    My client has controlling area currency USD and company code currency CAD. The standard report S_ALR_87013336 displays in USD only but not in CAD. Is there any way where I can change to display company code currency in this report.
    Your expert suggestion is highly solicited.
    Thanks

    Hi
    Use TCode Select Form 8A-PCA013G which is attached to the report S_ALR_87013336. You would have a key figure KSL_STOCK, change it to HSL_STOCK which is balance in company code currency.
    That would meet your requirement.
    Regards,
    Suraj

  • How to display language key (0LANGU) in the query for BW report

    Hi,
    Can someone tell me how to display language key (0LANGU) in the query? I want to display which language (English or French) is used for material description in BW report. Thx.

    hi,
    check if the infoobject is kept as lang dependent or not  for material text, else you need to create a masterdata attribute with text and lang keys and do corresponding mapping, so then it can be displayed in your report
    regards
    laksh

  • How to display BAR-CODE through ABAP report

    Hi,
    Could you please help me, how to display BAR-CODE through the ABAP report.
    I am writing below code, but BAR-CODE is not displaying on report.
               PRINT-CONTROL FUNCTION 'SBP01'.
                WRITE: 20  BAR_CODE1 NO-GAP.
               PRINT-CONTROL FUNCTION 'SBS01'.
    Regards,
    SSRAJU.

    Hi RAJU,
    you can see this forum link and its sub-links, here it is clear about it.
    Re: Barcode printing on report
    Thanks & Regards,
    Dileep .C

Maybe you are looking for