How to calculate Opening & Closing Balance Material Stock (2024)

Hi Kabil,

Yes, since the code is written in Initialization event, we can overwrite the same by creating the Variant for the particular screen, Call the Submit report like SUBMIT USING SELECTION-SET like shown below, here I have created the variant 'TEST2'.

Call the selection screen as follows.

SUBMIT J_1HSTCD

VIA SELECTION-SCREEN

EXPORTING LIST TO MEMORY

AND RETURN

USING SELECTION-SET 'TEST2'.

To change the variant value using FM FASU_RS_CHANGE_CREATED_VARIANT. Please find the document below.

Mass Change of Variants - Code Gallery - SCN Wiki

If you found more difficult, you can another method using BDC too and there are more number of implicit enhancements available for the program J_1HSTCD as shown below. write the export statement inside implicit enhancement and get the value in the custom program.

How to calculate Opening & Closing Balance Material Stock (1)

Regards

Rajkumar Narasimman

How to calculate Opening & Closing Balance Material Stock (2024)
Top Articles
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 5849

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.