User Exists & Bar Code Q's

HI,
<u>User Exists</u>
If we know User Exists name, for example MV45AFZZ.
How to find related Transaction code or Program name from that?
What are the Transaction code aval for User Exists.
Any Sample BLOGS on this?
<u>BarCode</u>
I know we can print BarCode in Scripts and SmartForms.
Where else we can implement BarCode in ABAP Programs.
Any Sample BLOGS on this?

Hai Jen
Go to se93 and give the tcode to find the main program associated to it.
Go to se38 and give the main program.
Find the package associated to it.Go to->Object Directory Entry.
Go to smod transaction.
Press f4.
Press Information System Button.
Give the Project(Dev Class).
Press enter.
Find the enhancements associated
For Script/Smaft form print barcode
First Download it to your PC and then Upload it again with Different name.
For Download you need to use the Class CL_SSF_XSF_UTILITIES
in this class you have to call the method GET_BDS_GRAPHIC_AS_BMP
to get the image in xstring format .
now download that to PC using GUI_DOWNLOAD and then upload it with Different name.
Regards
Sreeni

Similar Messages

  • Bar Code entry while trying to create one through FB03

    Hi Guru
    We recently had techical upgrade to ECC6.0. While trying to create a barcode entry for a document through FB03 I am getting the following error message
    oa280 - Bar code not active -system administration .
    All the configuration are in place in OAC5,OBD2 . I couldnt able to find any relevant notes regarding to this issue . Can some one help me out in fixing this issue
    Thanks
    Auroar

    Hi
    I raised the question to SAP and they provided me the notes 173521 as suggested by  you . But  following this note will open bar code entry access for all user and for all accounting document which will be an issue .  After few trial and error I was able to get an solution for this issue .  I created an entry in oac5  with barcode active  for object type and user specified and an another entry with barcode inactive for object type ,document type FIIInvoice and user .  This enabled only the authorized user for bar code entry to make changes . One drawback is that it does allow permitted user for all document type
    Thanks all for your suggestion
    Regards
    auroar

  • How to findout Which are the User Exist had been activated for T.Code

    Hi Everybody,
    -->I want to know, what are the user exits have been activated or used for a particular t.code.
    --> I will give a small example it will be give clear idea on my question.
    -->For my client, they used lot of user exist and screen exist in the sales order screen,how to find out them. Is their any easy way to find out which are user exist had been acitviated for a particular template.
    Regards,
    Madhan

    If you mean how to see a user list with the T-Code they are using.
    Then you can just use T-Code SM04.
    It will give all the information about those user.
    Or If you mean User Exists.
    then please use this link
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    Thanks,
    Sugauli
    Edited by: Sugauli on Dec 11, 2008 9:20 PM

  • Users Exist  in T-Code  VL01n

    Hello All,
    I am looking for a user exit in T-code VL01n For Selecting batches using batch Classfication values and update a ztable based on batch Classfication .
    Z table will be update only and only if delivery Document created Successfully.
    if it is possible through single users -exist it's best, or multiple also be ok.
    Please Do the needful.
    With Warm Regards
    Swati Namdev

    Hi,
    Check the include MV50AFZ1..
    In that use the user exit USEREXIT_SAVE_DOCUMENT.
          FORM USEREXIT_SAVE_DOCUMENT                                   *
          This userexit can be used to save data in additional tables   *
          when a document is saved.                                     *
          If field T180-TRTYP contents 'H', the document will be        *
          created, else it will be changed.                             *
          This form is called at from form BELEG_SICHERN, before COMMIT *
    FORM USEREXIT_SAVE_DOCUMENT.
    Thanks,
    Naren

  • Adding code in std. user exist

    Hi,
    I want to add some code in USER EXIST,
    the include program : RV60BFZA ,  is  a include program which is use in Function Pool program SAPLV60B
    now in  RV60BFZA  there are many usereixt  and in user exist
    FORM userexit_fill_xkomk1.
    ENDFORM.                    "USEREXIT_FILL_XKOMK1
    I want to add code                           rule_new_cancel = 'A'.
    will you please giude how to add this code in the user exist,  I have never work on uer exist.
    regards,
    zafar
    Moderator Message: These are NOT training forums. Nor are they an alternative for proper classroom trianing.
    Edited by: kishan P on Dec 6, 2010 1:52 PM

    Hi Ashok,
        Thanks for your reply,
    I follow the stpes given by you  when I click on create enhancement it is giving a pop up box for selection of DECLARATION  or Code then I click on code  then again it is displaying on epop for the selection of enhancement implementation and Pack,  now there are many pack in this,  so what to select and proceed,  what is effect of this.
      regards,
       zafar

  • BADI/User Exit/BTE for updating Bar code in FI Invoice posting

    Hi,
    We have a requirement to update the bar code value in the table BDS_BAR_IN, once the FI invoice is generated. This is an inbound. I tried, but didn't find any user exit/BADI/BTE to do the same.
    Basically, I need to get any of these enhancement points where I can update bar code with the generated FI document number.
    Would appreciate your help.
    Thanks
    Itishree.

    Hi,
    Pls check if any of the following is good for ur scenario;
    BBPIV001  User Exits EBP Invoice Verification
    EBIA0019  IS-U: Customer-Specific Invoice Comparison
    IDCP0001  Customer Data for Printing Prenumbered Invoices
    J_1ASD06  User-exit invoice reference in billing document (SD)
    LMEXF001  Conditions in Purchasing Documents Without Invoice Receipt
    LMR1M001  User exits in Logistics Invoice Verification
    LMR1M003  Number assignment in Logistics Invoice Verification
    LMR1M004  Logistics Invoice Verification: item text for follow-on docs
    LMR1M006  Logistics Invoice Verification: Process XML Invoice
    MCBR0001  INVCO: Statistics update from invoice verification, valuatn
    MCP20009  Extrapolation of Invoiced Sales for OTB
    MCS60001  SIS: Statistics update, invoices
    MRMH0001  Logistics Invoice Verification: ERS procedure
    MRMH0002  Logistics Invoice Verification: EDI inbound
    MRMH0003  Logistics Invoice Verification: Revaluation/RAP
    MRMN0001  Message output and creation: Logistics Invoice Verification
    NBILL003  IS-H: Case-Related Invoice Processing
    NEBILL00  IS-H: Function Exits for Estimated Invoice
    NPRI0001  IS-H: User exits for invoice printout
    NPRISG01  IS-H: Function Exits for Invoice Print SG
    OICM0001  Exit for IS-Oil Repricing at Invoice Verification
    PCA00004  Check valuation for invoice verification with transfer price
    PCA00005  Check valuation for invoice verification with transfer price
    V54C0004  Shipment Costs Processing: Determine Loc. for Tax Invoice
    BADIs
    /CWM/DEFAULT_VAL_IV             BAdI for Default Logic in Invoice Verification
    /DSD/SL_FSR_INV_PROC            DSD Final Settlement Run: Processing Invoice Data
    /SAPDII/SPP_INV_XML             XML file download for invoice details
    /SPE/CRM_SUPPL_IV               Supplier Invoice
    BADI_INV_PRTDATA                Customer Exit for Data Procurement for Invoice Printing
    FI_GET_INV_PYMT_AMT             BAdI for determining the payment amount for an invoice
    FMFG_IMPROPER_PANEL             Additional Processing of Improper Invoice Panel
    ICL_INVOICE                     BAdI: Changes to Invoices or Collective Invoices
    INVOIC_FI_INBOUND               BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
    INVOICE_UPDATE                  Business Add-In: Logistics Invoice Verification
    ISH_DOP_DEDUCTION               IS-H: Deduct Down Payment From Invoice
    ISH_FILL_RNF49                  IS-H: Fill Form Structure RNF49 (Cllct. Invoice Cnc. Doc.)
    ISH_FILL_RNFP2S                 IS-H: Fill Form Structure RNFP2SE (Collective Invoice Items)
    ISH_INV_CANCEL_CHK_1            IS-H: Check Whether Invoice Can Be Canceled
    ISH_INVOICE_CHECK               IS-H: Check Invoice Creation
    ISH_PRINT_INVOICE               IS-H: Invoice Print
    ISJP_ITEM                       Invoice Summary Items
    MB_CIN_MM07MFB7_QTY             Proposal of quantity from Excise invoice in GR
    ME_CIN_LEINRF2V                 BADI for LEINRF03 excise_invoice_details
    MR_CIN_MM08RFS0                 BAdI for carrying excise duty to carry invoice verfication
    MRM_RELEASE_CHECK               BAdI for Additional Checks Before Invoices are Released
    OIA_ERS_ENHANCEMENT             Invoice split possibility
    SS01_BADI                       Payment Statistical Sampling BAdI - Invoice Batching
    VLC_INIV_EXECUTE                Execute Action INIV (Create Incoming Invoice)
    VLC_OUIV_EXECUTE                Execute Action OUIV (Create Outgoing Invoice)
    WB2_ALV_IV                      Change ALV Data from Invoice Verification Documents
    WB2_SALES_INV_INPUT             BADI to modify input data for sales invoice
    WB2_SALES_INV_OUTPUT            BADI to get data from created sales invoice
    WOSCR_EXI                       SAP Retail Store: Vendor Invoice
    Regards,
    Renjith Michael.

  • Bar code for materials.

    Hi Friends,
                      Our client wants to maintain bar code for the vendor provided material no.s. For vendor materil no.s we are using the old material numbers.so please explain how to use thisbar code for goods reciept, issue etc...please reply....

    Hi Prasanna
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool. 
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research - 
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes. 
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor. 
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    Tips by (Ravikumar Kandikonda : Published on SAP-IMG)
    Thanks
    Kalpesh

  • 3D Bar code printing

    Hi,
    I was asked to print sample documents using 3D Bar code. Does anyone have any idea on this? Any hints would be really helpful.
    Thank you,
    Chandra

    Hi
    Do u want it in scripts or smartforms???
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool. 
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research - 
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes. 
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor. 
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    Only Se71 is used to create a barcode
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    Check this link
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    http://www.erpgenie.com/products/synappcode.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
    New barcode printing for smartforms
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    http://www.zebra.com/cpgn/pdfs/SAP_universal.pdf
    Reward all helpfull answers
    Regards
    Pavan

  • Bar code in Smartforms

    Hi experts
    can u plz explain me how to bring bar code in to smartform like invoice  credit notes
    step by step procedure
    regards
    Siri

    Hai Sireesha
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Details information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research -
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    Barcode Standard
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Thanks & regards
    Sreenivasulu P

  • How to create Bar code

    Hi,
    How to create Bar code?
        Explain the steps.

    Hi,
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research -
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    <b>To Create a Bar code Prefix</b>
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Regards,
    Padmam.

  • COST GL account when goods issue - enhancement or user exist

    Hello SAP exports,
    There is a requirement from F&A department for different COGS GL account based on Customer Account Assignment Group value when goods issues (GI) (goods movement).  Customer Account Assignment Group field name is KNVV-KTGRD.   The solution is NOT possible for standard SAP SD (pricing procedure) / MM (T-Code:OBYC with GBB).    Therefore, I am searching solution for enhancement.
    the requirement is like following:
    KNVV-KTGRD                                   COGS GL account at goods issue
    01                    Domestic                   818100
    02                    Export                       818200
    03                    Testing - sample         818300
    04                    Testing - VOM            818400
    05                    Franchise                   818500
    Can you please let me know what and how this can be resolve by enhancement or user exist?
    Thank you.
    Kind Regards,
    Sylvia Chen

    Hello,
    The requirement is to provide different COGS GL account based on the Customer Account Assignment Group value(KNVV-KTGRD) when SAP performs goods issue.  for example, movement type 601,
    This means, when company ships goods to differnt customers, then SAP should generate different COGS GL account.
    for example, when company ships goods to customer account assignment group '01' (Domestic customers), then SAP should generate COGS GL account 818100.
    when company ships goods to customer account assignment group '02' (export customes), then SAP should generate COGS GL account 818200. 
    when company ships goods to customer account assignment group '03' (Testing - sample customers), then SAP should generate COGS GL account 818300. 
    the logic is following:
    KNVV-KTGRD              COGS GL account at goods issue
    01 Domestic                 818100
    02 Export                     818200
    03 Testing - sample      818300
    04 Testing - VOM         818400
    05 Franchise                818500
    I am not good at user exist.  
    Can you please provide solution with step-by-step guide?
    Thank you.
    Regards,
    Sylvia Chen

  • How to add bar code in report(se38 develop)

    hi all,
    as a existing abap report which print out the report with a lot of special logic, so i want  Use abap report program to print bar code instead of smartforms . how to process?
    thanks.
    james

    Hi Kumar,
    You cannot write custom code (0% coding) in an Report Writer/Painter report. The code is generated by SAP while generating the Report group. The only place in a report writer report where you can write very minimal code is at varables level or formulas inside reports.
    At the report group header level, there is provision to provide authorization group. Try that.
    Regards,
    Subin John.
    Edited by: subin john on Mar 24, 2011 10:36 AM

  • How to print BAR code in SMART Form

    Hi All,
    I have the requirement to print BAR CODE in Smartforms.
    For this, I create a character format with Bar code in style forms and create a text element in Smart form and associate bar code character format with this text element.
    Now when I look the print preview for the data, then it shows me data in bar code format but not in right format i.e. its shows me all the similar block in bar code.
    If you look the bar code in SAP script, its always show you bar code with similar block, but in SMART FORM it will show you exact bar code; as in SAP Script, bar code is generated at printer end and in SMARTFORM bar code is generated as graphic in SAP and then sent to printer for print.
    PLease let me know, why in SMARTFORM its not showing BAR CODE in correct format in print preview.
    Thanks
    Piyush Mathur

    Hi,
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    reward if useful
    regards,
    ANJI

  • User Exist or BADI  to restrict cancellation of Excise Invoice..!!!!!

    Hi,
    After Creation of Commercial Invoice or MIGO the excise invoice should not be canceled , We are using following doc flow for creation of excise invoice
    Delivery - - > Proforma Invoice - - > Excise Invoice - - > Commercial Invoice.
    So what should we use ( User Exist or BADI ) to restrict cancellation of Excise Invoice ???
    T-code : J1IIN
    Ankesh

    I think you are very much aware of forum rules and still posting
    duplicate threads.
    Do you want to be a guest of julius ?

  • Checking to see whether a user exists in a Windows Active Directory

    I have a little java applet that has to run through a large list of users, and for one of its tasks, it has to check to see whether that user exists. Mostly this is the same as running with local users, with the one exception that I can't just check to see if a home directory exists.
    Right now I am checking the return code from "net user <username>", but executing this program for every potential user is extremely slow.
    Are any java facilities to deal with users on the local system? If not, does anyone else have any suggestions?
    Also, a note for any responses- I'm using java to get around the lack of any easy way to set up a good scripting environment on Windows. I have a completed tool, and I don't want to rewrite it.

    <sarcasm>
    I seem to remember this service - what's it called? Ah, Google. Yes.
    </sarcasm>
    Try http://www.google.com/search?q=java+active+directory+query

Maybe you are looking for