‎2007 Jul 19 7:17 AM
I want to post FI document FB01 with a profitability segment. I was trying to use FM 'POSTING_INTERFACE_DOCUMENT' for posting but for the profitability seg subscreen, it's a structure (similar to table control recording) 'RKEAK-FIELD(02)' so the function module could not find the proper screen for those fields.
Any solution?
Thanks!!!
‎2007 Jul 19 7:26 AM
‎2007 Jul 19 7:28 AM
Hi,
Why dont u use BAPI for FB01?
BAPI_ACC_DOCUMENT_POST
oR
BAPI_ACC_GL_POSTING_POST
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Regards
Edited by: Alvaro Tejada Galindo on Sep 1, 2008 4:08 PM
‎2007 Aug 10 6:07 PM
you just need do do this:
PERFORM FILL_FTPOST USING 'BSEG-RKE_BUKRS' BUKRS.
PERFORM FILL_FTPOST USING 'BSEG-RKE_WW008' T_DATA-HKONT.
‎2007 Aug 10 7:46 PM
‎2008 Aug 28 9:09 AM
How did you fill that field?! (RKEAK-FIELD(02))
I had the same problem but now, even though I manage to generate the screen, the fields come empty and RKEAK-FIELD(XX) is going on another screen.
My code looks like this:
perform fill_fields using 'BSEG-RKE_BUKRS' bukrs.
perform fill_fields using 'BSEG-RKE_WW008' hkont.
perform fill_fields using 'RKEAK-FIELD(01)' field1.
perform fill_fields using 'RKEAK-FIELD(02)' field2.
perform fill_fields using 'RKEAK-FIELD(03)' field3.
perform fill_fields using 'RKEAK-FIELD(04)' field4.
perform POST_DOCUMENT.
Edited by: Daniel BALTA on Aug 28, 2008 12:14 PM
‎2008 Sep 01 3:06 PM
Hello,
I am facing the same issue as Daniel, I am trying to address field RKEAK-FIELD(14) while posting a document.
I am using the function POSTING_INTERFACE_DOCUMENT
Fiels RKEAK-FIELD(14) does not exist in dynpro SAPMF05A 0300
I look into function code, but I will appreciate some help on this topic.
Regards,
Florence Mollet
‎2008 Sep 03 12:19 PM
Hey Florence,
I managed to solve that issue by addressing the fields from the BBSEG structure and not the screen fields. You can find them all there.
For example:Customer PA is not RKEAK-FIELD(01) but BSEG-RKE_WWKND .
I have another question though: Can this interface be used for creating a batch for multiple entries.
If so, how exactly do you match the header with the items. For example:
Header 1 with 1 line
and header 2 with 2 line.
How can you map something like this?
‎2008 Sep 11 8:32 AM
Hello Daniel,
Sorry I cannot really answer your question since I create a batch input session for one document.
I do have several accounting documents to register, but I only create batch input session for the one in errors.
So what I do is I post document and if I get a message error I create one batch input session per error, as I am not supposed to get so many errors hopefully !
Regards,
Florence