Application Development 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: 

HUMO transaction to be called in background

Former Member
0 Kudos

Hi All,

I need to call HUMO transaction to do a Plant to Plant transfer in the same system with the assignment of Handling units.

The requirement is : Enter Plant,Warehouse num, St.loc,St bin in the selection screen of Z transaction -> it will display the HUs(Handling Unit) in the next page, when user clicks at the execute button on ALV screen I need to run

HUMO in background---> then we will Select your HU option >>> Go to EDIT >>> Change HU Posting >>>Select Other Posting --> Drop down >> Select 0007 Plant Transfer (One-step-Procedure) >>>>> Enter Receiving Plant & storage Location and SAVE.

Please tell me what is the best option to achieve this functionality.

thanks in advance.

3 REPLIES 3

Former Member
0 Kudos

Once you get all the handling units list after processing your Z selection screen, call HUMO transaction and skip first screen by using following sample code

You have to fill Handling Unit data in bdc_options

CALL TRANSACTION ta { [AND SKIP FIRST SCREEN] 
                    | [USING bdc_tab [bdc_options]] }.

OR

You can use submit program option

Submit RHU_HELP VIA SELECTION-SCREEN.

SUBMIT - selscreen_options 


Syntax 
... [USING SELECTION-SCREEN dynnr] 
    [VIA SELECTION-SCREEN] 
    [selscreen_parameters] ... .

And then you will get the list of Handling Units, after that you can follow the requirement, i mean going to different menu paths and get the desired results.

You can search for further documentation on SDN for call transaction or submit program.

Former Member
0 Kudos

Thanks for the reply.

my requirement has changed now.

I need to run HUMO transaction in background for plant to plant transfer and generate the material document number.

In my Z prog , I'm fetching the values of Plant, Storage loc, receiving plant, etc. I need to call HuMo transcation in background passing handling units and all other MSEG table fields and generate Mat doc number.

Please suggest the best way to achieve that.

Thanks in advance.

0 Kudos

Hi All,

Can someone tell me how to pass select options in bdc/call transaction.

I have a Z report, I have to call HUMO transaction in the background for Plant to Plant transfer ( one step process) from my report.

I'm fetching handing units in my program and have the values in an internal table. I did recording for HUMO transaction .

I'm however not able to pass handing units( select options) values in HUMO transaction .

Please tell me how to pass select option values using either call transaction or BDC.

Thanks.