Skip to Content
0
Former Member
Jan 16, 2012 at 05:28 PM

CFOP is not automatically determined

159 Views

Hello,

Currently I am facing a production issue when generating a GR for a Z-movement type 9W9 using MB1C. This GR generates a NFe, however, during NFe creation CFOP is not automatically determined.

As per checking the criteria of selection in table J_1BAPN, an entry is found for this criteria, however, this value is never passed to NFe.

Checking FM J_1B_NF_CFOP_2_DETERMINATION, criteria is meet in 1st select.

  • select with all parameters

read table it_bapn into wbapn with key

direct = cfop_parameters-direct

dstcat = cfop_parameters-dstcat

indus3 = cfop_parameters-indus3

itmtyp = cfop_parameters-itmtyp

spcsto = cfop_parameters-spcsto

ownpro = cfop_parameters-ownpro

matuse = cfop_parameters-matuse

indus1 = cfop_parameters-indus1

origin = space

version = i_version.

Is there any other configuration required to get the CFOP in automatically?

Thanks,