on 04-18-2006 7:17 AM
HI all
I m using POSTING_INTERFACE_DOCUMENT function to post the AP/GL/AR accounts.I m facing the problem with hidden fields.I m passing all the field values and for some accounts those fields are hidden so FunctionModule get struck there.
I m posting the data through XI.I dont want to use BDC.
I just want to know the way to find out the hidden fields for particular account(GL) posting.Is there any FunctionModule exsisting that can solve this .Any light on this part will be appreciated.
Thanks in Advance
DhanyaR Nair
Hello,
You can find out the defination of the hidden fileds in the table T004F as per the Field Status Variant and Field status group as maintained in the GL Master (Table SKB1).
From, this table it is not easy to find out the hidden field, it is tricky.
Let's say, if you search for Profit center (it is hidden or not), then you will find out it from the 18th digit of the T004F-FAUS1.
T004F-FAUS117(1) = '' >> Required
T004F-FAUS1+17(1) = '-' >> Hidden
T004F-FAUS1+17(1) = '.' >> Optional
So, Better to use program RFBIBL00.. becuase it is doing all this type of things.
Regards,
Naimesh
Reward points, if it is helpful..!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Naimesh, Max
Naimesh :I just want to know, how this field number 18 is found for the profitcenter. whats the way to find the offset related to fields(58), FAUS1 length is 50. How can we map the fields.Plz reply ASAP.
Max: I need to process the idoc from inbox in foreground mode.Do These BAPI support foreground processing-need to be checked.
Regards
DhanyaR Nair
Hello DhanyaR,
It is also tricky.
Go to FSS0, give your GL account. In create/bank/interset tab, you will find out the Field status group.
Double click on the group, you will come to one more screen.
Click on General data. You will able to see all the fields like assignment number and radibuttons. Now, Open table in SE16 in new session (this will used for comparision), with your field status group.
Change only one radiobutton again any field and save. and open the tabel in SE16 again. And see the difference wiht comparing it with old one.
IT is bit tricky.
Regards,
Naimesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello DhanyaR,
If u want to understand the logic for how it is done then have a look at the FM PREPARE_FIELD_SELECT_STRING.
Set breakpoint at L0F02I01 line 319 and check for the vendor screen layout. SPRO->FInancial acc->Acc receivable & acc payable->vendor acc->master data->preparation for creating vendor master -> define screen layout per company.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
It's not easy to do that, I think It should be better to use the BAPI BAPI_ACC_GL_POSTING_POST or BAPI_ACC_DOCUMENT_POST
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.