Skip to Content
avatar image
Former Member

Printer determination for delivery by shipping point/User

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 12, 2012 at 03:02 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 11, 2012 at 01:03 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded