View Customer number field in the FBL3N report
Hi All,
Is it possible to view the Customer Number Field in the FBL3N report??
Please revert asap.
Rgds,
Kunal Vichare
Moderator: Please, search SDN
Hello
Please find the process for adding additional field in FBL3N
SPRO->FA->GLA->GL->Line Item->Display line item with ALV->Define Special Fields for finding and sort data
Added the additional field for Customer account number.
Table Field name Field lable
BSEG KUNNR Customer
Thanks
Kameshwar Rao
Similar Messages
-
To edit the field in the ALV report
Hi,
i want to edit the field of the ALV report what i need to do for that..
Thanks & Regards
Ashu Singhhi,
check the code,
REPORT zalv_fcat.* Output table T006 structure declarationTYPES : BEGIN OF ty_t006.
INCLUDE STRUCTURE t006.
TYPES : END OF ty_t006.*Internal table and wa declaration for T006
DATA : it_t006 TYPE STANDARD TABLE OF ty_t006,
wa_t006 TYPE ty_t006.*declarations for ALV
DATA: ok_code TYPE sy-ucomm,
fieldcatalog for T006
it_fielcat TYPE lvc_t_fcat,
fieldcatalog for fieldcatalog itself:
it_fielcatalogue TYPE lvc_t_fcat,
it_layout TYPE lvc_s_layo.*declaration for toolbar function
DATA: it_excl_func TYPE ui_functions.
Controls to display it_t006 and corresponding fieldcatalog
DATA: cont_dock TYPE REF TO cl_gui_docking_container,
cont_alvgd TYPE REF TO cl_gui_alv_grid.*controls to display the fieldcatalog as editable alv grid and container
DATA: cont_cust TYPE REF TO cl_gui_custom_container,
cont_editalvgd TYPE REF TO cl_gui_alv_grid.*intialization event
INITIALIZATION.*start of selection event
START-OF-SELECTION.
LOCAL CLASS Definition for data changed in fieldcatalog ALV
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS handle_data_changed
FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING er_data_changed.
ENDCLASS. "lcl_event_receiver DEFINITION
LOCAL CLASS implementation for data changed in fieldcatalog ALV
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD handle_data_changed.
ENDMETHOD. "handle_data_changed
ENDCLASS. "lcl_event_receiver IMPLEMENTATION*data declaration for event receiver
DATA: event_receiver TYPE REF TO lcl_event_receiver.*end of selection event
END-OF-SELECTION.*setting the screen for alv output for table display and
*changed fieldcatalalogue display
SET SCREEN 600.
On this statement double click it takes you to the screen painter SE51. Enter the attributes
*Create a Custom container and name it CCONT and OK code as OK_CODE.
*Save check and Activate the screen painter.
*Now a normal screen with number 600 is created which holds the ALV grid.
PBO of the actual screen , Here we can give a title and customized menus
*Go to SE41 and create status 'STATUS600' and create THE function code 'SUBMIT'
*and 'EXIT' with icons and icon texts
Also create a TitleBar 'TITLE600' and give the relevant title.&----
*& Module STATUS_0600 OUTPUT
MODULE status_0600 OUTPUT.
SET PF-STATUS 'STATUS600'.
SET TITLEBAR 'TITLE600'.
CREATE ALV GRID CONTROL IF DOES NOT EXISTS INITIALLY
IF cont_dock IS INITIAL.
PERFORM create_alv.
ENDIF.ENDMODULE. " STATUS_0600 OUTPUT* PAI module of the screen created. In case we use an interactive ALV or
*for additional functionalities we can create OK codes and based on the
*user command we can do the coding as shown below
*& Module USER_COMMAND_0600 INPUT
MODULE user_command_0600 INPUT.
CASE ok_code.
WHEN 'SUBMIT'.
*TO GET THE CURRENT FIELDCATALOGUE FROM THE FRONTEND
CALL METHOD cont_alvgd->set_frontend_fieldcatalog
EXPORTING
it_fieldcatalog = it_fielcat.
*refresh the alv
CALL METHOD cont_alvgd->refresh_table_display.
*to Send Buffered Automation Queue to Frontend
CALL METHOD cl_gui_cfw=>flush.*Exit button clicked to leave the program
WHEN 'EXIT'.
LEAVE PROGRAM. ENDCASE.ENDMODULE. " USER_COMMAND_0600 INPUT&----
*& Form CREATE_ALV
&----FORM create_alv.*create a docking container and dock the control at the botton
CREATE OBJECT cont_dock
EXPORTING
dynnr = '600'
extension = 100
side = cl_gui_docking_container=>dock_at_bottom.*create the alv grid for display the table
CREATE OBJECT cont_alvgd
EXPORTING
i_parent = cont_dock.*create custome container for alv
CREATE OBJECT cont_cust
EXPORTING
container_name = 'CCONT'.
*create alv editable grid
CREATE OBJECT cont_editalvgd
EXPORTING
i_parent = cont_cust.* register events for the editable alv
CREATE OBJECT event_receiver.
SET HANDLER event_receiver->handle_data_changed FOR cont_editalvgd. CALL METHOD cont_editalvgd->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_modified.*building the fieldcatalogue for the initial display
PERFORM build_fieldcat CHANGING it_fielcat it_fielcatalogue.*building the fieldcatalogue after the user has changed it
PERFORM change_fieldcat CHANGING it_fielcatalogue.*fetch data from the table
PERFORM fetch_data.* Get excluding functions for the alv editable tool bar APPEND cl_gui_alv_grid=>mc_fc_loc_append_row TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_loc_insert_row TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_loc_cut TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sort TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sort_asc TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sort_dsc TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_subtot TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sum TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_graph TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_info TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_print TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_filter TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_views TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_export TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_sum TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_sum TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_paste TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_find TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_loc_copy TO it_excl_func.
*Alv display for the T006 table at the bottom
CALL METHOD cont_alvgd->set_table_for_first_display
CHANGING
it_outtab = it_t006[]
it_fieldcatalog = it_fielcat[].
optimize column width of grid displaying fieldcatalog
it_layout-cwidth_opt = 'X'.* Get fieldcatalog of table T006 - alv might have
modified it after passing.
CALL METHOD cont_alvgd->get_frontend_fieldcatalog
IMPORTING
et_fieldcatalog = it_fielcat[].to Send Buffered Automation Queue to Frontend CALL METHOD cl_gui_cfw=>flush. Display fieldcatalog of table T006 in editable alv grid
CALL METHOD cont_editalvgd->set_table_for_first_display
EXPORTING
is_layout = it_layout
it_toolbar_excluding = it_excl_func
CHANGING
it_outtab = it_fielcat[]
it_fieldcatalog = it_fielcatalogue[].
ENDFORM. " CREATE_alv
*& Form fetch_data
FORM fetch_data.* select data of T006
SELECT * FROM t006 INTO TABLE it_t006 UP TO 50 ROWS.
ENDFORM. " fetch_data
*& Form BUILD_FIELDCAT
FORM build_fieldcat CHANGING it_fldcat TYPE lvc_t_fcat
it_fcat TYPE lvc_t_fcat.
Fieldcatalog for table T006: it_fldcat
to generate the fields automatically CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'T006'
CHANGING
ct_fieldcat = it_fldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 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.*----
Fieldcatalog for table LVC_T_FCAT:it_fcat
Generate fieldcatalog of fieldcatalog structure.
This fieldcatalog is used to display fieldcatalog 'it_fldcat'
on the top of the screen. CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'LVC_S_FCAT'
CHANGING
ct_fieldcat = it_fcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 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.
ENDFORM. " BUILD_FIELDCAT
*& Form CHANGE_FIELDCAT
*after the user has modified the fieldcatalogue we build another fieldcat
*for the modified alv display
FORM change_fieldcat CHANGING it_fcat TYPE lvc_t_fcat. DATA ls_fcat TYPE lvc_s_fcat. LOOP AT it_fcat INTO ls_fcat.
ls_fcat-coltext = ls_fcat-fieldname.
ls_fcat-edit = 'X'. IF ls_fcat-fieldname = 'COL_POS' OR ls_fcat-fieldname = 'FIELDNAME'.
ls_fcat-key = 'X'.
ENDIF. MODIFY it_fcat FROM ls_fcat.
ENDLOOP.
ENDFORM. " CHANGE_FIELDCAT
ref:saptechnical tutorial.
Regards,
Anirban -
Relationship b/w the PO number field in the SO creation screen(va01) and th
Hi All,
What is the relationship b/w the PO number field in the SO creation screen(va01) and the sales order .
Can we maintain a specific number range for the PO Number??
If yes where do we maintain the setting?
Cheerzz..
Subbz..Hello,
This is nothing to do with a SAP purchase order, and you can't maintain any number range for the same as it is not a system proposed one.
Imagine, the customer is sending a purchase order to you, and you are creating a sales order. We can give a reference to the customers PO number in this filed. It doesn't have any effect.
It is widely used in reporting.
Prase -
Tracking number field in the Default settings for items section
I need to add the tracking number field in the Default settings for items section in the shopping cart creation transaction.
Could you please tell me inw hich structure should I add the custom field ?
thanks,
Rita.Hi Atul,
I added the code of tracking number in in the html template saplbbp_mon_sc 1200 with reference to the code of purchase org field.
This added a field in the shopping cart report selection screen but without any description.
I will further learn html code and try to bring in the description and then try to handle this field in the badi bbp_mon_sc after_selection_screen and after_selection method.
Is this approach ok?
<!-- purchase org. -->
`TR()`
`TD(class="label", nowrap="X")`<label for="GS_ITEM-PURCHASE_ORG"> `T_PURCHASE_ORG.label`</label>
`TD(class="label", align = "right", nowrap="X")` <label for="GS_ITEM-PURCHASE_ORG"> </label>
`TD(class="data", nowrap="X")` <input type="text" id="GS_ITEM-PURCHASE_ORG" name="GS_ITEM-PURCHASE_ORG" value="`GS_ITEM-PURCHASE_ORG`" maxlength="14" size="14">
`F4HelpButton(bbpformname, "GS_ITEM-PURCHASE_ORG", jsMaskString(strEnc(#SELECT_TEXT_SHELP_PUR_ORG)), jsMaskString(strEnc(#SELECT_SHELP_PUR_ORG)))`
`TR()` `Lines(colspan2="2")`
<!-- tracking no (added) -->
`TR()`
`TD(class="label", nowrap="X")`<label for="GS_ITEM-ZZBE_TRACKING_NO"> `T_TRACKING_NO.label`</label>
`TD(class="label", align = "right", nowrap="X")` <label for="GS_ITEM-ZZBE_TRACKING_NO"> </label>
`TD(class="data", nowrap="X")` <input type="text" id="GS_ITEM-ZZBE_TRACKING_NO" name="GS_ITEM-ZZBE_TRACKING_NO" value="`GS_ITEM-ZZBE_TRACKING_NO`" maxlength="14" size="14">
`F4HelpButton(bbpformname, "GS_ITEM-ZZBE_TRACKING_NO", jsMaskString(strEnc(#SELECT_TEXT_SHELP_PUR_ORG)), jsMaskString(strEnc(#SELECT_SHELP_PUR_ORG)))`
`TR()` `Lines(colspan2="2")` -
Deleted Items Appearing on the FBL3n Report for Open Items
Hi All
We just went live and I am facing a huge issue;
I deleted many migration entries from loads of GL Accounts for multiple Co Codes, but on the FBL3n report, whenI execute with the option of 'Open Items' only, I still see the deleted items with a green check sitting there.
How can i get those from being visible?
Thanks for the support
RSHi:
This is standard behavior. Your GL accounts are managed on line item basis hence despite of the fact you reversed the entries they will continue to be shown in open item selection criteria which in fact are not open items. It makes no sense to see a GL account in FBL3N on open item date since this account has been configured on the basis on line item management and i will continue to be shown as line item with green sign . Execute report FBL3N with open item or with all item (with date you give in open item) you will see the same figures and same line items. However you can exclude the reversed entries by fetching reversed with (BKPF-STBLG) field from menu ..settings...special fields and hence excluding the entries having this filed update.
I hope this will solve your issue.
Regards -
Adding fields to the standard Report
hi ,
could u plz tell me what r the guidelines we have to follow
while adding fields to the standard Report. (Ver ECC 6.0)
in QA32 Tcode, after executing it will generate a report there i hv to add it.
I could find structure of that main final table, i hv appended desired field also,
Now im looking into Enhancement spot for it, is there any method to do it.
Plz hv eye on it.
Regards
VivekHi ,
this is the exact answer for your question.
Go to the inclide RQALVF14 in this there is a perform call_listviewer_f14, in this the output is displaying using REUSE_ALV_GRID_DISPLAY function module . before this do like this ..
modify the output table p_object_tab like this .
the output table is of structure QALS_D02 you can extend this by appending a structure with the custom fields and there is an enhancement ( i have checked it) in this routine call_listviewer_f14 in RQALVF14. Create an enhancement in this routine at the start of the routine and modify the output table using your custom code in it , then you wil get the data as well as fields into fieldcatalog,.
Regards,
Venkat Appikonda. -
To show a special field on the ME2K report
Hi everyone,
The question is about adding a field in the ME2K report. In the layout is needed the PO status, that is wether the PO is still open/completed or not. I was taught dynamic selection can be used to filter by the 'Delivery Completed' criteria, however the info does not appear on the report when doing this way. Is there a way, excl. programming a new transaction, to have the 'Delivery Completed' field appearing on the report? Are special fields available for ME2K?
Many thanks and regards,
SBto close
-
Customer number not in the inspection lot for a make to order scenario
Hi All,
I know that standard SAP will get the Customer number into Insp. lot only for insp. types 10/11/12. I am wondering if someone know a way to get the customer no. into insp. lot for insp. type 04 where the material is make-to-order scenario and the Production/Process order has the Sales order and customer no. without activating User-exit. The quality users want to be able to see the customer no. in insp. lot without having them to go to process order.
It makes no sense to me why the customer no. is not brought into insp. lot when that is available in the Prod/process order, which can further be used to select the customer specific insp. plans for 04 insp. type Insp. lot without using Variant configuration.
Any light on this topic is appreciated.
Thanks.Hi Srikant,
I guess.........
Normally the inspection lot refers the triggering document that are the trigger cause for them.
- Inspection type 01: - Purchase Order and GR material document.
- Inspection type 03: - Pro. Order Number
The same way...
The inspection type 10\11\12 are purely related to the SD, and directly integrates QM and SD. Hence in the inspection lot for the inspection types directly integrated to SD, it will furnish the Sales order number \ Customer.
But the inspection type 04 is purely have it's relation to Production process. So it will have the details related to integrations it has i.e. the "Pro. Order." Hence it integrates QM-PP, it have the data related to PP (Pro Order), not the SD's one.
But I think one way you can achieve it,
Assign the Customer number also to the inspection plan along with the Material. So I think at the time of assigning the inspection plan to the inspection lot, it will refer the Customer number also and will display the Customer number along with Task list Group\Group Counter, in the inspection specification screen in QA03/02
Regards,
Shyamal -
Custom screen field in the SRM portal screen for Business Partner Bidder
I need to add a custom screen field in the SRM portal screen for Business Partner. I have added this custom field in the include structure: CI_EEW_BUT000 and activated it.
I was expecting to see the enhanced field available in the SRM portal screen when I create the bidder. But is not available.
The new field are available if I edit an Business partner only.Hi,
Please look into the following OSS Notes:
Note 675800 - Business partner enhancement SRM on maintenance screen
Note 672960 - User-defined fields 2
Thanks,
Pradeep -
Addition of new fields in the standard report QM15
Dear Experts,
i need to add new fields to the standard report t.code QM15 which display the list of items: selection of notifications.
the fields i want to add are:
1. batch no
2. Sample no
3. Main vendor
4. text for CDR
plz let me know how can i do this. if any one can help me with screenshoot doc. this is really helpfull.
Thanks
Sachin
Moderator message: "spec dumping", please work yourself first on your requirement.
Edited by: Thomas Zloch on Sep 28, 2011 9:45 AMHi,
Have you added the selection text for the field ? also check the activation status.
Regards
Bikas -
Reg: Adding field in the msci report
Dear All,
In our business process, we are using msci report with user defined say example S966, our requirement is to add the new field in the existing report,
I have found that field in mc18
Incorporated that field in key figures in mc22,
But it is not showing in the report,
Please tell me what else to do to get that field updated in the report.
Regards,
ramHi all,
Any contributions plz........
regards,
ram -
Hiding the Selected field in the Crystal reports 2011
Hi Experts,
I am new to the Crystal reports. How to hide the Selected Field in the Crystal report 2011.
Thanks,
Kavya.CHi Kavya,
You can right click on the field, go to Format Field -> Common Tab. Select/Check the option "Suppress". Or if you want to hide/ Suppress the entire section in a Crystal Report, for e.g. Detail section, right click on Details Section and select Section expert. You can select Hide/Supress accordinly.
That should hide the filed/Section when you run the report.
- Kuldeep -
What does the P/C/S fields in the Aggregated report mean?
What does the P/C/S fields in the Aggregated report mean?
'P' stands for Parent (chassis), 'C' stands for Child (card), and 'S" stands for standalone card.
June -
While adding some fields to the exixting report
I am getting the following error while try to add some fields to the existing report.
Invaid page size.Hi,
enable confine mode and expand the frames and then add fields .
--Basava.S -
Add fields to the standard report QM15
i want to add fields to the standard report.
t.code QM15 which display the list of items: selection of notifications.
the fields i want to add are:
1. batch no
2. Sample no
3. Main vendor
please let me know how can i do this. if any one can help me with screenshot doc. this is really helpful.
ThanksHi experts,
I have done with the z** creation of the standard report. I also create the z*include for the standard includes which are in the standard program. But I not able to find the fieldcatlog or include where I can add my new fields.
But I tried with one structure tht is standard structure in tht standard report so i make it as z*structure and I append my new fields to this structure. I debug the report and this works fine and also shows output, but at output when I change the layout to see these new fields it shows dump.
Then I tried with one more thing to give the positioning to my new added fields. (This is what u can say column positioning ).
When I execute this,it goes to dump screen.
Now I don't what to do with this.
If any one like to see the code. Plz let me know I will post the code.
Or if any one have any document on this plz share. Or any other solution.
Thanks in advance.
Thanks
Sachin
Maybe you are looking for
-
More than one dataprovider for a datagrid
Is there a way that i can provide more than one dataprovider with a comma or a semicolon seperated values in the datagrid? Since i need to display values from two different providers. Thanks, Geetha
-
Is it possible to convert TV show from ITMS (m4v) to QT, for viewing on Palm T5?
-
Moving an entire page in a form
I am using LiveCycle Designer 8 and I have created a form that has 7 pages. I am new to this program and have worked my way through lots of problems. Now my boss wants me to move the last page (7) to the 4th page in the form. Can this be done? Please
-
Do you need to have a WIfi Connection to Play iTunes Match on your iPod?
i just purchased iTunes Match for my iPod touch and iPad2 however im not sure if it will work off of a wifi network? i hope so!
-
Cross-Fade, BLend, Overlay?
What-ever-you call it, how do i blend 2 clips - end of one and the start of one, so that they overlap on screen? This is for F.C.E. 4... I am used to a sony vegas program (PC), where one drags one clip on top of the other in the timeline in order for