Change Field in FB02 - (BSEG-EBELN)
Dear Experts,
Please advise whether this field BSEG-EBELN can be changed for a FI document in transaction code FB02.
Many thanks.
Dear Mr. Parthiban,
EBELN is the Purchasing Document Number and it is Dirived in FI Through the MM Posting(FI-MM Integration) and It Cannot Be changed in FI Document
Best Regards,
Ravi Reddy
Similar Messages
-
Hello
is it possible to change field bseg-vbund ( trading partner) in transaction FB02.
I tried to add this field (BSEG-VBUND) in customizing:
Financial Accounting --> Financial Accounting Global Settings --> Document
--> Line Item --> -> Document Change Rules, Line Item
but, it doesn't work.
i´m working in 4.6C Version.
Thanks,
João SimõesHi João Simões,
Unfortunately the content of some fields cannot be changed once the document has been posted, even if the fields are customized as changeable. BSEG-VBUND is one of these fields.
The field VBUND is passed to other tables, where it is used as a key-field. Changing the BSEG-value would then produce inconsistencies with other tables.
Note 499079 is only valid for changing VBUND recurring original documents and statistical documents. The field is only changeable in these two cases. It is not changeable in FI documents for consolidation reasons. Please see note 545362, too.
The only workaround to have this corrected is to reverse the document and create a new one.
I hope this clarifies the system behaviour.
Please assign points if it useful
Regards
Ravinagh Boni -
Field BSEG-EBELN does not exist on screen SAPMF05A 0302
Hi,
We are clearing vendor invoices with payments by creating Residual line item or posting into GL account.
Suppose if the vendor invoices are 1234-1 , 1234-2 ,1234-3 and payment is 1234-4 then we want to create residual item with PO as 1234-4DM or 1234-4CM if the diff is more.And if diff is less then we are posting into GL account with PO as above.
While posting the difference in amount into GL account, it is calling screen SAPMF05A/0300. In this screen we have option to enter PO number.But,
While creating residual line item, we have no option to enter PO document number on screen SAPMF05A/0302.
Please help me is there any way to get field BSEG-EBELN on screen SAPMF05A/0302.
Thanks,
Balakrishna.Thanks for your reply.
We are doing the same thing when posting into GL account and we have option to enter PO.
If PO key is automaticallly filled by the system what value shoud it take? In my case, it is filled it with last PO number of invoice or Payment which followed by DM( Debit Memo) or CM(Credit Memo) like 1234-4DM.
Please help me.
Thanks,
Balakrishna -
How to update Tr code FB02 and update the field reference key1 (bseg-xref
Can any body
help me how to update Tr code fb02
and update the field reference key1 (bseg-xref1) with the interest amount
calculated.
Below i have written My program flow logic
The program should read the open items i.e debit items in the customer account,
Based on the invoice date and customer payment terms calculate the due date and then the interest should be calculated on that item based on the due date.
Use the transaction fb02 and update the field reference key 1 (BSEG-xref1)
with the interest amount calculated
Only consider customers whose interest indicator knb1-vzskz = 'vk'.
Interest is to be calculated for every 30 days
at the rate of 1% .please see example below.
Document date is 01.01.2007
for amount 1000SGD payment term 7 days
It becomes due on 08.01.2007
until 06.02.2007 you should not consider for calculation of interest
SGD on 7.02.2007 run you can consider this item for interest calculationHi Robert,
Thanks for answering.
I am looking at Ref 2 should flow automatically to clearing document from the accounitng document for billing.
Ex: Billing document is created and accounted. Ref 2 is AB
Now when receipt is accounted for this biling document this AB should flow automatically to Ref 2 field.
Thanks
NNS. -
In sets (t-code GS01-04): How to change Field name
HI,
I have created sets for rule in validation by t-code GS01. Where I have given Tbale name BSEG and Field name KOSTL(Cost Center No). Now, I want to change field name SAKNR (GL NO) instead of cost center. When I am trying to change field name t-code GS02, there is field name is in display mode and no way to change it.
As I have lot of entries in each set, so that creation of new sets is very hard job again. Further when I trying to create new sets by reference it didnt change the table name and field name.
Please provide me a solution.
KhalidHi,
Hope it is not possible, logically total field is changing and the dependent entrie will not stay as it is. I don't think this is possible.
Eventhough the values are same but the fields are different.
VVR -
BAPI_ACC_DOCUMENT_POST for field trading partner (bseg-VBUND)
Hi,
I am uploading journal entries in SAP by using this BAPI "BAPI_ACC_DOCUMENT_POST". Here program works fine now i want to give trading partner (bseg-VBUND) in line item but i cant find appropriate field in this BAPI for trading partner so that i can do mapping. Can you tell me i which table i have to give input for trading partner entry. Thanks in advance.
Regards.Refer to the following trheads:
Change field bseg-vbund
Trading Partner field (VBUND) is left blank in EC-PCA historical data load
Validation document type
Field VBUND does not allow changes to the document ?
Regards,
Fernando Evangelista -
Invoice number field in Table BSEG..
I have the accouting document no.I want to find out the invoice no.Which field in BSEG table is invoice no.??
Hi,
In BSEG you don't find Invoice number. You can see the purchasing document number.
BSEG- EBELN
Invoice number in BKPF table. As suggested by other frined .
BKPF -AWKEY (Invoice number+Year).
Regards,
Chandra -
Change Accounting Document FB02 without BDC
Hi All,
I want to created ABAP program for Change Accounting Document Information like transaction FB02.
but i dont want to use BDC, cause i don't want to give user authorization FB02,
Can somebody give me the solution.
Best Regards,
FerryHi,
Use the concept of Transaction variants.(Transaction SHD0) You need not copy the standard program for FB02, Just create a transaction variant for FB02 and assign a custom transaction code(also called variant transaction) to access the transaction
Also you can assign authorizations for the custom transaction.
Using transaction variant, you can hide some fields(business critical), input disable, make mandatory and default some values on the screen fields of FB02.
Also note: If you active the transaction variant as Standard variant, then when ever you call FB02, the transaction variant is called with the screens(of the transaction variant)
Documentation for transaction variants is available in SHD0 -> Application tool bar -> icon
Hope this helps
Regards
Shiva -
Can not change fields on document.
Hi FI Gurus
We recently upgraded to ECC 6.0. We are not able to change fields BKPF-XBLNR and BSEG-ZUONR in posted document. The configuration looks alright. Any help is much appreciated.
Thanks
RajeshThanks everyone for response.
As i stated earlier, config is good and checkbox 'Field can be Changed' is selected for all four fields i am working with. The intersting part is, two fields are available for change but not the other two which i mentioned in my question above.
Fields that are not working -
1. BKPF-XBLNR
2. BSEG-ZUONR
Fields that are working -
1. BKPF-BKTXT
2. BSEG-SGTXT
Looking forward to your idea?
Thanks
Rajesh -
Changing field length of a standard field in standard table VBEP
Hi,
Please advice the possibility and the possible repercussions of changing field lengths in a standard table. Table in concern is VBEP.
Thanks & Rgds,
PradeepNo you cannot change the field length
thanks
G. Lakshmipathi -
How to find out Last Changed Fields for a line item of a PO
Dear All,
Pls let me know is there any FM or procedure to find the last changed fields for each line item of a PO. I should be able to get the details on the basis of Last changed Date. Can u pls guide me in this?Hello,
Check the table CDHDR,CDPOS for PO items,
Check this code:
REPORT ZV_GET_LATEST_SO .
DATA: BEGIN OF ITAB OCCURS 0,
OBJECTCLAS TYPE CDHDR-OBJECTCLAS,
OBJECTID TYPE CDHDR-OBJECTID,
CHANGENR TYPE CDHDR-CHANGENR,
USERNAME TYPE CDHDR-USERNAME,
UDATE TYPE CDHDR-UDATE,
UTIME TYPE CDHDR-UTIME,
TCODE TYPE CDHDR-TCODE,
TABNAME TYPE CDPOS-TABNAME,
TABKEY TYPE CDPOS-TABKEY,
FNAME TYPE CDPOS-FNAME,
CHNGIND TYPE CDPOS-CHNGIND,
END OF ITAB.
TABLES: CDHDR,CDPOS.
DATA: LT_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE,
LT_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
*REFRESH AUSG.
CLEAR CDHDR.
CLEAR CDPOS.
CDHDR-OBJECTCLAS = 'EINKBELEG'.
CDHDR-OBJECTID = '0000001784'. " Purchase order number
**SELECT A~OBJECTCLASS A~OBJECTID A~CHANGENR A~USERNAME A~UDATE A~UNAME
**B~TCODE
**B~TABNAME B~TABKEY B~FNAME B~CHNGIND INTO TABLE ITAB FROM CDHDR AS A
**INNER JOIN CDPOS AS B ON A~OBJECTCLASS = B~OBJECTCLASS
** A~OBJECTID = B~OBJECTID
** A~CHANGENR = B~CHANGENR
** WHERE OBJECTCLAS = 'VERKBELEG'
** AND OBJECTID = '0000001784'.
*SELECT * FROM CDPOS INTO TABLE LT_CDPOS WHERE OBJECTCLAS = 'VERKBELEG'
* AND OBJECTID = '0000001784'.
*IF NOT LT_CDPOS[] IS INITIAL.
* SELECT *
* INTO TABLE LT_CDHDR
* FROM CDHDR
* FOR ALL ENTRIES IN LT_CDPOS
* WHERE OBJECTCLAS = LT_CDPOS-OBJECTCLAS
* AND OBJECTID = LT_CDPOS-OBJECTID
* AND CHANGENR = LT_CDPOS-CHANGENR.
*ENDIF.
** SORT ITAB BY OBJECTCLAS ODJECTID DESCENDING.
*LOOP AT ITAB.
* WRITE: ITAB-UDATE."ITAB-UNAME.
*ENDLOOP.
*--- Interne Tabellen -------------------------------------------------
DATA: BEGIN OF ICDSHW OCCURS 50. "Ausgabeaufbereitung
INCLUDE STRUCTURE CDSHW. "Zwischendatei
DATA: END OF ICDSHW.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = CDHDR-UDATE
OBJECTCLASS = CDHDR-OBJECTCLAS
OBJECTID = CDHDR-OBJECTID
TIME_OF_CHANGE = CDHDR-UTIME
USERNAME = CDHDR-USERNAME
TABLES
I_CDHDR = LT_CDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
LOOP AT LT_CDHDR.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
* ARCHIVE_HANDLE = 0
CHANGENUMBER = LT_CDHDR-CHANGENR
* TABLEKEY = '00000000 '
* TABLENAME = ' '
* IMPORTING
* HEADER =
TABLES
EDITPOS = ICDSHW
* EDITPOS_WITH_HEADER =
* EXCEPTIONS
* NO_POSITION_FOUND = 1
* WRONG_ACCESS_TO_ARCHIVE = 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.
LOOP AT ICDSHW.
IF ICDSHW-TABKEY+3(10) = '0000001784'
AND ICDSHW-TABKEY+13(6) = '000001'.
ENDIF.
ENDLOOP.
ENDLOOP.
Vasanth -
How to change field VBAK-CMNUP using VA02
Hi EXPERTS,
How to change field VBAK-CMNUP (Date of next credit check of document) using VA02?
Seems it is hard to find it on the screen of VA02.
Thanks in advance.Hi,
Check these notes:
Note 635727 - VBAK is filled with date only if block is set
Note 588649 - Next date (CMNGV) - meaning and function
Regards,
Eduardo
PD: I forgot the Note 588649 - Next date (CMNGV) - meaning and function.
Edited by: Eduardo Hinojosa on Jun 11, 2009 11:39 AM -
Changing fields color in CL_GUI_ALV_GRID using class
Hi,
I've written a lot of posts but still I have problem with changing color for CL_GUI_ALV_GRID.
I have class ZKSL_CL_4_17_ALV_GRID_OO with 3 methods : SELECT, HANDLE_DBL_CLICK AND DISPLAY_ALV
I want to change fields color every time I double click on IT.
METHOD SELECT.
DATA:
lt_sflight TYPE TABLE OF zkslt_sflight,
ls_layout TYPE lvc_s_layo,
lr_custom_container TYPE REF TO cl_gui_custom_container,
lr_my_class TYPE REF TO zksl_cl_4_17_alv_grid_oo.
SELECT * FROM zkslt_sflight INTO TABLE mt_sflight
WHERE carrid = iv_carrid AND
( fldate IN it_date OR
price IN it_price OR
planetype IN it_type )
CALL FUNCTION 'Z_KSL_SCREEN'.
ENDMETHOD.
from FM z_ksl_screen i call screen 400 and from status_400 output I call method DISPLAY_ALV
METHOD display_alv.
DATA:
lr_custom_container TYPE REF TO cl_gui_custom_container,
lt_sflight TYPE TABLE OF zkslt_sflight,
lt_catalog TYPE STANDARD TABLE OF lvc_s_fcat,
ls_catalog LIKE LINE OF lt_catalog,
ls_layout type slis_layout_alv,
lr_my_class TYPE REF TO zksl_cl_4_17_alv_grid_oo.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'ZKSLT_SFLIGHT'
CHANGING
ct_fieldcat = lt_catalog[].
************BULID LAYOUT
ls_layout-no_input = 'X'.
ls_layout-colwidth_optimize = 'X'.
ls_layout-totals_text = 'Totals(201)'.
ls_layout-info_fieldname = 'LINE_COLOR'.
IF mr_gui_alv_grid IS INITIAL. "-----------------------------------if----------------------&
CREATE OBJECT: lr_custom_container
EXPORTING
container_name = 'DISPLAY',
lr_my_class.
CREATE OBJECT mr_gui_alv_grid
EXPORTING
i_parent = lr_custom_container.
SET HANDLER lr_my_class->handle_dbl_click FOR mr_gui_alv_grid.
CALL METHOD mr_gui_alv_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'ZKSLT_SFLIGHT'
is_layout = ls_layout
i_save = 'A'
CHANGING
it_outtab = Mt_sflight
it_fieldcatalog = lt_catalog.
ELSE. "-------------------------------------------------ELSE---------------------&
mr_gui_alv_grid->refresh_table_display( ) .
ENDIF.
ENDMETHOD.
In handler i am trying to change fields color and call method display sending new out_table
CALL METHOD me->display_alv
CHANGING
ct_fieldcat = lt_fieldcat.
Please give me some easy advice how to do that.
thank you in advice.Thank you Klaus for your reply,
The problem is that I need to make this using classes.
I tried to make my structure data with LVC_T_SCOL as you wrote,
a field of table type LVC_T_SCOL in the structure of your output table
DATA BEGIN OF lt_data.
INCLUDE STRUCTURE sflight.
DATA cellcolors TYPE lvc_t_scol .
DATA END OF lt_data.
TYPES: BEGIN OF mtt_tab.
* INCLUDE STRUCTURE ZKLST_sflight. " I get error that I cannot use ref to abap dic
INCLUDE TYPE ZKSLT_SFLIGHT.
TYPES: cellcolors TYPE lvc_t_scol ,
END OF mtt_tab.
After making type mtt_tab
i declare data lt_tab TYPE STANDARD TABLE OF mtt_tab.
and when I try to copy table mt_sflight (it is atribut of calss) like below
LOOP AT mt_sflight INTO ls_mt .
* READ TABLE lt_tab INDEX sy-tabix ASSIGNING <ls_tab>.
* MOVE-CORRESPONDING <ls_mt> TO <ls_tab>.
* UPDATE lt_tab FROM TABLE mt_sflight.
MOVE-CORRESPONDING ls_mt to lt_tab.
ENDLOOP.
I am getting error "lt_tab is not internal str or table with header"
Can you help me with this? -
Changing Field Labels of module pool screen dynamically
Hi All,
Can anybody tell me how to change field label of text field in dialog screen dynamically.
The Screen/Transaction is standard one.
I have created a Enhancement point for this change in one of PBO module's subroutine for this screen.
This Field label is defined as a 'Text' field only. We can't change it any more as it is standard one.
Can anybody tell me the solution for the same.
I have to change this label value as per some validations and its corresponding text field value will remain as is.
Thanks,
Deep.Hello,
I think it is not possible, but try changing the name by Looping on screen table on PBO,
Bye
Gabriel -
How to change field text in standard trasaction
Hi,
In XD01 transaction i need to change the standard field label, How difficult/easy is it to change field label of a SAP standard field? Is there any other way to change the screen text. please let me know.
regards
JayaHi Jaya,
You can change the label on the screen directly - BUT this would be a modification.
There is a way to change field labels without a modification, but that has to be done on the data element level.
For that just find out the data element that is referenced and create a Text Enhancement for that Data Element which is NOT a modification.
- Goto transaction CMOD
- Choose Menu 'Goto'
- 'Text Enhancements'
- 'Keywords'
- 'Change'
- Put in the data Element Name and confirm
- You'll have the possibility to change the Label texts for
Short, Medium and Long Field Label
Heading
Short Description
- Make your Changes and save
- Done
Where ever that data element is referenced you'll see your own text.
Hope that helps,
Michael
Maybe you are looking for
-
Maximum no. of order proposals per deadline exceeded
Hi PP gurus, When I am running MRP through T Code MD42, the error :Maximum no. of order proposals per deadline exceeded is coming. In the material master Lot Size is Fixed order quantity (FX) wit Fixed lot size 65, when I am changing this to >80 , M
-
Merging two linked lists of integers that are sorted
hey guys, i need to write a method to merge two linked lists of integers that are sorted into ascending order. the results should be a third linked list that is the sorted combination of the original lists. can someone help me start this? Basically,
-
Hi, We need to implement Appropriation Request and have the approval done automatically via workflow. I have some questions here. Any inputs will be appreciated. 1. I noticed when I go to SPRO: Investment Management > Choose Appropriation Requests >
-
Problems downloading SDK 3.0?
Is anyone else having any problems downloading the new SDK? Every time I download it, it stops at 2.0 GB instead of the 2.08 GB that the download is supposed to be. The dmg is not recognized because it is not done. Anyone have any tips on how to fix
-
Overflow the SQL query string buffer
Hello, I have a report that is using a query to determine values for a parameter. In Report Builder everything renders fine, but when I publish the report on the Report Server, it will not render if too many values are entered for the parameter, incl