Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Applying OSS note 333506

Former Member
0 Likes
1,427

Hello Experts,

We are actually implementing the OSS note 333506 in our SAP system.To do this, we are modifying the standard codes and tables as indicated in the OSS note.

Programs that we have modififed are :

LF150F0C

LF150F0A

GENERATE_DUNNING_DATA (Function module)

SAPMFKD0 (Customising program)

Tables modified :

T047B (Table) Field : VERT1/2/3/4/5/6/7/8/9

M047X (Structure) Field : VERTG

The aim was to create Dunning items with negative arrears.

But when we lauch the transaction F150, the program has stopped working . It does not even create dunning for normal conditions.

We, reverted back to the standard codes and implemented the note by making the modifications stepwise.

We found that the following codes were the cause of the bugging situation :

In form determine_due_date: (GENERATE_DUNNING_DATA)

endif.

<<<<< START of DELETION >>>>>>>>

if i_mhnd_ext-shkzg = 'S' or i_mhnd_ext-rebzg ne space.

if e_verzn > i_t047a-kulep.

e_xfael = 'X'.

else.

if e_verzn > 0.

if 1 = 0. message s808. endif.

perform log_msg using '808' i_mhnd_ext-blinf

e_verzn i_t047a-kulep space.

else.

if 1 = 0. message s809. endif.

perform log_msg using '809' i_mhnd_ext-blinf

e_verzn space space.

endif.

endif.

elseif e_verzn > 0.

e_xfael = 'X'.

endif.

<<<<< END OF DELETION >>>>>>>>>>>

Can someone please suggest any solution please?

Hello Experts,

We are actually implementing the OSS note 333506 in our SAP system.To do this, we are modifying the standard codes and tables as indicated in the OSS note.

Programs that we have modififed are :

LF150F0C

LF150F0A

GENERATE_DUNNING_DATA (Function module)

SAPMFKD0 (Customising program)

Tables modified :

T047B (Table) Field : VERT1/2/3/4/5/6/7/8/9

M047X (Structure) Field : VERTG

The aim was to create Dunning items with negative arrears.

But when we lauch the transaction F150, the program has stopped working . It does not even create dunning for normal conditions.

We, reverted back to the standard codes and implemented the note by making the modifications stepwise.

We found that the following codes were the cause of the bugging situation :

In form determine_due_date: (GENERATE_DUNNING_DATA)

endif.

<<<<< START of DELETION >>>>>>>>

if i_mhnd_ext-shkzg = 'S' or i_mhnd_ext-rebzg ne space.

if e_verzn > i_t047a-kulep.

e_xfael = 'X'.

else.

if e_verzn > 0.

if 1 = 0. message s808. endif.

perform log_msg using '808' i_mhnd_ext-blinf

e_verzn i_t047a-kulep space.

else.

if 1 = 0. message s809. endif.

perform log_msg using '809' i_mhnd_ext-blinf

e_verzn space space.

endif.

endif.

elseif e_verzn > 0.

e_xfael = 'X'.

endif.

<<<<< END OF DELETION >>>>>>>>>>>

Can someone please suggest any solution please?

2 REPLIES 2
Read only

Former Member
0 Likes
923

Hi,

Have you activate your TS21000186 task and checked event trace?

Have a look at the fqevents available (FQEVENTS TCode) for dunning, these might be helpful to you.

<b>Event Number Description </b>

300 Dunning: Edit Proposal

301 Dunning: Create Dunning Groups

302 Dunning: Create Dunning Proposal

303 Dunning: Dunning Lock and Dunning Procedure

304 Dunning: Determine Next Dunning Level

306 Dunning: Change Dunning Group Fields

307 Dunning: Determine Dunning Procedure of Dunning Group

308 Dunning: Fill Customer Fields

309 Dunning: Change Grouping

310 Dunning: Start Printing of Dunning Notice

311 Dunning: Read Open Items

320 Dunning: End Printing of Dunning Notice

330 Dunning: New Dunning Header Entry

340 Dunning: Dunning Data Complete (MAKO/MAZE)

350 Dunning: Dunning Activities - Print Dunning Form

360 Dunning: Create Charges Document 1

361 Dunning: Create Charges Document 2

362 Dunning: Create Charges Document 3

363 Dunning: Account Assignment for Dunning Charges

364 Dunning: Determ.Incoming Payment Method from VTREF

365 Dunning: Determ. Dunnable Incoming Payment Methods

366 Dunning: Items from Payment Orders

367 Dunning: Leading Contract Account and Company Code

370 Dunning: Calculate Interest

Regards

Read only

0 Likes
923

hi kiran,

Actually we have one requirement that how to stop invoicing for one company.

i mean when we execute FPVA transaction then it create two invoice for two company.

But we want that it shud create invoice only for one company and in certain conditions it shud create invoice for other comp also.

how could we do that. please if u have idea help me.

waiting responce

seema.