How to include field in document header
Dear All,
Any one please give me some input on how to include a field in document header of f-02 .
Thanks,
Srini.
Hi,
You will have to modify the screen via SE51 (program SAPMF05A, screen 100). Ask to your ABAP team to help you, though such a modification should be carefully considered.
By the way, is it a user-defined field or field that should be there and is just missing? If the last is true, it could be a bug and solved by relevant OSS correction.
Regards,
Eli
Similar Messages
-
How to include several PDF documents into just one file?
I have a Word document with 6 pages that I saved in PDF.
I wanted to transform the entire document in JPEG (JPG) immage, so that I could use it in other tools, such as Facebook for example.
The problem is that using Adobe Photoshop it opens and saves page by page.
Can you give me s solution or hint?
Flavio
[email protected]Thank you!
I already saved all pages as .pdf w/ Acrobat and have all 6 pages saved in
.jpg, using Photoshop.
Problem is that I want to post the whole text in my Facebook page, and to
have it in six pieces is not quite readable...
Thanks anyway and have a joyful Xmas!
2011/12/24 try67 <[email protected]>
Re: How to include several PDF documents into just one file? created
by try67 <http://forums.adobe.com/people/try67> in Adobe Reader - View
the full discussion <http://forums.adobe.com/message/4102594#4102594> -
How to get the Change Document Header details for a given date
Hi All,
Can anyone help me on this Change Document Header details(CDHDR).
Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
Thanks in advance
Regards
ChakriHI,
Go through the documenattion of the FM u can get the details.. and also where used list
Regards,
Nagaraj -
How to include % in xml document element
I am not able to figure how to include % in xml elements
ex:
<ITEM> 90% of people</ITEM>The error message suggests that the % is not in a text node, like your example, but in an element name -- where it is not permitted. Perhaps you could post the actual XML document that causes the error, or at least the part of it that contains the % character.
-
How to add field to the header for FBL5N ALV report
Hi,
I need to add fields to the customer line item display ALV report(FBL5N) header part.Right now there are four fields in the header like customer, company code, name and city, after that I need to add first name last name and phone no. Can any one tell me where exactly I need to add and populate there fields to be appear in ALV output list.
Thanks in Advance
SwapnaYes I have tried, I have place a break point in that perform but it does not stop. I think that is not the correct place to added and populate fields. That routine is for populate selection screen ranges single and multiple values and parameters only.
Thanks
Swapna -
Field on Document Header using BAPI for posting
Hi there.
I need to fill the BKPF-BRNCH field (the Branch Number header field in transaction FB01) to post a document by means of the BAPI_ACC_DOCUMENT_POST function module, but I haven't find the field in the DOCUMENTHEADER table, and I can't figure out how to fill it.
Can anyone help me...?
Thanks in advance.Hi
U can use the extension structure in order to transfer fields not managed by BAPI structure.
The BAPI BAPI_ACC_DOCUMENT_POST manages the extensions by 2 different way:
- BTE RWBAPI01
- BADI acc_document
In both methods u need to fill the BAPI structure for extension: parameter EXTENSION1 (BTE) like BAPIACEXTC and EXTENSION2 (BADI) like BAPIPAREX and then read the data of the extension and transfered them to ACCIT structure in the method above.
This is an example from my old program using BTE:
Fill extension paramenter:
ZSDFI_BAPI_EXTENSION-ITEMNO_ACC = ITEMNO_ACC.
ZSDFI_BAPI_EXTENSION-ESENZIONE = W_VENDOR-KIDNO.
MOVE ZSDFI_BAPI_EXTENSION TO EXTENSIONS.
APPEND EXTENSIONS.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
DOCUMENTHEADER = BAPIACHE09
TABLES
ACCOUNTGL = ACCOUNTGL
ACCOUNTPAYABLE = ACCOUNTPAYABLE
ACCOUNTTAX = ACCOUNTTAX
CURRENCYAMOUNT = CURRENCYAMOUNT
EXTENSION1 = EXTENSIONS
RETURN = RETURN.
Where ZSDFI_BAPI_EXTENSION is dictionary structure with the new fields.
In the BTE function module I transfer the data to ACCIT:
TABLES: ZSDFI_BAPI_EXTENSION.
DATA: _REPRF TYPE LFB1-REPRF.
LOOP AT EXTENSION.
MOVE EXTENSION TO ZSDFI_BAPI_EXTENSION.
LOOP AT IT_ACCIT WHERE POSNR = ZSDFI_BAPI_EXTENSION-ITEMNO_ACC.
IT_ACCIT-KIDNO = ZSDFI_BAPI_EXTENSION-ESENZIONE.
IT_ACCIT-ZLIFNR = ZSDFI_BAPI_EXTENSION-ZLIFNR.
IT_ACCIT-ZJ_3AKVGR6 = ZSDFI_BAPI_EXTENSION-CANALE.
IT_ACCIT-J_3AKVGR8 = ZSDFI_BAPI_EXTENSION-NEGOZIO.
IT_ACCIT-ZZAREAG = ZSDFI_BAPI_EXTENSION-AREA_GEOGRAFICA.
MODIFY IT_ACCIT.
ENDLOOP.
ENDLOOP.
Max -
How to include fields in an infocube
Hi experts,
I want to include following fields in the cube 0FIAR_C03.
Fields:
0clr_doc_no
0alloc_nmbr
0createdon
0doc_number
0inv_doc_no
0inv_item
0inv_year
0postxt
0rc_account
0ref_doc_no
0sp_gl_tt
0fi_dsbitem
0item_num
Anyone please guide me in which dimensions in the cube i should include these fields.
Dimensions in the cube are:
Company Code
Customer
Dunning Data
Payment Data
Due Dates
G/L Account
Document Data
And also explain me on which criteria we should include a field in a dimension.
Regards,
Bhadri M.Hi
Selection of fields sun what depends on the functional aspects of the data relevant for the Dimension & field.
It depends in company to company & person to Person
According to me it can be arranged as
Dunning Data
Payment Data
Company Code
Customer
0inv_doc_no
0inv_item
0postxt
Due Dates
0createdon
0inv_year
G/L Account
0rc_account
0sp_gl_tt
Document Data
0doc_number
0ref_doc_no
0fi_dsbitem
0item_num
0alloc_nmbr
0clr_doc_no
Assign points if it helps
Cheers
SM
Edited by: SM on Jul 15, 2008 8:50 AM -
ME21N Custom Field in Document Header.
Hi Guys,
Could you guys please help me with the following problem.
I have a custom field in a custom tab in the header of ME21N. But When I change that field manually the transaction does not update the pricing. But if I change any standard field, the transacction update the pricing.
Do you have any Idea why and how to solve this ?
Thank you very much.Hi , Thanks for your answer Raymond. But now I have the answer. Let's pretend that I want to insert a new field in EKKO . the field is ZZPUERTO and i want the transaction recalculate the price if i change that field.
1-. the first thing that you need is to create a copy of this function group MEPOBADIEX. There you have to create your new screen. Comment all the code in all function modules. Use function module ZMEPOBADIEX_PUSH. Insert there your code. for example:
zmepo_badi_struct = im_dynp_data.
2-. Use ME_GUI_PO_CUST and populate method suscribe with the data from the screen that you just create in the first step. in the following way :
Method: Suscribe
CHECK im_application = 'PO'.
CHECK im_element = 'HEADER'.
* each line in re_subscribers generates a subscreen.
* We add one subscreen in this example
CLEAR re_subscribers[].
* the name is a unique identifier for the subscreen and
* defined in this class definition
ls_subscriber-name = subscreen1.
* the dynpro number to use
ls_subscriber-dynpro = '9000'.
* the program where the dynpro can be found
ls_subscriber-program = 'SAPLZMEPOBADIEX'.
* each subscreen needs his own DDIC-Structure
ls_subscriber-struct_name = 'ZMEPO_BADI_STRUCT'.
* a label can be defined
ls_subscriber-label = text-001.
* the position within the tabstrib can be defined
ls_subscriber-position = 13.
* the height of the screen can be defined here.
* Currently we suport two screen sizes:
* value <= 7 a sevel line subscreen
* value > 7 a 16 line subscreen
ls_subscriber-height = 7.
APPEND ls_subscriber TO re_subscribers.
3-. populate the following code in method MAP_DYNPRO_FIELDS
FIELD-SYMBOLS: <mapping> LIKE LINE OF ch_mapping.
CONSTANTS: mmmfd_cust_01 TYPE mmpur_metafield VALUE 90000000.
LOOP AT ch_mapping ASSIGNING <mapping>.
CASE <mapping>-fieldname.
WHEN 'ZZPUERTO'.
<mapping>-metafield = mmmfd_cust_01.
ENDCASE.
4-. The followin Code for the method TRANSPORT FROM MODEL
transport_from_model
DATA: l_header TYPE REF TO if_purchase_order_mm,
ls_mepoheader TYPE mepoheader,
ls_customer TYPE zmepo_badi_struct.
* system asks to transport data from the business
* logic into the view.
CASE im_name.
WHEN subscreen1.
* is it an item? im_model can be header or item.
mmpur_dynamic_cast l_header im_model.
CHECK NOT l_header IS INITIAL.
* transport standard fields
ls_mepoheader = l_header->get_data( ).
* ls_customer-zzpuerto = ls_mepoheader-zzpuerto.
* store info for later use
* MOVE-CORRESPONDING ls_mepoheader TO dynp_data_pbo.
MOVE ls_mepoheader-zzpuerto TO dynp_data_pbo-zzpuerto.
WHEN OTHERS.
ENDCASE.
5-. Method TRANSPORT_TO_DYNP
CASE im_name.
WHEN subscreen1.
CALL FUNCTION 'ZMEPOBADIEX_PUSH'
EXPORTING
im_dynp_data = dynp_data_pbo.
WHEN OTHERS.
ENDCASE.
6-. Method : TRANSPORT_FROM_DYNP
CASE im_name.
WHEN subscreen1.
CALL FUNCTION 'ZMEPOBADIEX_POP'
IMPORTING
ex_dynp_data = dynp_data_pai.
IF dynp_data_pai NE dynp_data_pbo.
re_changed = mmpur_yes.
ENDIF.
WHEN OTHERS.
ENDCASE.
7-. METHOD TRANSPORT_TO_MODEL
DATA: l_header TYPE REF TO if_purchase_order_mm,
ls_mepoheader TYPE mepoheader.
* data have to be transported to business logic
CASE im_name.
WHEN subscreen1.
* is it an item? im_model can be header or item.
mmpur_dynamic_cast l_header im_model.
CHECK NOT l_header IS INITIAL.
ls_mepoheader = l_header->get_data( ).
* customer fields changed?
IF dynp_data_pbo-zzpuerto NE dynp_data_pai-zzpuerto.
* update customerfields
ls_mepoheader-zzpuerto = dynp_data_pai-zzpuerto.
CALL METHOD l_header->set_data( ls_mepoheader ).
ENDIF.
WHEN OTHERS.
ENDCASE.
8-. Now we go to BADI ME_PROCESS_PO_CUST and we insert the next code in method FIELDSELECTION_HEADER. This is to show the screen in transactions.
DATA: l_persistent TYPE mmpur_bool.
FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
READ TABLE ch_fieldselection ASSIGNING <fs>
WITH TABLE KEY metafield = mmmfd_cust_01.
IF sy-subrc IS INITIAL.
CASE sy-tcode.
WHEN 'ME21N' OR 'ME22N' OR 'ME29N'.
<fs>-fieldstatus = '.'. " Modify
WHEN OTHERS.
<fs>-fieldstatus = '*'. " Display
ENDCASE.
ENDIF.
9-. Finally we go to Method PROCESS_HEADER and there we put the logic that we want for our new screen. For example I put the following code because if the user don't populate the new field I want to use some querys to populate it .
DATA: ls_mepoheader TYPE mepoheader,
lv_adrnr TYPE adrnr,
lv_adrc TYPE ad_addrnum,
lv_transpzone TYPE lzone.
ls_mepoheader = im_header->get_data( ).
IF im_header->is_persistent( ) EQ mmpur_no.
IF ls_mepoheader-zzpuerto IS INITIAL.
mmpur_metafield mmmfd_cust_01.
SELECT SINGLE adrnr
INTO lv_adrnr
FROM lfa1
WHERE lifnr = ls_mepoheader-lifnr.
IF sy-subrc EQ 0.
lv_adrc = lv_adrnr.
SELECT SINGLE transpzone
INTO lv_transpzone
FROM adrc
WHERE addrnumber = lv_adrc.
IF sy-subrc EQ 0.
ls_mepoheader-zzpuerto = lv_transpzone.
CALL METHOD im_header->set_data( ls_mepoheader ).
CLEAR ls_mepoheader.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
10. Any questions please let me know. I know it is difficult but it works.
Thanks . -
How to include the RNDISFN.h header file in the WIN CE Build ?
I need to include the header file RNDISFN.h in the build of the WIN CE OS. By default the file is not included.
What do i need to include in the OS design to have the Header file compiled ?
Who can help ? (thx in advance to all these brave people that help in this forum)Hello Mads, please check my answer to your previous question...
[click]
Regards,
Mariusz -
How to include field Internal order in the material master for SD orders
Hello,
I would like to know how I can bring the field "Internal Order" to the material master, so I can create materials with assignments to internal orders.
We want to create Sales Orders where when we enter on order item with a material, the internal order is derived automatically from the material master.
Thank you in advance!
Jose EximenoHello,
I am not familiar with the field "product attributes" in relation with entering the field "internal order"...
Could you be a little more specific on how product attributes can be used to enter the internal order number in the material master?
Best regards,
Jose -
How to display field value in header text?
Hi Experts,
In va03, the client wants some number in the header text which is stored in vbak. Please tell me:
1. Which method should I use in BADI?
2. How to display in header text?
Regards
ManiHi Kiran,
Thanks for the prompt reply. How can I display some hard code like 'Test' in the header text in va03.
Text name = 0000001252
Language = EN
Text ID = Z001
Text object = VBBK
READ_TEXT is used to get the values from the header text, but how to set the values?
Regards
Mani -
Hello,
I require to customize the most popular item web part that should show the "pages" and "documents" from entire site collection in different tabs in the same web part.
can anyone suggest me the approach on the same ?
Thanks and Regards,
Dipti ChhatrapatiHi,
It would not be an easy job to customize an existing web part which with its own design.
As a suggestion, it would be more appropriate to create a custom new web part with the help of Search API in your scenario, there, we can create custom style more
freely than customizing on an existing web part.
About Search API in SharePoint 2013:
https://msdn.microsoft.com/en-us/library/office/dn423226.aspx
Some jQuery Tabs plugins would be helpful to you:
http://www.sitepoint.com/10-beneficial-jquery-tab-plugins/
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to add 2 more field to the Header of FBL5N ALV report output
Hi All,
I have copied and made some modification to the standard transaction FBL5N and added some fields to the ALV report line Items but how to add fields to the header part i.e if you execute the transaction FBL5n, you will get the ALV report, in the header part customer no, company code then I need to add the 2 more fields. can any one tell me that which structure or where I need to add these fields to be appear in ALV output screen.
Thanks in advance.
Swapna.Hi Mohamed,
If you copied Z-FM successfully, then you have to go to subroutine TOP_OF_PAGE to add your field:
*& Form TOP_OF_PAGE
FORM top_of_page.
DATA: b_suppress LIKE boole-boole,
opfi_text LIKE eptext OCCURS 10 WITH HEADER LINE,
n_color TYPE i.
* IF NOT it_items-bukrs IS INITIAL "737295
* AND NOT it_items-konto IS INITIAL "737295
* AND NOT it_items-koart IS INITIAL. "737295
gs_items = gt_alv.
* ENDIF. "737295
* skip first call at top of page:
IF NOT gd_first_top IS INITIAL.
CLEAR gd_first_top.
EXIT.
ENDIF.
IF x_grid = c_x OR x_inet = c_x. "1012201
PERFORM grid_top_of_page.
EXIT.
ENDIF.
*... open FI: get header text.
* first fill some RFXPO fields for general info:
CLEAR: s_rfxpo, wa_kna1, wa_lfa1, wa_ska1.
s_rfxpo-bukrs = gs_items-bukrs.
s_rfxpo-kkber = gs_items-kkber.
s_rfxpo-koart = gs_items-koart.
s_rfxpo-konto = gs_items-konto.
s_rfxpo-vrbez = gs_variant-variant.
s_rfxpo-waers = gs_items-waers.
* update master record:
PERFORM fill_master_rec USING gs_items-koart
gs_items-konto
gs_items-bukrs. " note 698396
CALL FUNCTION 'OPEN_FI_PERFORM_00001640_E'
EXPORTING
i_rfxpo = s_rfxpo
i_kna1 = wa_kna1
i_lfa1 = wa_lfa1
i_ska1 = wa_ska1
IMPORTING
e_suppress_standard = b_suppress
TABLES
t_lines = opfi_text.
*... display open FI text:
IF x_konto_sort = 'X'.
LOOP AT opfi_text.
CASE opfi_text-color.
WHEN 1.
FORMAT COLOR 1.
WHEN 2.
FORMAT COLOR 2.
WHEN 3.
FORMAT COLOR 3.
WHEN 4.
FORMAT COLOR 4.
WHEN 5.
FORMAT COLOR 5.
WHEN 6.
FORMAT COLOR 6.
WHEN 7.
FORMAT COLOR 7.
ENDCASE.
WRITE: / opfi_text-text.
ENDLOOP.
FORMAT RESET.
ENDIF.
*... display other header text:
IF b_suppress NE 'X'.
PERFORM display_custom_header.
PERFORM display_ccard_lines.
ENDIF.
" Put your field somewhere...
ENDFORM. " TOP_OF_PAGE
Good luck,
Thanks, -
The Document header txt and Reference Field are empty
The BKPF table is not populated with
BKTXT and XBLNR for document type TE
on Posting
Is there any configuration
where i can see the issue
please adviceAll the posting is done via standard SAP programs set up as jobs
RPRTEC00 to settle trips
RPRFIN00_40 to create posting run
RPRPOSTD to post the entry
on checking the OBA7 the reference field and document header text are not checked
in bothe Q and D systems
But in D system the values appear on repeating the same in Q the values are not there
Please advice
Shall i recomment to Check these two entris in OBA7 and then give a try -
How to include old invoices in the invoice list
How to Include old billing documents in the invoice list.
TO be more clear:-
I created 20 invoices in the monthof JAN
I maintained the factory calender in the payer master in the month of Feb 1st and created 10 more invoices in this month.
So the system is considering only the invocies which were generated after I maintained the factory calender (Only feb invoices).
Is there any process to include the previous invoicies (Jan invoices) also to get include in the invoice list.
Help me in this regards.
Regards,
Mallesh.It is not possible.
Regards,
Rajesh Banka
Maybe you are looking for
-
I will change my computer, so I'm going to have to sync my iPhone with the new computer. How not to lose my contacts and calendar?
-
New Shuffle, Old Computer
I bought a new shuffle today after my old one wore out after three years. I have ITunes downloaded onto my computer so can I just plug in my new Shuffle and fill it with my old library or how do I get to my library using this new Shuffle? Thanks
-
Hi Experts , I have created an extesnion for standrad message type DEBMAS and Idoc type DEBMAS05 . In devlopment system it is working fine . when transported to other system it is not working and after analsys it is found that EDISYN table has diff
-
Hi All, i have a account(ZACCT) infoobject which is a compounding infoobject of account status (ZACCSTA). i have both these objects in my ods. i have a custom table built which is the datasource for this ods. i have a field in the table which fills t
-
Can't install CS2 on WinXP x64
Setup vanishes after a few seconds with no error msg whatsoever. I found a couple of Adobe KB articles saying that the default install path has to be changed on x64, but I don't even get to the point of being able to choose an install path. When I lo