cancel
Showing results for 
Search instead for 
Did you mean: 

Adicionando tags XML extra no arquivo xml GRC através BADI cl_nfe_print, nome do método fill_item.

Former Member
0 Kudos

Oi a todos,

Atualmente estou desenvolvendo um objeto no ERP SAP ECC para adicionar duas tags XML para vímas e tags motdesICMS através de método CL_NFE_PRINT ~ FILL_ITEM.

assim você poderia por favor me orientar para prosseguir o desenvolvimento com algumas informações técnicas?

eu poderia achar que, há um parament exportação no método fill_item Badi, no qual existem n número de campos. então por favor sugerir, em qual campo devo enviar o valor para vímas (Valor de Excemption) e motDesICMS (Motivo para Excemption). ?

Desde já, obrigado.

Accepted Solutions (1)

Accepted Solutions (1)

edgar_nagasaki
Contributor
0 Kudos

Dear Chandra,

Given fields can be handled through OUT_ITEM export parameter from method:

Regards,

Edgar

Former Member
0 Kudos

Dear Edgar,

thank you so much for your help, you got my question exactly.

and thanks for the answer.

have a great day!!

Regards,

Chandra

Former Member
0 Kudos

Hi Edgar,

One more help, i have tried to find that, when the BADI CL_NFE_PRINT~FILL_ITEM method is triggering, but i could not able to find.

so could you please help me, when the method is triggering ?

Note:

I have used Tcodes VF01, j1bnfe and also i have accessed GRC system. but still i couldn't.

Thanks in Advance.

edgar_nagasaki
Contributor
0 Kudos

Hi Chandra,

That BAdI is reached at time NF-e document is about to be sent to authorities and happens in 2 different moments, at document numbering and document sending. In FILL_ITEM specific case it's called from LJ_1B_NFEF45 include:

Please recall you would need to, if it's not set yet, provide implementation for CL_NFE_PRINT first (SE19).

Regards,

Edgar

Answers (0)