Assigning a format to an output type while printing Hu label;s

Hi Everyone,
I am trying to see if there is a way to attach a format type to a output type which we are using to print HU barcoded labels...
we have about 6 different formats one for a customer... so when we ar desigining an output type we need to figure how to append this format type to the custom Output type we are developing....
I have looked at the handling units... there is a method to a assign bar code profile and formk to an output type... i dont have anything that allows me to embed a format type into an output type.... please help

Variable "elist" is a collection of record, so you access an individual field of a given collection element by specifying the field name, not its position :
DECLARE
  SUBTYPE t_rec IS TEST_TABLE%ROWTYPE;
  TYPE records_table IS TABLE OF t_rec;
  elist RECORDS_TABLE;
  CURSOR table_cursor IS SELECT * FROM TEST_TABLE WHERE rownum <= 20;
BEGIN
  OPEN table_cursor;
  FETCH table_cursor BULK COLLECT INTO elist;
    FOR j IN 1..elist.COUNT
    LOOP
      elist(j).value1 := elist(j).value1 + 1;
    END LOOP;
  CLOSE table_cursor;
END;Your second example is different as you're dealing with a collection of collections.

Similar Messages

  • Assign the routine against ZY06 output type in output procedure

    Hi
    I am creating one routine for Tcode VOFM and requirements Output control and I have to assign this reoutin against ZY06 output type in output procedure.Now How can I assign this to output type in output procedure?
    Can anyone tell me all procedure.
    thanks

    hi patel,
    chck with this link
    VOFM Transaction
    Reward with points if it is helpful.
    Regards
    Alfred

  • How/ where to  check output type while saving sales order for confirmation

    Hi All,
    Could you anyone pls let me know How/ where to  check output type while saving sales order for confirmation.
    Present scenario : when the Sales Order is created the Order confirmation is sent irrespective of credit block of the sales order.
    Requirement : Order confirmation “ZA00” sent to the partner only for those Sales orders which does not have credit block and ZCLE sent to the partner if the order has credit block.
    Now i want to know where exactly to check the output types "ZA00" and 'ZCLE' based on the credit block to send the confirmation to partener.
    Quick help highly appreciated......
    Preetham

    Hi Santosh,
    Thanks for the info. But here in this case I have to send the confiramation based on credit limit check. If credit limit check exceeds "ZCLE' should go as confirmation else 'ZA00' should go as confirmation.
    Where can we check the credit limit whether it exceeded or not. My doubt is whether it is config issue or do we need to write code user exit or routine to send the specific output type for confirmation.
    Thanks & Regards,
    Preetham

  • Exit/badi to restrict output types while creating PO

    Hi,
    Please let me know how to suppress output types while creating/saving a PO. I need to find an exit/badi where I can get all the output types with status vstat = 0. Before saving the PO, I need to manipulate the nast records/output types, so that only PO will be processed successfully for those output types which I need.
    Please help me on this...
    Regards,
    Vikram.

    Hi Vikram,
    Output types are normally handled in configuration. In the configuration you can determine which output types are valid for the object in question and for the function (create or change).
    Also in the configuration you will be able to maintain requirements (coding), i.e. specifiy conditions when an output type should be surpressed or not ->Tx OMFT.
    Discuss this with your MM consultant.
    KInd regards,
    Robert

  • List of script and smart forms(except TNAPR) with output type or print prog

    How to find out List of SAP SCRIPT and SMART FORMS (except TNAPR)with output type or print program..I like to chk in output type WMTA  whch form should use.kindly help on this

    Hi
    WMTA is special msg and doesn't create any print: so you can't find a sapscript or smartform to link to it.
    WMTA is a message for delivery, so you can find it by NACE trx or TNAPR table (It's the same): infact here it can find only all messages of logistic modules (SD & MM).
    The routine ENTRY of RLAUTA20 is called by WMTA and creates a Transfer Order (for WM, Warehouse Management, module), so if you need to create a print for that msg you need to change prg RLAUTA20,
    Max

  • Output type to print pending schedule lines only

    Hi,
    Is there a standard Output type to print only pending schedule lines thru ME9E, with the respective delivery date, schedule Qty, delivered Qty and pending Qty,
    Please revert.
    Thanks & Regds,
    Ritesh

    Check this link:
    output type is used for sending / printing "schedule lines" against sch agr
    Re: Email output of PO
    Edited by: Afshad Irani on Aug 30, 2010 12:26 PM

  • Using output type ET01 for Material Label

    Hello,
    We are looking to implement a label for Deliveries through various processes which include manual and MIGO.
    We have already implemented the GR label using the output type WEE1, however, we need to implement another label for Goods Issue as well.
    From our understanding we need to use output type ET01 for delivery labels. However, we need inputs on how to implement this output type. And can we also print this output form through MIGO, as I understand message is determined only at the delivery level which comes after MIGO?
    Please correct me if the output type ET01 is not meant for deliveries/GI label.
    Thanks,
    Anil Japa

    Hi Anil,
    Can you check this link MIGO
    Regards,
    Madhu.

  • Output type for printing payment voucher

    Dear freinds,
    Can any one tell me what is the output type for printing Payment Voucher.
    Thanks & Regards,
    Santosh.

    For FI config will be done by the functional team you may not see it in NACE tcode, do consult your functional consultant...
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • Want to assign output type while posting document in MIGO

    Hi All,
    I want to assign output type(WEE1) while posting document in MIGO txn.
    It can be done through configuration but it won't apply in my case as I have some conditions to put as well.
    If anybody could suggest for any User Exits/BADI/Enhancement spots for the same would be of great help.
    Thanks in Advance.

    Hi
    There are many reasons why an update could be terminated, not
    just
    number ranges.
    Go to transaction SM13.
    Enter the date and user ID if known and find your transaction that was
    terminated. Drill-down until you find which function (line) caused the
    termination and double click. That should help you determine why the update failed.
    update was terminated
    regards
    kunal
    Edited by: kunal ingale on Nov 7, 2008 7:03 AM

  • Enter Output Type Each Type while Printing Invoice

    Dear All,
    Have searched in the forum already for a proper answer but could not find one.
    The issue is, while printing the invoice, the system is not automatically determining the output type even though all the output determination configurations have been made.
    I have to manually enter the output type by entering into the billing document header data.
    Kindly let me know if I have missed on any configuration during output determination.
    Thanks and Regards
    Adithya

    I hope you did what mentioned you.
    If you have doubt, whether the output type is getting determined properly or not.
    Use Tcode VF02.
    If Header Output Type -
    select Goto option from Menubar - Then Header - Choose Output.
    Accordingly, If the output type is Item related then
    select Goto option from Menubar - Then Item - Choose Output.
    Then Change: Output screen in your billing doc(VF02), in menubar select Goto - then choose Determin. Analysis.
    In output determination procedure in Analysis Output screen, track your desire output type and its determination status.
    Check routine for requirement against output type in:
    1. Output determination procedure
    2. In access sequence for the output type, check routine against access/condition table.
    Finally, accordinly determine output condition record by using TCode VV31 for the desired output type.
    Further, check routine for requirement like 62 is assigned against output type in:
    1. Output determination procedure
    2. In access sequence for the output type, check routine against access/condition table.
    Also, have look on one my recently discussed SD thread:
    - Re: Output to be blocked for Billing documents, if not released to Accounting
    Regards
    JP

  • Error while triggering program through output type while saving invoice

    Hi,
    I have a scenario where in my Z program needs to be triggered when saving a invoice.
    For that we have attached out Z program to output type which gets picked while saving invoice.
    In the Z program we have written the entire code in Form Entry subroutine.
    In the Z program we have called a FM "SD_SALESDOCUMENT_CREATE", to create a sales order.
    After sales order is created we have used a Commit statement.
    If I run the Z program individually, Salesorder gets created perfectly.
    How ever as per scenario when trying to save the invoice, output type gets picked. But program doesn't get called.
    and when I go to the saved the invoice I get the following error immediately:
    "Error document - Update was terminated"
    I have found that the problem is with COMMIT statement through transaction SM13.
    Can anybody help me with this. I cannot save the sales order without COMMIT, so I have to use it.
    Thanks in Advance,
    Rohan.

    Hi Rohan,
    I have worked on almost similar kind of requirement as you. 
    "Error document - Update was terminated" is because saving of invoice is done in u201CUpdate Tasku201D. Again in that work process, FM also calls for update task, which is not allowed and give short dump.
    Here are two different approaches to cope up in this scenario.
    1.Call FM in NEW TASK.
    Calling Function module in new task will assign new work process and will use different update task.
    Use:
    CALL FUNCTION 'SD_SALESDOCUMENT_CREATE' STARTING NEW TASK 'task'
    This will not give update termination error.
    Call of FM in this way will work, but as this will be asynchronies call you will be not able to get status/message out of the FM call result.
    If capturing return message is mandatory, use below approach
    2, Process output type via Job
    Set output type, dispatch time u201CSend with periodically scheduled jobu201D in u201CDefault valueu201D tab.
    Run batch job for program u201CRSNAST00u201D with appropriate variant.
    Please let me know if you need any further details.
    Best Regards,
    Nisarg

  • Email Output type : No Automatic trigger of output type while saving doc.

    Hi Gurus - To trigger an email from the output type, I've configured a output type with medium as 5(external send) with communication strategy and created condition records with medium as 5 to trigger immediately.
    While creating corresponding document, the output is not automatically determined, it required to manually feed the output type every time. Can you please provide if any settings were missed to trigger immediately!!
    In Output analysis showing a message as "No print data determined for the communication strategy"
    Steps:
    1. Configured the output type with Medium as"5" and associated partner functions.
    2. Created the condition records with medium as 5 and trigger immediately.
    Thanks,
    Sree

    Hi ,
    while maintaining condition record for output type when you click on communication method, give logical destination as 'LP01'.Hope this will solve.PLease let me know if you have any issues on this.
    Thanks and regrads,
    Rajeshwar

  • Output type - default printer

    Hi All,
    I have created an output type and condition records and set the default label printer as "LOCAL" which is assigned to a ZXXX
    label printer.
    But when delivery document is created the system is not defaulting to LOCAL as the default..I dont know if I need to add
    something else.
    Please help.
    Meghna.

    Hi Meghna,
    You have to also set your default output device in your User Profile -> Own data.
    On any SAP screen, Goto -> System -> User Profile -> Own Data -> Here go to Defaults tab and set your Output device  as 'LOCL' in the Spool Control sub screen. You can also set other parameters like Print Immediately and delete the spool once Outputted.
    Hope this helps...
    Regards,
    vinod.

  • Default two ouput types while printing Purchase order

    Hi,
    In MN04 - Create Condition Records  I am not able to enter two output types  - print and email for the same vendor in Purchasing Output Determination: Doc.Type/Purch.Org/Vendor.
    I can default one output type and add the other one when doing the purchase order. But
    is there a way to default two purchase output types?
    Sincerely,
    Ketan

    Hi Jurgen
    I had deselected the 'Exclusive indicator' but still it does not work. The PO message screen shows up NEU but does not show NEU2. Though in the outout determination analysis for both the output types: NEU & NEU2, it shows output found.
    My configuration is as follows:
    Procedure RMBEF1:
    10     1     NEU
    20     1     MAHN
    30     0     NEU2
    Access Sequence (Exclusive Indicator not selected)
    5     27     Purchasing Output Determination: Purch. Org./Vendor for EDI
    11     25     Purchasing Output Determination: Doc.Type/Purch.Org/Vendor
    20     26     Purchasing Output Determination: Document Type
    Both NEU & NEU2 is assigned to Access 11: Doc.Type/Purch.Org/Vendor
    Hi Kiran,
    SAP would not allow me to enter the same output type 'NEU' twice in the the same access "Purchasing Output Determination: Doc.Type/Purch.Org/Vendor"
    Sincerely,
    Ketan

  • Custom Report to list Output type to Print Program link

    Has anyone achieved this? Can anyone give hints as to the tables where I would find this information?

    Hi ,
    table  TNAPN contains the Output Control: Output By Partner Function information..
    select KSCHL  '' output type
    from tnapn
    into table itab
    where    KAPPL = 'EF'  " application Purchase Order
    and       NACHA = 1  .  " transmission medium for print output
    gives the list of 'Output Types' for application Purchase Order and  for  transmission medium -print output.
    hope it helps.....
    Regards.

Maybe you are looking for