cancel
Showing results for 
Search instead for 
Did you mean: 

Add selection criteria to Billing due date list VF04

Former Member
0 Kudos

Dear gurus,

I need to execute report VF04 but looking sales documents by material. is there any enhacement point or user-exit to add this option to program?

Thank in advance.

Best regards

Juan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Take a copy of the program SDBILLDL.

Add the field as a parameter ocr select option.

(1). In ex line 565 add following:

LOOP AT p_gt_fvkdfi.

CLEAR vbak.

LOOP AT s_ernam.

DELETE s_ernam.

ENDLOOP.

ENDIF.

SELECT SINGLE ernam

INTO ( VBAK-ERNAM)

FROM vbak WHERE vbeln = p_gt_fvkdfi-vbeln

AND ernam IN s_pernam.

IF sy-subrc NE 0.

DELETE p_gt_fvkdfi.

CONTINUE.

ENDIF.

ENDLOOP.

Create your own transaction code to this report instead of VF04.

(2).

What you can do is use user exits, USEREXIT_VKDFS_SORTKRI_SALES and USEREXIT_VKDFS_SORTKRI_DEL in V05IEXIT for sales and delivery related billing respectively. All you need to do is to load the user name into VKDFS-SORTKRI and that should be it.

(3).

http://saptechsolutions.com/pdf/SDBillingDocumentConsolidationAndSplit.pdf

(4).please chec for OSS notes.

(5).SPRO IMG -> Sales and Distribution -> Billing -> Lists -> Define Selection Criteria

regards

balajia.

Answers (1)

Answers (1)

Shiva_Ram
Active Contributor
0 Kudos

I am not sure whether you can achieve the requirement using standard configuration, however you can check the path SPRO -> Sales and Distribution -> Billing -> Lists -> Define Selection Criteria.

I searched OSS notes, but I dont see one. I recommend the following;

1) Check with SAP support.

2) Copying the VF04 and create a new Z-program in which the field material can be added.

Regards