2006 Jul 21 1:10 PM
Hello,
Is there someone who can tell me if it is possible to execute a batch input on HU02 ?
I tried it with this little piece of code but it doesn't work.
PERFORM bdc_dynpro USING 'SALV51G' '6000'.
PERFORM bdc_field USING 'BDC_OKCODE' '=UE6POS'.
CALL TRANSACTION 'HU02' USING bdcdata
MODE 'A' "p_modus
UPDATE p_update
MESSAGES INTO bdcmess.
I am getting the first screen but the popup with the code doesn't appear ?
Can anyone give me a clue ?
Thanks in advance,
Dirk.
Hello,
Is there someone who can tell me if it is possible to execute a batch input on HU02 ?
I tried it with this little piece of code but it doesn't work.
PERFORM bdc_dynpro USING 'SALV51G' '6000'.
PERFORM bdc_field USING 'BDC_OKCODE' '=UE6POS'.
CALL TRANSACTION 'HU02' USING bdcdata
MODE 'A' "p_modus
UPDATE p_update
MESSAGES INTO bdcmess.
I am getting the first screen but the popup with the code doesn't appear ?
Can anyone give me a clue ?
Thanks in advance,
Dirk.
2006 Jul 21 1:26 PM
Hi Dirk!
You should better concentrate on Bapi instead of CT:
BAPI_HU_CHANGE_HEADER
BAPI_HU_CREATE
BAPI_HU_DELETE
BAPI_HU_DELETE_FROM_DEL
BAPI_HU_DISPLAY_HISTORY
BAPI_HU_GETLIST
BAPI_HU_GET_LIST_MSG
BAPI_HU_PACK
BAPI_HU_PROCESS_MSG
BAPI_HU_PROCESS_MSG_DIRECT
BAPI_HU_REPACK
BAPI_HU_UNPACK
BAPI_HU_PI_CHANGE
BAPI_HU_PI_CREATE
BAPI_HU_PI_READ
Some should definitely be able to solve your problem.
Regards,
Christian
2006 Jul 21 1:30 PM
Set unique number assignment for HU identification in Customizing (SPRO) first.
In SPRO you need to just select the check box - HU ID as unique number .
After this configuration I think you can use BDC.
Rgds,
TM.
The SPRO settings comes under <b>Handling Unit Management</b>. Search for this term for locatiing.
Message was edited by: Thomas Mann
2006 Jul 21 1:51 PM
Hi Christian and Thomas,
The number assignment is set to unique for HU,
The problem is that i am using FM ADD_TO_EXISTING_HU.
This FM returns with subrc = 0, but the source HU is not copied to the dest HU, it keeps hanging in his unpacked state.
That is why i am trying to solve it by means of BT.
I don't see a BAPI that can replace that FM.
Regards,
Dirk.
2006 Jul 21 2:00 PM
Dirk,
Did you get a chance to look into reports which uses this function module?
I checked, unfortunately I do not have valid configuration. Can you have a look.
<b>RLMOB018
RLMOB019
RLMOB020</b>
Rgds,
Thomas.
Message was edited by: Thomas Mann
2006 Jul 21 2:31 PM
Hi Thomas,
I also can't run the reports completely beacuse of configuration problems.
By looking at the code i can't see any differences between those reports and my call of the FM.
Regards,
Dirk.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |