2024 Jun 05 4:12 PM - edited 2024 Jun 06 12:12 AM
Produtos que não possuem cEAN, ao gerar a nota fiscal, eles ficam em branco e no lançamento do SEFAZ apresenta erro. Segundo norma do SEFAZ, para itens que não possuem EAN, deve conter na nota a descrição "SEM GTIN". Para alterar o campo cEAN, utiliza-se um "DIRTY-ASSIGN" no método FILL_EXPARAMETERS da nova BAdI J_1BNF_ADD_DATA.
FIELD-SYMBOLS: <fs_xmli> TYPE j1b_nf_xml_item.
ASSIGN ('(SAPLJ_1B_NFE)XMLI') TO <fs_xmli>.
IF <fs_xmli> IS ASSIGNED.
IF <fs_xmli>-cean IS INITIAL.
<fs_xmli>-cean = `SEM GTIN`.
ENDIF.
ENDIF.
Request clarification before answering.
User | Count |
---|---|
13 | |
10 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.