Logic to get the Billing Document and Billing Date based on the Serial Number
Object List: Pass the Material – MATNR and Serial Number – SERNR to get the Object list OBKNR

Outbound Delivery – Pass the Object List – OBKNR in SER01 to get the Delivery -LIEF_NR

Billing Document: Pass Outbound Delivery – VBELV, Subs.doc.categ -VBTYP_N = M in VBFA table and get the Billing document-VBELN

Billing Date: Pass Billing Document as VBELN in VBRK table and get Billing Date – FKDAT

I hope this logic helps you to design any custom logic in your project. Happy Learning.
Thanks, and Best Regards,
Ganesh Padala
Discover more from GANESH SAP SCM
Subscribe to get the latest posts sent to your email.