2008 Apr 21 6:52 PM
Hi all ,
I am trying to do two operations in sequence in one of my requirement.
That is creating the handling unit and posting the goods movement for that handling unit,.
For this I am using two FM's
BAPI_HU_CREATE and HU_CREATE_GOODS_MOVEMENT in sequence. however when I test them from SE37 they seem to work fine, but when I do them in a program they give a short dump saying "Handling unit assignment"
Has anyone ever faced the same problem. Can you please let me know how I should go about this.
Thanks,
Ben.
Hi all ,
I am trying to do two operations in sequence in one of my requirement.
That is creating the handling unit and posting the goods movement for that handling unit,.
For this I am using two FM's
BAPI_HU_CREATE and HU_CREATE_GOODS_MOVEMENT in sequence. however when I test them from SE37 they seem to work fine, but when I do them in a program they give a short dump saying "Handling unit assignment"
Has anyone ever faced the same problem. Can you please let me know how I should go about this.
Thanks,
Ben.
2008 Apr 21 6:57 PM
Hi Daniel Ben,
It sounds like your code problem , where you call the Function modules using some export and import parameter. Check all the Export and Import parameters and make sure you have properly defined the data types simillar to the FM data types for a Export and Import parameters.
Hope this helps.
If you are not able yo figureout the problem copy the dump analysis frin ST22.
Thanks,
Greetson
2008 Apr 21 7:00 PM
Hi Greetson.
I think I am passing the input parameters in the right order, when I pass the same data and run in SE37 it works fine. But in the program it is giving me an issue.
Do you want me to post the code from ST22 for your analysis ?
Ben.
2008 Apr 21 9:28 PM
Yes Please ... Give some details about the St22
Thanks,
Greetson
2008 Apr 21 10:51 PM
Hi Greetson,
It is throwing this error message "Handling unit assignment".
When I wrote an independent program it worked fine, when I am trying to use it with BAPI_HANDLE_CREATE it is throwing me the problem . Also I debugged the transaction VLMOVE and found standard code is even using the same FM. No idea hy it is failing when I am using it.
Thanks,
Ben,