on 2015 Jul 27 8:57 PM
Hi guys .
I need to assign the resource and FU to a newly created FO.
I try to use ADD_FU_BY_FUID. but dump is occurred.
i read this document where says:
The document says:
Freight unit cannot be added to Freight Order via BOPF
You cannot add a Freight Unit via action ADD_FU_BY_FUID to Freight Order because a dump is occured. The standard way is to add FUs to FROs on the UI. The Test tool used for business is not supported.
How can i do it in my code? .please help me my requeirement is urgent.
Please see my code attached.
Hi! Have you found the solution to assign FU to FO?
We create the FO with TransportationOrderGenericRequest_In but then we have not been able to assign the FU to FO
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am also facing the same issue. I am trying to add already created FU to freight order using action ADD_FU_BY_FUID by passing FU number in string parameter. But still it is not adding to TM freight order. Can you please help me to know if you found the way to add it to FU?
Thanks in Advance.
Regards,
Vardan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Ronaldo
I am creating the custom program for creating Freight order from Freight unit and have the similar requirement as yours, It would be very helpful if you could please share some insight if you have found any solution for this.
Thanks and Regards,
Harshal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ronaldo,
we have to distinguish between the BOPF framework and the application that is built on BOPF (like here SAP Transportation Management). If you have a general question about how to create node instances with BOPF, the community "BOPF Application Framework" is the right choice. However in case of specific questions in regard of SAP Transportation Management (e.g. how to create Freight Units), I recommend the corresponding plattform to get a fast reply:
http://scn.sap.com/community/scm/transportation-management
Best regards
Tilmann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for reply David.
I'm working with code of other people.
1-I have de FU of screen.
I want to know how can I by bopf in my Z program create FO and insert my FU in this new FO .
The other programmer created a web dynpro and he did this code attached where he creates the fo and pass to FU but i dont know if it was right because the data is created but dont show in nwbc ,see this image:
i need that data is shown like this image:
We open call with sap and they answer :
Dear Ronaldo
I checked your
system and my feedback below.
1) This is a completely custom transaction. Since you have difficulty
with BOPF, we can provide inputs but your development team will have
to take responsibility for making it work.
2) From what I see, you have selected a FU, resource and you would
like to assign the resource and FU to a newly created FO. This
scenario is similar to using 'Plan selected items' in the cockpit. In
this case, we typically invoke action /SCMTMS/CL_PLN_A_ROOT_PLNINTAC.
The FU, resource are all mentioned as action parameters. The same
action is invoked in a drag and drop scenario also.
3) Incase a FU is assigned to FO, action
/SCMTMS/CL_TOR_A_ROOT_STRINGIN is invoked . The FU number is passed as
a string as the action parameter.
4) Its always better to invoke these actions with proper inputs so
that they can invoke the planning strategy like VSRI and ensure that
all follow on activities are performed.
5) From what I checked in your case, only the FO stops are modified.
So in method DET_PLANING_CHANGES of /SCMTMS/CL_TOR_D_STOP_AM, the FU
stops are not considered. As a result, the action
/SCMTMS/CL_TOR_A_ROOT_UPD_TOR is not registered for execution at all.
So all item related actions and determinations like
/SCMTMS/CL_TOR_A_UPDATE_ITEMTR, /SCMTMS/CL_TOR_D_ITEM_AC,
/SCMTMS/CL_TOR_D_ITEM_TR_AM etc are never invoked.
Hopefully this helps.
Regards
YOu know how to do it by bopf?
I think is better create a new Z program that create a FO and pass my FU for this new FO .
The FU is in nwbc i only need insert it in FO.
User | Count |
---|---|
8 | |
6 | |
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.