Hi guys.
I need to add 3 new fields on FV60 transaction. I was able to follow the step that Pablo Casamayor wrote in this wiki
[https://wiki.sdn.sap.com/wiki/display/Snippets/Displaycustomerfieldsinheaderoflogisticsinvoiceverification+transactions]
the fields are showed just in FV60, i wrote a logic to hide them in the others transactions. Until there everything is ok.
2 problems;
1) I dont know what tables or structures i need to append to add the new fields (not all of them). I added the fields on INVFO and BKPF (for FI module). Do i need to add them in another tables as well?
2) the fields are not getting saved. Probably because of the first issue. Or do i need to add sth to get saved ???
Did somebody add new fields on FI enjoy transaction, such as FV60, FV65, FV70, FB60, FB65...???
I need some help here.
Regards
This is my logic on the new dynpro:
PROCESS BEFORE OUTPUT. MODULE STATUS_0100. MODULE receive_data. PROCESS AFTER INPUT. * get again actual data from main screen MODULE receive_actual_data. * enumerate ALL fields on the screen because of field transportation * with or within a module ** descomentar y agregar los campos necesarios, tienen que estar en ** INVFO FIELD: invfo-ZZEKGRP, invfo-ZZAFNAM, invfo-ZZBEDNR. * send data back to main screen MODULE USER_COMMAND_0100.
Hi Miguel,
Did you check the documentation which SAP provides with BADI?. When you do this it show that you should look at the documentation for BADI_FDCB_SUBBAS01.
Checking this documentation it shows the following (excerpt):
If the values in the FI document are to be saved, the fields must also be in table BKPF or BSEG. If the values in the MM document are to be saved, the fields must be in the structure ACMM_VENDOR_COMP, the view RBKP, and table RBKP.
Plus
Example implementation: FI_FDCB_SUBBAS01_EX
This example should answer your questions.
Kind regards,
Robert
Hi,
put a break point in:
program SAPLFDCB
include LFDCBI01
Module (PAI) GET_FORM
precisely in:
MOVE-CORRESPONDING invfo TO bkpf. * BSEZ-ZTERM (ZTERM from master record) must not be "Note 305030 * overwritten by INVFO-ZTERM (ZTERM of vendor/customer "Note 305030 * line. "Note 305030
and check what happens when "MOVE-CORRESPONDING invfo TO bkpf" is done
Best regards.
Add a comment