11-15-2011 7:04 PM
Hello,
I posted this question also as a comment to Pablo Casamayor's post from here:
http://wiki.sdn.sap.com/wiki/display/Snippets/Displaycustomerfieldsinheaderoflogisticsinvoiceverification+transactions?showChildren=false#children
I am asking also here, maybe someone can help me. I followed his steps. The field I added is umskz. Here is my comment:
I tried to insert field UMSKZ. In flow logic, i put FIELD: invfo-umskz. In the Layout, i inserted from dictionary infvo-umskz.
When i enter MIRO, the field is there, but when i select any value for the special G/L indicator, i receive a error message that says the record is not in table t074u. But it is...the search help attached contains all values. But no matter what value I select, the transaction throws me that message.
And I have another question. In bseg, the special gl indicator will be automatically inserted in the correponding record of the invoice, if I enter a value in umskz? Or do I have to do some connections. I do not know how.
Thank you very much,
Efren
11-15-2011 9:59 PM
Regarding to my second question, i tried with another field KLIBT. It does not cause the same error as the field UMSKZ, but the problems remains that the field is not populated in BSEG. After i create an invoice in MIRO i take the number of the correspondent FI document(MIR4 transaction, follow on documents) and look in bseg. The field KLIBT is not filled.
Update: I understood why field UMSKZ does not work. The badi is used at header level and umskz is a field for item level.
Efren
Edited by: Efren23 on Nov 15, 2011 11:06 PM
11-18-2011 9:14 AM
Hello,
I solved it. If anyone wants to know,I used badi FI_FDCB_SUBBAS04_EX and after that badi ac_document, where i copied invfo-umskz in the lines of xaccit[].
Efren