on 03-11-2015 7:59 PM
Dear Experts,
I am having some issues while creating transportation zones and their hierarchies through the FUNCTION_LOADER_INLAY program. I would like to create both postal code zones and blank zones (for hierarchical levels). I am running into two problems:
This leads me to believe that the Function Loader is incorrectly creating the new zones and (and thus any hierarchies that use them) in a different model (not 000). However, I have not found a parameter in the Function Loader that includes the active model.
Does anyone have any ideas what might be going wrong here? The help is much appreciated.
Regards,
Daniel
This is also possible when you do not use capital letters for zones. TM only accepts capital letters for Tzones. But you can create zones in small letters via this BAPI and those zones won't be available for other purposes like lanes and optimizer.
Try to create the same using capital letters and review the results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the tip. I wasn't aware about issues with non capital letters; however, I've experienced this issue even when creating zones that entirely use uppercase.
As far as solving the issue, I have not yet discovered a root cause. I have run some tests where the zones were created successfully and the hierarchy correctly populated, and other times repeating those procedures I have run into the issue. I'm still trying to figure out what it might be, and when I do, I'll report back.
Another update. We implemented Note 2154912, although I haven't tested any lowercase names yet. Tests have all been with uppercase names only or numerical codes.
I have observed a few things. After testing BAPI_TZSRVSCMB_SAVEMULTI many more times, I cannot get it to work correctly again with regards to creating the zones and assigning them correctly - i.e. the zones are created and visible in the standard maintenance transaction, but they cannot be used elsewhere nor do they appear in the hierarchy. I used this BAPI successfully one time only and have never been able to discover what exact difference made it work.
The second PUT module, /SCTM/BAPI_ZONE_SAVEMULTI, is working thus far in my tests regarding zone creation. Zones are created correctly and attributed to the hierarchy. They can also be maintained through the normal zone transaction, unlike those created by BAPI_TZSRVSCMB_SAVEMULTI. However, a downside of /SCTM/BAPI_ZONE_SAVEMULTI is its uselessness for GET information - it will only populate Zone GUID columns, and not even with correct values (it simply populates all GUID columns for each zone with 0s). Thus, it is useless as a BAPI to get information for editing in the spreadsheet. However, basic tests indicate that /SCTM/BAPI_ZONE_SAVEMULTI can be used to make edits to zone information if you enter the zone IDs into the spreadsheet manually.
It appears that /SCTM/BAPI_ZONE_SAVEMULTI is a half-solution right now to what we need, but definitely an imperfect one. If anyone has some idea of what might be going on, I'd be really grateful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
did you open a ticket on this? Honestly there seems to be something strange in your system. Basically the function module BAPI_TZSRVSCMB_SAVEMULTI takes over some external -> internal key mapping and then does nothing else than call function module /SCTM/BAPI_ZONE_SAVEMULTI.
You are explaining the downside of /SCTM/BAPI_ZONE_SAVEMULTI when trying to read zone with it. Well, it is a save module... How about /SCTM/BAPI_ZONE_READMULTI?
Thanks for the reply, Marcus. You are correct - using a SAVE module doesn't make much sense for reading information. I suppose I was more in the mindset that BAPI_TZSRVSCMB_SAVEMULTI serves pretty well for displaying information in the spreadsheet as well, and the fewer modules we use the less potential confusion for the users I'll have to work with for data creation. I'll investigate the /SCTM/BAPI_ZONE_READMULTI.
I've contemplated opening a ticket on the problems with the function module BAPI_TZSRVSCMB_SAVEMULTI but have held off to ensure first that I'm not committing any errors myself.
Hi Daniel,
which BAPI are you using? I have checked the standard function module /SCTM/BAPI_ZONE_SAVEMULTI and it assigns the newly created zones to the active model '000'.
The hierarchy issue is releated to the missing assignment.
Regards,
Marcus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.