cancel
Showing results for 
Search instead for 
Did you mean: 

New Condition Table , NACE for application V2

Pawan_Kesari
Active Contributor
0 Kudos

I am trying to configure output type Delivery Note for Shipping Application (V2). Requirement is to send email to Partner (Forwarding Agent) based on values Sales Org/Forwarding Agent(PARVW = 'SP')/Customer(sold-to). I can't find any Condition table with this combination so created a new condition table with these fields in it.

Now I am trying to create access sequence, but when I add this condition table to access sequence and look in fields view, the field TDLNR has red status in I/O column and I get information message 'Select a document field for TDLNR'

Condition I/O   Docmt St.       Doc.fld Long Field Name
VKORG	  <-	KOMKBV2		VKORG	Sales Organization
TDLNR	  red	                	Service agent f.stage
KNDNR	  <-	KOMKBV2		KUNAG	Sold-to party

Structure KOMKBV2 or KOMPBV2 structure doesn;t have any field for forwarding agent.

Am I missing something here?

Edited by: Pawan Kesari on Jan 25, 2010 7:14 PM

Edited by: Pawan Kesari on Jan 25, 2010 7:14 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Pawan_Kesari
Active Contributor
0 Kudos

1) Modified structure KOMKBZ4 to add new field in KOMKBV2.

2) Added code in form-exit USEREXIT_KOMKBV2_PARTNER to populate above field.

Former Member
0 Kudos

Hello Pawan,

could you send me the maintain in USEREXIT_KOMKBV2_PARTNER for this case?

Thanks & regards

Josef

Pawan_Kesari
Active Contributor
0 Kudos

FORM USEREXIT_KOMKBV2_PARTNER.

   CASE COM_VBPA-PARVW.
*{   INSERT         DEVK906783                                        1
*   Ehancement to use forwarding agent in access sequence
     WHEN 'SP' . COM_KBV2-ZZAGENT = COM_VBPA-LIFNR .
*}   INSERT
*   WHEN 'ZZ'. COM_KBV2-ZZKUN = COM_VBPA-KUNNR.
   ENDCASE.

ENDFORM.