on 02-24-2014 1:39 PM
Hi guys,
How can I add the field INCO1 as a key for the Shipment output determination (KOMKBV7) ?
I found the field in the field catalog KOMB, but how can I populate this field and use it as a key in the VV72 ;
Thank you.
Regards,
David
Hi David,
There are two steps to using a new field in the Access Sequence.
1) Adding it to the communication structure- This you have already done.
2) Populating it in the User-exit.
This needs to be done
Populate it in Function Module EXIT_SAPLVCOM_007 using custom logic.
Pseudo code
case com_object.
when 'VTTK'.
when 'VTTS'.
COM_KBV7-ZZINCO1 = COM_VTTS-INCO1.
endcase.
Thanks & Regards,
Shashi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shashi,
Include ZXVCOU07 has been filled, do I need to activate it ?
DATA str_vttp TYPE vttp.
DATA str_likp TYPE likp.
SELECT SINGLE * FROM vttp INTO str_vttp
WHERE tknum = c_komkbv7-tknum.
SELECT SINGLE * FROM likp INTO str_likp
WHERE vbeln = str_vttp-vbeln.
CASE i_object.
WHEN 'VTTK'.
WHEN 'VTTS'.
c_komkbv7-inco1 = str_likp-inco1.
ENDCASE.
Regards,
David
Hi David,
Yes, you need to create a CMOD Project for the same and add the User-exit FM in it and activate it-only then will the system recognize the exit and the value be populated in the new field.
Also, the value of INCO1 is already available in com_vtts-inco1 in the user-exit. So you can use that directly without doing a select from the LIKP table.
Thanks & Regards,
Shashi Thakur
Hi David,
In below path:
SPRO--> Logistics Execution --> Transportation --> Output Control --> Maintain Output Determination for Shipments --> Maintain Condition tables --> Field catalog: Messages for transportation
Here click on New entry, Select your field INCO1 from the selection and SAVE.
It will be available for you to create Condition table for Output determination.
If you are facing any other issue then let us know.
Regards,
MJ.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahendra,
thank you for the answer.
I added the Incoterm1 to the field catalog and the condition table. I add it the Access sequence :
TPLST KOMKBV7 TPLST TransportPlanningPt
SHTYP KOMKBV7 SHTYP Shipment type
INCO1 KOMKBV7 INCO1 Incoterms
KUNWE KOMKBV7 KUNWE Ship-to party
I created the condition record in the VV72 for the Output, but it won't be generated in the Shipment.
Regards,
David
Hi David,
Now, in VT02N t-code, When you click on GO TO --> Output.
It takes you to the next screen there , you can see symbol of . click on the same.
That part will give you the reason why your condition table has not triggered condition record maintained.
if still it is not being resolved then take Screen shot after clicking on your output and condition table and send the same here so we can do further analysis.
Regards,
MJ.
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.