Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Print code on the label

Former Member
0 Likes
399

Hi,

I want to print code on the label based on the following:

The code will be concatenated with the following information:

u2022 First two characters of the customer group field (AA) (KNVV- KDGRP)

u2022 First two characters of the customer group 2 field (BB) (KNVV- KVGR2)

u2022 First two characters of the material listing value (CC) (Table KOTG9XX) Note: Get sold-to from customer master then read Material Listing record to get the appropriate values. Multiple material listing values may be printed.

u2022 D = One character u201CEu201D u2013 for English for all customers where field Region on ADDR1_DATA / REGION is not equal to QC Quebec. Else u201CFu201D.

Code will print on the bottom right of the label - AABBCCCCCCD.

Can anyone send the sample code how to do.

Thank you.

Regards,

Sudha

2 REPLIES 2
Read only

Former Member
0 Likes
360

hi sudha,

can you tell me what is ur correct requirement.

so that i can help you asap.

thanks

AM

Read only

0 Likes
360

Hi,

Thanks for your reply.

I want to print label which has address details and code.

The name and address that is to print on each label will be pulled from the partner function ZP. Each label will also store a code printed at the bottom right. The code will be concatenated with the following information:

u2022 First two characters of the customer group field (AA) (KNVV- KDGRP)

u2022 First two characters of the customer group 2 field (BB) (KNVV- KVGR2)

u2022 First two characters of the material listing value (CC) (Table KOTG9XX) Note: Get sold-to from customer master then read Material Listing record to get the appropriate values. Multiple material listing values may be printed.

u2022 D = One character u201CEu201D u2013 for English for all customers where field Region on ADDR1_DATA / REGION is not equal to QC Quebec. Else u201CFu201D.

Code will print on the bottom right of the label - AABBCCCCCCD

I need how to fetch those details and do concatenation.

This is the Selection screen:

u2022 Sales Organization

u2022 Distribution Channel

u2022 Division

u2022 Sales Person (partner type ZE, Z1, Z2)

u2022 City

u2022 Region

u2022 Customer Group (Channel/Market)

u2022 Customer Group 2 (Sub Channel/Market)

This is the requirement.If possible need sample code.

Thanks in advance.

Sudha