cancel
Showing results for 
Search instead for 
Did you mean: 

Printer determination for delivery by shipping point/User

Former Member
0 Kudos

Hi,

My customer want to make printer determination for delivery document by shipping point and by user who make the goods issue.

As far as i know, defining printer by shipping point is standard in SAP but how to make it by shipping point/ User .

Please help

Best regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

this could be helpful:

1. Add new field USNAM to structure KOMKBZ4

[transaction SE11]

During output control for delivery, system uses communication structure KOMKBV2. Every field, used for output determination, must be in structure KOMKBV2. There is iclude KOMKBZ4 for customer modification.Insert  your field USNAM into structure KOMKBZ4.

2. Add new field to field list

[transaction SE11]

Structure KOMB consist of all fields available for customizing output condition tables. If your new field is not in structure KOMB, insert it into structure KOMBZ. (KOMBZ is include for customer modification in KOMB). 

3. Assign user name to field USNAM during output determination

[transaction SE38]

Insert ABAP code into user-exit USEREXIT_KOMKBV2_FILL (include RVCOMFZZ).

Something like this:

COM_KBV2-USNAM = COM_MKPF-USNAM

If COM_MKPF-USNAM  is initial, use tables VBFA and MKPF, find out material document and assign MKPF-USNAM. If material document not found, assign COM_LIKP-ERNAM or COM_LIKP-AENAM or SY-UNAME ...

4.Add new field (USNAM) into field catalog

[SAP customizing -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries -> Maintain Condition Tables -> Field catalog: Output for deliveries]

5.Create new condition table with fields VSTEL (shipping point) and USNAM (user name)

[SAP customizing -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries -> Maintain Condition Tables -> Maintain output condition table for deliveries]

6. Do standard customizing in Output determination (Output types, Access sequences, Output determination procedures)

[SAP customizing -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries -> ...]

7. Create master data for output

[transaction VV21]

Create new records for output types + shipping points + users and set printing parameters.

Best regards

Eduard.

Former Member
0 Kudos

Hi Eduard,

Many thanks for your answer it's exactly my requirement solution.

Best regards

Answers (3)

Answers (3)

former_member639128
Discoverer
0 Kudos

Hi,

We solved our request by using table TNADU.

Regards,

Mathieu

former_member639128
Discoverer
0 Kudos

Hi all,

It is working for peaking list (Application V4). It Seams that Table TVST have a the priority.

Thanks

Mathieu

Former Member
0 Kudos

Hi

If your question is "Printer determination based on the User who does the PGI to print the Dely note".

Then, add the combination in your Delivery doc Output type with the field 'User'., example   :

Delivery type/Shipping Pt/User

Then  maintain the condition record and assign the printer which user wants in the Communication tab under Printer selection.

To add the field "User" (USNAM) to the Output type, you need to maintain Tables & Access sequence accordingly.

Hope this may help you.