How to get Material column in FBL5N

Hi Experts,
Our client has a requirement where they want to have material as a column in FBL5N report. Using the layout we are able to add material column. However, it is blank for all line items. We understand that in FBL5N, we get FI documents and billing document may have more than one line item with more than one material.
There is a SAP note in this regard, note number is 215798. This note ensures special fields in table T021S are consistent with the structure RFPOSXEXT. This setting is already available as per our technical team.
Request you to help us find what is missing.
Regards,
Vijay

Dear,
Please check below information found on SDN. Hope this will helpful for your requirements.
In general if you want to inlude a special field to the line item display, you have tp proceed as described in the note 215798. These
fields have to be defined in transaction OBVU. Then the special field should exist in structure RFPOSXEXT. The program RFPOSXEXTEND eliminates  inconsistency in RFPOSXEXT and program BALVBUFDEL eliminates buffer inconsistency.
However these fields are different from the normal special fields:
For the FBL*N you have defined the 'Material Number (BSEG-MATNR),  Quantity (BSEG-MENGE) and Purchase (BSEG-EBELN)' as a special field.
Such a special field is not read from the index tables (BSIK/BSAK) like  the other ones, it directly gets read from the BSEG or BKPF table. If you check all items for the Company Code xxxx now in the FB*1N  nowhere is the 'Material Number, Quantity and Purchase' displayed.
But this is absolutely correct, as also in the BSEG table there is  no material number, quantity and purchase updated for the 'Vendor'  line items of all documents.
Reason:
Since Release 3.0, several purchase orders can be offset in one invoice.  As a result, different purchasing document numbers (BSEG-EBELN) can be  contained in the different G/L account line items.  As a result, it is no longer possible to enter a unique purchasing  document number in the customer/vendor line item. Field BSEG-EBELN  is not filled in the vendor line item and therefore cannot be  displayed in the line item display for customers/vendors. Please also  check note 152335.
So if you check you will see that in the vendor line item none of these  fields are filled so they are not in the table BSEG. That is the reason  why the value is not displayed because is not filled in the table which  gets read. So the values of these fields cannot be shown in FBL1N.
In the FI normally the Quantity is not a 'real' important field, as it is more related to the MM area. But in the old 'Profit Center Accounting' and the old' Special Ledger'  the field has been important.  As the same logic of these areas to 'store' the Quantity is also used  in the NewG/L the field get only filled in the line, where it make  'sense' because only in the 'goods receipt'
lines a 'real' Quantity is posted to the system.
So as before in the PCA and SL, now also in the NewG/L the Quantity is  filled in the correct and important lines and postings.
Transaction FAGLL03 shows the quantity like posted in table FAGLFLEXA. Please have a look at the note 1063198 which explains why the  quantity is different in BSEG and FAGLFLEXA.
In FI as standard we would not expect to see VBEL2 populated in FBL*N as this field is not included in BSIS. The reason why SAP designs  this way is that sometimes many sales orders are paid by one billing  document.
The field billing document 'VBELN' is contained in table BSEG AND in  table BSID but NOT in table BSIS.
Same occurs with BSEG-MATNR (material) and BSEG-MENGE (quantity).
In order to display these fields, you will need to create them as  special fields:
1)Please create fields BSEG-VBEL2, BSEG-MATNR and BSEG-MENGE as special  fields in transaction OBVU (FBL3N >MENU >SETTINGS >SPECIAL FIELDS);
2)SE38->program "BALVBUFDEL"->select indicator "Reset only EUINFO/LTEX"  ->run
3)Create a variant in FBLN to include this field (FBLN > SETTINGS >  DISPLAY VARIANT > CURRENT... Add the required fields (1-U-VBEL2...)
If they do not come up as a Special Fields in the Hidden Fields list, run RFPOSXEXTEND and wait for a few hours. 1-U-VBEL2... should then be  available in the list.
Also check Notes 215798 and 373268.
Please consider that you can display sales,material document and  quantity in transaction FBL*N, but only if the field is filled in.
Kindly check in tables BSEG and BSIS if they are updated.  Should the same are empty in the data base tables it would be totally
correct if the fields are shown blank in FBL*N.
Regards,
Syed Hussain.

Similar Messages

  • How to get summary columns in delimited text file

    How to get summary columns in delimited text file
    I am trying to generate a delimited text file output with delimited_hdr = no.The report is a Group above report with summary columns at the bottom.In the text file the headers are not getting repeated & thats ok.The problem is the summary data is getting repeated for each row of data.Is there a way where i will get all the data & summary data will get displayed only once.I have to import the delimited text file in excel spreadsheet.

    Sorry there were a typos :
    When I used desformat=DELIMITEDDATA with desttype=FILE, I get error "unknown printer driver DELIMITEDDATA". When you look for help, DELIMITED is not even listed as one of the values for DESTFORMAT. But if you scroll down and look for DELIMITER it says , this works only in conjuction with DESTFORMAT=DELIMITED !!!!!!??!! This is in 9i.
    Has this thing worked for anybody ? Can anyone please tell if they were able to suppress the sumary columns or the parent columns of a master-detail data for that matter ?

  • How to get the column index inside a dataTable

    Hello,
    before I get staked, there are multiple threads handling familiar topics to the one I'm questioning about but none gives an anwer. If there is one, I'm propably to less skilled to see it.
    So here is my Problem: I've build a web-interface to a time-recording system. The hours worked on a certain project are displayed in a dataTable component which is generated out of a mySQL Query. Each entry (column/row) contains a inputText component to display and edit the specific value.
    Editing one of these inputText elements now fires a valueChangeEvent which reads the new value and stores it in the database. For that cause I need to know the row- and column-index of the inputText component that fired the event.
    Using the getClientId method from the valueChangeEvent I get some Information which makes it possible to calculate the row/column index. A typical clientID looks like "form_table:mainTable:0:_id14". "form_table" is the ID of the form the dataTable is in. "mainTable" is the id of the dataTable component. "0" is the row the component is in. And finally "_id14" stands for the id randomly given to the inputText component by JSF.
    My Problem is now, that though I can calculate the column out of the[i] "_id14", this calculation is hardcoded. So everytime I add a component in before the dataTable, the calculation needs to be adjusted in the code.
    The Questions:
    - How to force a sensefull id indicating a column-index for the inputText components inside the columns of a dataTable?
    - Nicer since no workaround: How to get the column-index inside the dataTable on a natural way? (e.g. out of the valueChangeEvent the specific inputText component fires)
    After some investigation here on the board and on the net I know multiple ways to get the row index, (Things like component-binding and so on) but I can't find a answer on how to get the column-index.
    Thanks to all answers and/or links to things my eyes missed while searching for one.

    ...then index 0 becomes index 1 and my program doesn't work properlyThe program works properly, just not as you expect it to.
    As you've noticed the table gives you the flexibility to move columns around. So if you move column 0 to column 1, why would you expect to still use 0 as the index? The table manages the reordering of columns for you to make sure the data being displayed in each table column comes from the correct column in the data model.
    You can manage this yourself using one of the following methods (I forget which one):
    table.convertColumnIndexToModel(int viewColumnIndex)
    table.convertColumnIndexToView(int modelColumnIndex)
    Or, you can get data from the data model directly:
    table.getModel().getValueAt(row, 0);

  • How to get the column names of the table into the Dashboard prompt

    how to get the column names of the table into the Dashboard prompt
    Thanks & Regards
    Kishore P

    Hey john,
    My requirement is as follows
    I have created a Rank for Total sales by Region wise i.e RANK(SUM(Dollars By Region)) in a pivot table.
    My pivot table looks like this
    COLUMN SELECTOR: TOTAL US , REGION , DISTRICT , MARKET
    ---------------------------------------------------- JAN 2009          FEB 2009        MAR 2009
    RANK              REGION                  DOLLARS           DOLLARS        DOLLARS DOLLARS
    1 CENTRAL 10 20 30 40
    2 SOUTHERN 10 30 30 70
    3 EASTERN 20 20 20 60
    4 WESTERN 10 20 30 40
    When i select the District in column selector
    Report has to display rank based on Total Sales by District. i.e
    ------------------------------------------------- JAN 2009         FEB 2009       MAR 2009
    RANK             DISTRICT              DOLLARS           DOLLARS        DOLLARS DOLLARS
    for this i need to change the fx of rank i.e RANK(SUM(Dollars By Region)) to RANK(SUM(Dollars By District)) and fx of Region i.e Markets.Region to Markets.District dynamically.
    so , i need to capture column name of the value selected from the column selector and dynamically i need to update the fx 0f RANK & fx of region.
    do you have any solution for this?
    http://rapidshare.com/files/402337112/Presentation1.jpg.html
    Thanks & Regards
    Edited by: Kishore P on Jun 24, 2010 7:24 PM
    Edited by: Kishore P on Jun 24, 2010 7:28 PM

  • How to get material number in smart form driver prog attached to MM01:NACE?

    Hi,
    I have attached driver program of smart form to MM01 usinfg nace.
    On save smart form should get generated.
    Can anybody guide me how to get material number from MM01 in driver program on saving MM01.
    as of now am not getting values in smart form.
    What additional lines to be coaded in driver program to get material number.
    Thanks.

    hi,
    use nast table in your import paramaters of smart forms.
    In the Nast table you can find a field with object key which holds the Material Number.
    Hope this helps.
    Thanks,
    subash

  • How to get last column used in report sorting?

    hi,
    how to get last column used in report sorting?
    simon

    How to identifiy which column was sorted having different reports on page?
    just use:
    'YOUR_STATIC_REGION_NAME' instead of p_static_id,
    :APP_ID for p_app_id,
    :APP_PAGE_ID for p_page_id
    :APP_USER_ID for p_app_user.
    and dont forget to grant SELECT on #OWNER# to APEX_030200.WWV_FLOW_PREFERENCES$
    good luck and thank you Juergen.Schuster
    Simon

  • How to get Material Master Moving average price into Purchase Order

    Hi,
    How to get Material master moving average price into purchase order instead of Purchase Info record.
    Thanks,
    Sridhar

    Hi,
            I  cannot understand whether it is necessary .
           How about as following step?
                 1. create Purcahse requisition
                                Price come form moving average price in material master.
                 2. Create Purchase order reference Purchase  requisition
                                There is a setting  from the unit price of P/R onto the unit price of P/O.
      Regards,
         Gaito

  • How to get the column count at the bottom of the column

    Hi Friends,
    How to get the column count at the bottom of the column
    Thanks
    Raj

    You mean row count? Add another column, click on the fx button and type RCOUNT(1).
    If you want just the total you can make it MAX(RCOUNT(1)), hide this column and then add a Narrative View after your report and enter "Total Number of Records: @n" where "n" represents what order your column is from the left side.

  • How to get the column values

    hi
    i am new to programming... i would like to know how to get the column values... i have a resultset object
    i need code .... asap
    thnx

    @OP: It is always good to type complete sentences and describe your problem at length. It helps in letting people know what you really need instead of making wild guesses or silly jokes. You post mentions that you get the ResultSet. Then you should look up the API docs for java.sql.ResultSet and take a look at the getxxx() method signatures. Use the ones which suit the specific case.
    Besides, it is good to refrain from using asap and urgent. Even if something is urgent to you, it need not be urgent to others. Wording a question properly would attract better replies.
    Finally, would you mind getting down to specifics of your problem? From what I perceived, the JDBC tutorial and the API docs should provide all the information you need.

  • How to get the column values from a BC4J View Table in UIXML?

    I am using a default UiXML Application for Order Entry system with Orders & Order Lines & Customers. I have a uix file OrdersView1_View.uix which displays (no updateable columns) all the Orders. How do I get the column value of a selected row in a BC4J Table (example:OrdersId) when a Submit button is pressed using UIXML or Java Classes?
    I appreciate any help on this.

    Hi,
    You need to use keyStamp, an example:
    <bc4j table name="orders">
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    Furthermore, you can automatically send the selected row key using the go event handler, so in the handlers section you could send the key to an orderInfo page:
    <event name="show">
    <!-- forward to the update page, passing
    the selected key as a page property -->
    <ctrl:go name="orderInfo" redirect="true">
    <ctrl:property name="key">
    <ctrl:selection name="orders" key="key" />
    </ctrl:property>
    </ctrl:go>
    </event>

  • How to get the Column names of output that is displaying in Sql Developer(Oracle 11g).

    Hi,
        I am using OCCI to interact with DB through code, which means I am writing a vc++ file to interact with Data Base and execute the Stored Procedure which I am calling from the C++ Code. And  also displaying the output of the Stored Procedures to the Front End. I am succeeded in this, but now I should be able to display  the Column names of the output to Front End. Can any one help me on this.
    Example:
    Sno  |   Sname
    ------- |-------------
    1          ABC
    2          DEF
    I am getting (1,ABC) and (2,DEF) as the output of the Stored Procedure but I need the Column names also to display. How to get them.
    Thanks in Advance..:)

    Look at Re: exporting csv via pl/sql - select statement?
    It has an example how to extract the column name from a cursor. You have to check, whether you can use DBMS_SQL.DESCRIBE_COLUMNS
    Your procedure might need another out parameter, that returns the column names , e.g. as comma separated list or as varray.

  • How to get material and plant by providing control key as input ?

    How to get the material and plant info based on control key values using a function module?
    kindly help..

    Hi,
    Check the FM
    K_VALID_PLANTS_OF_MATERIAL.
    Sandeep Kaushik

  • Reading csv file how to get the Column name

    Hi,
    I am trying to read a csv file and then save the data to Oracle.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection c = DriverManager.getConnection("jdbc:odbc:;Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=.;Extensions=csv,txn");
    Statement stmt = c.createStatement();
    ResultSet rs = stmt.executeQuery("select * from filename.csv");
    while(rs.next())
       System.out.println(rs.getString("Num"));
    My csv file looks like this:
    "CHAM-23","COMPANY NAME","Test","12",20031213,15,16
    Number,Environ,Envel,Date,Time
    "1","2",3,"4",5
    "6","7",8,"9",9
    Now is there anyway using the above code I start processing the file from the second row that holds the names of the columns and skip the first row. And also can I get the name of the column using ResultSet something like:
    if columnName.equals("Number")
    Because I may have a csv file that could have more columns:
    "CHAM-24","COMPANY NAME","Test","12",20031213,16,76
    Number,Environ,Envel,Date,Time,Total,Count
    "1","2","3","4","5",3,9
    "6","7","8","9",9",,2
    So I want to get the column name and then based on that column I do some other processing.
    Once I read the value of each row I want to save the data to an Oracle Table. How do I connect to Oracle from my Application. As the database is on the server. Any help is really appreciated. Thanks

    The only thing I could think of (and this is a cluj) would be to attempt to parse the first element of each row as a number. If it fails, you do not have a column name row. You are counting on the fact that you will never have a column name that is a number in the first position.
    However, I agree that not always placing the headers in the same location is asking for trouble. If you have control over the file, format it how you want. If someone else has control over the file, find out why they are doing it that way. Maybe there is a "magic" number in the first row telling you where to jump.
    Also, I would not use ODBC to simply parse a CSV file. If the file is formatted identically to Microsoft's format (headers in first row, all subsequent rows have same number of columns), then it's fine to take a shortcut and not write your own parser. But if the file is not adhering to that format, don't both using the M$ ODBC driver.
    - Saish
    "My karma ran over your dogma." - Anon

  • How to get LOV column's DISPLAY value in IR report?

    Hi,
    I would like to get LOV column's DISPLAY value to trigger another javascript function. Could you please provide any hint?
    For example, there is one IR report with 2 column, DEPT_NAME & SHOW.
    The DEPT_NAME type is LOV .
    The SHOW column is one link image, when clicking it , I would like to fire a javascript to get DEPT_NAME 's display value.
    I know I can use #DEPT_NAME# to get the return value of LOV. However, how to get current row's DEPT_NAME's display value?
    Thanks in advance.
    Ray
    Edited by: 最爱用中文 on 2013-4-11 下午4:14

    Is there any way you can create a table join, instead of using LOV as your display type?
    That way you can select the name of the department in your IR query, display it as text, and then easily reference it as #DEPARTMENT_NAME#, for example.

  • How to get profit center in fbl5n in ecc6.0

    hi
    in the dynamic selection screen, in documents i am not able to get the profit center.can any one tell how to get it?

    When you are on selection screen of FBL5N, press (Shift + F4) DYNAMIC SELECTIONS, there you will see a Dynamic selection screen along with your normal FBL5N selection screen, you will find Profit Centre ther, if you don't find Profit Centre in Dynamic Selection Screen you can add the same from the list on the left, search for profit centre, place your cursor on Profit centre and press the Arrow Button(Copy Selected) on top of the list. Now you will find Prfit Centre in Dynamic selection screen, fill the field with values and press save, that's it.....
    Reward points if useful, get back in case of query...
    Cheers!!!

Maybe you are looking for

  • How to connect a Desktop app to a middle teir server app?

    Please tell me if i have posted this in the incorrect forum. I currently have a Desktop app that connects directly to a mySQL database. The persistence abilities have been really helpful since our database is still evolving. I have been frustrated by

  • Connecting a new Magic Mouse to a sleeping iMac

    I'm in the processing of migrating to a new Mac, was backing up some data on the old mac and disconnected the mouse and keyboard from the old one to pair with the new.  Now, the data has finished backing up (I think) and I'd like to reconnect a new M

  • Query with Cost Center Hierarchy giving incorrect results

    Hi All, I have a universe built based on BEx query on Cost Center cubes. When enabling hierarchy in BEx Query and building Web intelligence Report based on the universe, I get incorrect results.  The levels of the hierarchy is incorrect, many of the

  • Differences between BADIS and User-exits

    Hi everybody, I am new to ABAP and wonder what are the differences between BADIS and User-Exits. I read paper but did not find a SAP documentation yet. Does anybody know where to find a sap document which explains both technologies? Greetings, AD

  • 32-digit file names

    A few months ago, iWeb saved a page as "3FB47E52-CFED-4B53-BA68-C76A1D0F4BBC" That was NOT the name I gave it. When I send the link to some folks, they say they have problems with it. (The latest page I did was NOT saved as a 32-digit name). I know I