Line Item Mass Change of Additional Fields

3
7/21/2019 Line Item Mass Change of Additional Fields http://slidepdf.com/reader/full/line-item-mass-change-of-additional-fields 1/3 SAP Note Header Data Symptom On the new line item list (transactions FBL1N, FBL3N, FBL5N (FAGLL03 as of ERP2004)), you can carry out a mass change for certain document fields. You want to add fields to the mass change that do not exist in the SAP standard system. Other Terms FBL1N, FBL3N, FBL5N, RFITEMAP, RFITEMGL, RFITEMAR, FB02, FB03, document change, mass change, FAGLL03, FAGL_ACCOUNT_ITEMS_GL Reason and Prerequisites Fields for the mass change are not contained in the SAP standard system. Solution Note: The following solution refers to transactions FBL1N, FBL3N and FBL5N. If you want to create the changes for the line item display of the new general ledger (FAGLL03), do not make the changes in the FI_ITEMS function group (LFI_ITEMSI01). Instead, make the changes in the FAGL_ITEMS_DISPLAY function group (LFAGL_ITEMS_DISPLAYI01). Solution: Carry out the enhancements described below in your system and test them thoroughly. Note: SAP cannot guarantee that the modified mass change will work correctly even if you carry out all of the steps as described in the manual tasks. l Preparation: Go to the line item list, select a document and choose 'Change document' in the menu bar. In general, all the fields that can be changed in the following screen can be changed in the mass change If you choose 'Additional data', the system displays an additional dialog box. The fields that can be changed in this dialog box can also be included in the mass change. You cannot change the CPD data of a document in a mass change. Make sure to remember whether the system displays the field that you want to include in the mass change (from now on referred to as 'XYZ') on the main screen or in the additional dialog box. Also note that this can differ for customer accounts, vendor accounts or G/L accounts. l Enhancement of the screen for the mass change: To manually change the screen for the mass change in the line item display, proceed as follows: ¡ Call transaction SE80 to display the FI_ITEMS function group. ¡ Expand the 'Screens' folder and double-click screen number '0100'. ¡ Choose '-> Layout' (note that you must use the graphic layout editor for the following steps). ¡ The system now displays another dialog box: 'Screen Painter: Change input/output field'. In this dialog box, choose 'Display <-> Change'. You should now be able to modify the screen. ¡ Choose 'F6'. The system generates another dialog box: 'Screen Painter: Dict./Program fields'. ¡ Enter *BSEG-XYZ in the command line as a table/field name and choose Enter. ¡ The system displays a relevant table row in the large white window. Select this line and choose the pushbutton with the green checkmark in the lower left corner. 640908 - Line item: Mass change of additional fields Version 8 Validity:  04.06.2007 - active Language English Released On 04.06.2007 11:27:06 Release Status Released for Customer Component FI-AP-AP-D Reporting/Analysis/Display FI-AR-AR-D Reporting/Display/Credit Management Priority Recommendations / Additional Info Category Consulting Other Components

Transcript of Line Item Mass Change of Additional Fields

Page 1: Line Item Mass Change of Additional Fields

7/21/2019 Line Item Mass Change of Additional Fields

http://slidepdf.com/reader/full/line-item-mass-change-of-additional-fields 1/3

SAP Note 

Header Data

Symptom 

On the new line item list (transactions FBL1N, FBL3N, FBL5N (FAGLL03 as of ERP2004)), you can carryout a mass change for certain document fields. You want to add fields to the mass change that do notexist in the SAP standard system.

Other Terms 

FBL1N, FBL3N, FBL5N, RFITEMAP, RFITEMGL, RFITEMAR, FB02, FB03, document change, mass change,FAGLL03, FAGL_ACCOUNT_ITEMS_GL

Reason and Prerequisites 

Fields for the mass change are not contained in the SAP standard system.

Solution 

Note: The following solution refers to transactions FBL1N, FBL3N and FBL5N. If you want to create the

changes for the line item display of the new general ledger (FAGLL03), do not make the changes inthe FI_ITEMS function group (LFI_ITEMSI01). Instead, make the changes in the FAGL_ITEMS_DISPLAYfunction group (LFAGL_ITEMS_DISPLAYI01).

Solution: Carry out the enhancements described below in your system and test them thoroughly.Note: SAP cannot guarantee that the modified mass change will work correctly even if you carry outall of the steps as described in the manual tasks.

l Preparation:

Go to the line item list, select a document and choose 'Change document' in the menu bar. In general, all the fields that can be changed in the following screen can be changed in

the mass change If you choose 'Additional data', the system displays an additional dialog box. Thefields that can be changed in this dialog box can also be included in the mass change. You cannotchange the CPD data of a document in a mass change.

Make sure to remember whether the system displays the field that you want to include in

the mass change (from now on referred to as 'XYZ') on the main screen or in the additional dialogbox. Also note that this can differ for customer accounts, vendor accounts or G/L accounts.

l Enhancement of the screen for the mass change:

To manually change the screen for the mass change in the line item display, proceed asfollows:

¡ Call transaction SE80 to display the FI_ITEMS function group.

¡ Expand the 'Screens' folder and double-click screen number '0100'.

¡ Choose '-> Layout' (note that you must use the graphic layout editor for the followingsteps).

¡

The system now displays another dialog box: 'Screen Painter: Change input/output field'. Inthis dialog box, choose 'Display <-> Change'. You should now be able to modify the screen.

¡ Choose 'F6'. The system generates another dialog box: 'Screen Painter: Dict./Programfields'.

¡ Enter *BSEG-XYZ in the command line as a table/field name and choose Enter.

¡ The system displays a relevant table row in the large white window. Select this line andchoose the pushbutton with the green checkmark in the lower left corner.

640908 - Line item: Mass change of additional fields 

Version  8 Validity: 04.06.2007 - active Language  English

Released On  04.06.2007 11:27:06

Release Status  Released for Customer

Component  FI-AP-AP-D Reporting/Analysis/Display

FI-AR-AR-D Reporting/Display/Credit ManagementPriority  Recommendations / Additional Info

Category  Consulting

Other Components

Page 2: Line Item Mass Change of Additional Fields

7/21/2019 Line Item Mass Change of Additional Fields

http://slidepdf.com/reader/full/line-item-mass-change-of-additional-fields 2/3

¡ Place the cursor on a suitable position on the first 'Screen Painter: Change input/outputfield' and left-click. The system then displays the required selection field including thedescription. You can now move it to the required position on the screen.

¡ Select the white selection field of the two new selection fields and choose 'F2'.

¡ The system generates the additional dialog box: 'Screen Painter: Attributes'. Select the'DICT' tab page in the 'Attributes' section and deactivate the 'foreign key check' if it isactivated.

¡ Test, save and activate the screen.

l Manual source code changes:

You have to modify the SAP standard source code as follows: 

¡ First change:

Call transaction SE80 to display the FI_ITEMS function group. Expand the 'Screens' folder and double-click screen number '0100'.Select the 'Flow logic' tab. Add the row marked with "<-----INSERT LINE to the

source code:....field *bseg-bvtyp module req_bvtyp on request.field *bseg-rstgr module req_rstgr on request.field *bseg-cession_kz module req_cession_kz on request.field *bseg-xyz module req_xyz on request. "<--INSERT LINE....

¡ Second change:

Call transaction SE80 to display the FI_ITEMS function group. Create the module req_xyz in the LFI_ITEMSI01 include: 

module req_xyz.fldtab-fname = 'XYZ'.fldtab-aenkz = 'M'.collect fldtab.endmodule.

¡ Third change:

Call transaction SE80 to display the FI_ITEMS function group. In the 'SCREEN_DETAIL' subroutine, add the rows marked with " <-----INSERT

LINE if XYZ is displayed on the main screen of the document change (see above): ...when 'HBKID'.

zusatzbild = 'X'.continue.when 'XYZ'. "<-----INSERT LINEbdcdata-fnam = 'BSEG-XYZ'. "<-----INSERT LINEbdcdata-fval = s_bseg-xyz. "<-----INSERT LINE (*)....

If the XYZ field is displayed in the additional dialog box, add the followingrows marked with "<-----INSERT LINE instead:....when 'HBKID'.zusatzbild = 'X'.continue.when 'XYZ'. "<-----INSERT LINEzusatzbild = 'X'. "<-----INSERT LINEcontinue. "<-----INSERT LINE........when 'HBKID'.bdcdata-fnam = 'BSEG-HBKID'.bdcdata-fval = s_bseg-hbkid.append bdcdata.when 'XYZ'. "<-----INSERT LINEbdcdata-fnam = 'BSEG-XYZ'. "<-----INSERT LINEbdcdata-fval = s_bseg-xyz. "<-----INSERT LINE (*)append bdcdata. "<-----INSERT LINE....

Note: If conversions of data formats are involved, you may have to insert thefollowing row instead of the row marked with (*):write s_bseg-xyz to bdcdata-fval. "<-----INSERT LINE

For an example, see Note 573954 about the mass change of the baseline date forpayment ZFBDT.

¡ Save and activate the source code changes.

l Notes on error handling:

If the mass change does not occur as required even though you changed and activated allprogram parts, note that the error log for the mass change (Environment -> Mass change -> Error logof line item list) may contain useful information for error handling.

In addition, see Notes 573954, 577792 or 322163 for more information. 

Page 3: Line Item Mass Change of Additional Fields

7/21/2019 Line Item Mass Change of Additional Fields

http://slidepdf.com/reader/full/line-item-mass-change-of-additional-fields 3/3

 

Validity

References

This document refers to:

SAP Notes 

This document is referenced by:

SAP Notes (3) 

Software Component From Rel. To Rel. And Subsequent

SAP_APPL  46A  46B  

46C  46C  

470  470  

500  500  

600  600  

602  602  

603  603  

604  604  

605  605  

606  606  

616  616  

SAP_FIN  617  617  

700  700  

577792 Line items: Field 'MABER' in mass change 

573954 Line item: Field ZFBDT in mass change 

322163 Line items: mass change 'Payment Method' BSEG-ZLSCH 

322163 Line items: mass change 'Payment Method' BSEG-ZLSCH 

573954 Line item: Field ZFBDT in mass change 

577792 Line items: Field 'MABER' in mass change