2011 Feb 21 12:13 PM
Hi
In my environment workflow is present and i was able to implement BADI BADI_FDCB_SUBBAS04 adding my custom fields on FI transactions specifically for use on FV60. When i create doc through FV60 i am able to see values in my custom fields when i view document through FB03. However when i go around the workflow by releasing and posting the document through SWIA document gets posted yes but i am not able to see my values in the custom fields when i do an SE16N on table BKPF.
I have also follwed Miguels suggestion [] and done the same but still i am unable to viewmy custom fields with data in BKPF.
regards
Isaac Prince
2011 Feb 21 1:50 PM
Hi,
this is what said in the thread :
Finally.
I made it work. Using a trace, i checked where the doc number was getting stored and then a saw a miracle.
as i thought, there was a table that it needs to be appened as well.
Just append the new fields on VBKPF, the same as BKPF and it works fine.
The documentation of the badi says:
BADI_FDCB_SCREEN_BAS
Use
Subscreen enhancement in function group FDCB, basic data screen 010 for vendors, 510 for customers.
These screens are accessed in the Enjoy transactions for FI document entry or MM invoice receipt. In FI, for example, these are the transactions FB60, FB65, FB70, FB75 or for parking, FV60, FV65, FV70, FV75.
In MM, screen 010 is accessed for example in transaction MIRO.
Screen fields: The fields must be in structure INVFO.
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.
Best regards.
Edited by: Pablo Casamayor on Feb 21, 2011 2:56 PM
2011 Feb 21 3:04 PM
Hi Pablo
Many thanks for your response. I had followed your post on BADI BADI_FDCB_SUBBAS04 addiing fields and have done the following
1.Implemented BADI_FDCB_SUBBAS04
2.Added my custom fields to append structures INVFO, VBKPF and BKPF
This i have done and when i create my invoice through FV60 (i have suppressed my fields to only show on FV60) i am able to view that document with my custom fields filled. However when i try and complete it the values are blanked out.
regards
Isaac Prince
2011 Feb 21 4:06 PM
Hi,
maybe structure ACMM_VENDOR_COMP needs your z fields as well?.
Best regards.
Edited by: Pablo Casamayor on Feb 22, 2011 8:29 AM
2011 Feb 22 2:01 PM
Hi Pablo
i have to tried that structure and also had a look at Note: 649628 but nothing has yet yielded correct results. I have one more trick up mu sleeve, deactivate the workflow and process and see what happens.
regards
Isaac Prince
2011 Feb 23 8:03 AM
Hi
I have enabled my fields to be active through transaction FB60 which does not have a workflow attached to it. Processing a vendor invoice through here will result in a correct posting with acustom fields having values. I can now safely conclude that the issue should lie within the methods of the FIPP object that is assigned here through workflow for FV60 specifically
PrelPostingDocument.Post Post parked document or
PrelPostingDocument.FlagReleaseReset Reset release flag
Any pointers on this issue will be much appreciated.
regards
Isaac Prince