How to process an output message after pick and pack in LM46?

Hi,
I've implemented the User Exit to print the HU using LM18, it's working great but no output message is processed (and indeed, the sticker is printed on my own printer instead of the one defined in my Z custom output message).
I used LM46 to pick and pack the HU, am i missing a step?
In other words, how to process my custom output message after the pick and pack?
Is there some code I must add in the LM18 User Exit?

You know, in a user exit or a BADi you can access any variable of the program you want.
Just find what which program calls the Exit User, put a break-point in it, and find the variable you need to access.
Then add this kind code in your Exit :
DATA: l_var TYPE ....
FIELD-SYMBOLS: <fs_var>    TYPE ANY.
ASSIGN ('(PGMNAME)variable') TO <fs_var>.
IF sy-subrc = 0.
  l_var = <fs_var>.
ENDIF.
Same thing for a table :
DATA: lt_var TYPE TABLE OF....
FIELD-SYMBOLS: <fs_var>    TYPE ANY.
ASSIGN ('(PGMNAME)table[]') TO <fs_var>.
IF sy-subrc = 0.
  lt_var[] = <fs_var>.
LOOP AT lt_var ASSIGNING ...
ENDLOOP.
ENDIF.

Similar Messages

  • How to re-run output determination after goods issue through idoc

    Hello,
    i've got a question about output determination. We are currently in a process to automate picking, packing and goods issue through a 3rd party software. The software creates DELVRY03-Idocs including picking, packing and goods issue-information. Picking, packing and goods issue work just find and after submitting the idoc, the delivery is updated as needed.
    The problem arises when it comes to printing the shipping document on the printer belonging to the picking station that just processed the delivery. To determine the correct printer, the external software includes the picking station number inside the idoc. A user exit in idoc_input_delivery puts the number (3 digits) into likp-traid. The customizing for using this field inside output determination is complete and seems to be working.
    The problem is: as the number of the picking station is not known before goods issue, the LD00 message must not be generated before goods issue. I used the appropriate condition insinde the message scheme, the message is not generated until goods issue is complete. After processing the DELVRY03-Idoc, the message should be found and generated, but it isn't. When i take a look at the delivery after submitting the idoc, goods issue is complete, picking and packing is done - and no sign of an header message of type LD00. First i thought about a misconfiguration inside my customizing for output determination, but when i access the delivery via vl02n (change delivery), output determination seems to be processed again and without making any changes or actions, LD00 is generated and waiting for processing. After saving the delivery, LD00 is processed and the shipping document is printed exactly where it should be.
    So, as my customizing seems to work and everything else around idoc processing doesn't make any problems either, i conclude that, after processing the idoc, R/3 just needs a little kick to re-run the output determination, find the now fitting condition for LD00, find the appropriate entry in the condition table and print the document.
    I already tried report rsnast00, but this one just seems to run already created messages.
    Any ideas how to automate this little "kick in the butt"?
    Thanks in advance!

    I'm working on a similar issue with ws_delivery_update. I'm not using the IDOC as you are, but I'm using the function in a program of mine to PGI the delivery, but the output isn't being added to the delivery. I've tried to run the function twice as you suggested, but that doesn't seem to work. Do you have any suggestions or ideas on things to try?
    Thanks,
    Eric

  • When I use dynamic link how do I continue using it after closing and reopening a project?

    Hi
    Im very new to AF
    I cant seem to find the answer to this in any tutorials.
    When I using dynamic link, how do I continue using it after closing and reopening a perm pro project?
    Thanks
    Philip

    Hi Kevin
    Thank you very much for such a quick reply.
    I actually figured it out. As usual it was fairly obvious solution.
    I opened both project at the same time.
    Thanks again and sorry for waisting your time.
    R
    Philip

  • How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    Darrell,
    Thanks for this response. After I posted mine, I saw that the resetForm JavaScript method is documented as being supported starting with version 10.5: http://www.adobe.com/devnet-docs/acrobatetk/tools/Mobile/js.html
    But I haven't been able to get it to work. Can you clarify if support was indeed added and if it works for you?

  • Picking and Packing manager

    Hello everyone,
    A customer uses the Pick and Pack functionality of SAP Business One to process the deliveris for up to 100 sales orders at a time (an average of about 400 lines in the picking list). In version 2007A SP 01 PL08 this function consumes a lot of memory, it takes a long time to deliver results and sometimes it causes the system to crash. I checked the SAP notes related to the Pick and Pack tool and found that this is indeed a problem but I am not certain whether it has been solved for good. According to what I got from the notes, the version my customer uses should not have this problem.
    I upgraded the customer's database to 8.8 SP 00 PL 13, moved it to a bigger server and we ran several tests. The system works fine with the usual load (100 orders, 400 lines) but we ran a test where the 100 orders contained over 2000 lines and the system crashed displaying a message about insufficient memory.
    What I would like to know if the performance problems related to the Picking and Packing manager have been solved, if so in what circumstances, what are the maximum number of lines or sales orders that SBO can handle without crashing, and whether there exists a particular process that could be followed to ensure that the tool presents the best performance.
    I would greatly appreciate any help with this issue.
    Thanks in advance and best regards,
    HLB
    PS. The server that we are working on with version 8.8 are the following:
    2 Intel Xeon Quad processors (2.6 GHz)
    12 GB RAM Memory
    around 300 GB hard disk
    Windows Server 2003 R2 (64bits)

    Hi,
    I suggest you to use the server that have minimum 16 GB memories.
    The SAP B1 can run either in 64 bit or 32 bit servers. In this case, it is better to use 64 bit.
    So, SAP can run in such memories.
    After the server spec is upgraded, you must upgrade the B1 version from 13 to 16. Let see if it solved the issue.
    We have B1 customer that have more than 1000 rows in its PO and processing 200 POs everyday but have no problem in the performance since they use sun server quadcore processors and 16 gb memories
    JimM

  • Partial delivery in Pick and Pack Manager

    Hi All,
    I have two issues in Pick and Pack Manager,
    I am not able to pick partial quantity in Pick and Pack manager or Pick list, even if Sales order is set to "Allow Partial Delivery".
    I have a sales order with 1 inventory item and 1 non-inventory item. When I release the order for picking only inventory item is shown to be picked that is fine. After the order has been pick and I create Manual Delivery or Automatic Delivery, if the order is set to "Allow Partial Delivery" then Delivery is created but the non-inventory item Qty is shown as zero on delivery. When the order is not set to "Allow Partial Delivery" then system gives a message "Order cannot be copied partially". Why is the Qty not being copied to Delivery? Is this patch level issue?
    Document setting for Pick List:
    Automatically copy all open rows from the sales order or reserve invoice - Is ticked
    Consider Sales Document Settings for Partial Delivery in the Pick and Pack Process - Is ticked
    SAP Business One 9.0 PL: 09
    Am I missing any step.
    Thanks
    Varun

    Hi,
    Please refer SAP note:
    1835901 - Cannot partially deliver multiple Sales Orders from Pick
    List
    Thanks & Regards,
    Nagarajan

  • RF Pick and Pack delivery sequence going by material rather than bin locati

    Hi All,
    During picking and packing through RF we are entering the TO number and after that packaging barcode. Everything is working fine but transaction has some kind of logic where its taking the warehouse picker around different aisles based upon material rather than bin location.
    Transaction for wave/discrete picking doesn't have this problem.
    Can someone please advise how to fix this?
    Thanks
    UT
    Edited by: Csaba Szommer on Feb 6, 2012 8:37 AM

    Hi Frenchy
    TO sort profile is setup for picking correctly but nothing for picking and packing. For some reason picking sort profile is not kicking in when using picking and packing.
    Any other suggestions???
    Thanks

  • RF Pick and Pack delivery going by material rather than bin location

    Hi All,
    During picking and packing through RF we are entering the TO number and after that packaging barcode. Everything is working fine but transaction has some kind of logic where its taking the warehouse picker around different aisles based upon material rather than bin location.
    Transaction for wave/discrete picking doesn't have this problem.
    Can someone please advise how to fix this?
    Thanks
    UT

    Hi Frenchy
    TO sort profile is setup for picking correctly but nothing for picking and packing. For some reason picking sort profile is not kicking in when using picking and packing.
    Any other suggestions???
    Thanks

  • Orders for On-hold Customers in Pick and Pack

    If a Customer is placed on hold after an order is loaded, then the order appears to flow through the pick and pack process until you attempt to add the Delivery, when you are prevented.
    Is there any way to prevent orders for Customer who are on-hold from appearing within Pick and Pack Manager?  We are wasting time picking orders and getting to the despatch stage only to find out that the Customer is on hold so we can't despatch the goods.

    Thanks Gordon, I finally found the time to follow your advice.
    In case it is at all useful to anyone else the change I made to Transaction Notification was as follows
    IF     @transaction_Type IN (N'A',N'U')
    AND     @object_type = 156
      BEGIN
         IF EXISTS (
              SELECT          T1.AbsEntry
              FROM          OPKL T1
              INNER JOIN     PKL1 T2
                   ON     T1.AbsEntry = T2.AbsEntry
              INNER JOIN     ORDR T3
                   ON     T2.OrderEntry = T3.DocEntry
              INNER JOIN     OCRD T4
                   ON     T3.CardCode = T4.CardCode
              WHERE          T1.AbsEntry = @list_of_cols_val_tab_del
                   AND     T4.frozenFor = 'Y'
           BEGIN
              DECLARE          @DocEntry int
              SELECT          TOP 1 @DocEntry = T3.DocEntry
              FROM          OPKL T1
              INNER JOIN     PKL1 T2
                   ON     T1.AbsEntry = T2.AbsEntry
              INNER JOIN     ORDR T3
                   ON     T2.OrderEntry = T3.DocEntry
              INNER JOIN     OCRD T4
                   ON     T3.CardCode = T4.CardCode
              WHERE          T1.AbsEntry = @list_of_cols_val_tab_del
                   AND     T4.frozenFor = 'Y'
              SELECT          @error = 156,
                        @error_message = 'Customer is on hold for order ' + CAST(@DocEntry AS varchar(10)) + ' - picklist cannot be progressed (SP_TransactionNotification)'
           END
      END

  • Pick and Pack Speed Issues

    Currenly we upgraded from PL14 to PL29 in which we have see a great speed in most functions.
    We have a separate location that connects to the database with a T1 GB connection. They have had a few issues with connection.
    The customer service department runs the Pick and Pack Manager every day to see what is open based on specifc items.
    Prior to the update it took 10-25 seconds to run the query, now after the update it takes 2-4 minutes to run.
    Has anyone experienced this issue and is there an known fix?
    Thanks,
    Craig

    Dear
    We have some known issue about pick and pack. don't know if they are relevant. here are the notes regarding pick and pack performance issue. some of them are still under processing and not released to customer.
    NOTE 1160665 - Performance problem when opening Pick and Pack manager
    *Symptom of this issue: *
    You open the Pick and Pack Manager window (Inventory -> Pick and Pack ->
    Pick and Pack Manager) and you run it according to certain selection
    criteria.
    It may take the window a long time to open even when the number of
    relevant documents for the chosen criteria is relatively small.
    You may check July Patch of 2005 SP1 to see if the note is included and issue is fixed.
    NOTE 1170844 -  Memory leak when running the "pick and pack manager"
    NOTE 1023627- Performance in Pick and Pack Manager and Pick List
    Best Regards,
    Xiaodan AN

  • Pick and Pack Manager

    Hi Expert,
    One of our clients has a unique situation.
    - Few sales orders were generated for a Business partner
    - Business partner was put on a hold
    - Client using Pick and pack manager to managing the picking list
    Question: How can one prevent picklists being released for this business partner who is on hold.
    Any suggestive solution will be highly appreciated.
    Thanks
    Tony

    Hi Anthony,
    the pick and pack manager do not create a document. It only create a picklist or something comparable. So B1 got not a process for proving if a bp is already frozen or not.
    If you need such a verification, you need to use the SDK or perhaps - i don't exactly know - you can use SP-Transnotification.
    Regard Steffen

  • Picking and Packing through handheld devices in B1

    HI
    The distribution client has already Handheld devices which he wants to integrate to B1. normally in B1 picking list is created and than goes to packing list and than its ready for the dispatch.
    He wants to use those handheld devices when picking those items it reflects in the system that certain items against that picking list have been captured and now can be packed.
    what are technical information is required for this and where wqe can do it.
    kindly reply.

    Sohail,
    There are a few things to consider as your client ventures into this integration project.
    All handheld devices in some way are linked to a base system. First investiagte how the handheld is being currently used.  The data from the handheld should be getting transferred to some base system / base station.  This is the point from where you should plan your integration with SAP B1.
    In SAP, you will need to use the Pick and Pack process in order for this to work right.
    The Pick and Pack process stores information on Orders Released to pick on a table which the information from the handheld cam be used to update as to What has been picked.
    Then the regular process of copying the Picked items to Delivery and Delivey to AR Invoice will happen in SAP B1.
    Suda

  • Negative Qty in Pick and Pack Manager

    Hi all, I've the following problem with SBO 2005A, is there someone who can help me?
    I need to print pick lists even if "qty available to release" is less than the open qty.
    Scenario is when I have to provide information to the wherehouse about sales order to prepare with goods already arrived but not yet registered in Sap.
    In other words: in the morning I receive goods from my supplier, in the late morning I must issue sales orders. I would need to print pick lists before acquiring goods (in Sap).
    Problem is that Sap checks available qty without considering Purchase Orders.
    example is:
    regarding article ABC
    qty in stock = 4
    qty in a PO = 100 (delivery date today)
    qty in a Sales Order = 30 (delivery date tomorrow)
    I would like to print a pick list with qty 30. Total available could be 74 (100+4 -30) or -26, it doesn't matter.
    At the moment the answer I have when I try to "allocate" 30 pieces in Pick and Pack Manager screen is "Released
    quantity exceedes available quantity [message 81-13]
    Is there a way to make it working as I want?
    Thanks in advance

    I have the same problem at my client site and I think we need to rethink the logic for the Pick and Pack Manager.  What if inventory quantity is wrong?  Or, what if you need visibility of the whole Sales Order in the warehouse and the shipping people do not have access to the Sales Order module.  I suggest you allow the user to print Sales Order Items on the Pick List that, according to Sap, does not have availability.  The Picker could find sufficient quantity on the shelf or the order may need to be partially picked and staged until the rest of the order becomes available. 
    If you check the Block Negative Inventory box in Document Settings, then prevent the zero quantity item from appearing on the Pick List.

  • Modified Pick and pack screen

    1-I create a check box on the Pick & pack
    selection screen. I'm using the 'top' property to position my check box at
    the same horizontal level than the 'expand' button. But the check box
    appears much higher than I expected. When I check the 'top' property of
    the check box and the 'expand' button, I have the same value
    nonetheless. Am I forgetting something ?
    2-I want to modify the 'pick and pack' manager
    screen to have the same selection of fields in the matrix but based on a
    slightly different criteria. Is there an easy way to do that ? I would rather
    avoid to build a whole new screen. So I have tried to connect the matrix
    to a user defined table, but I'm getting an error message:"Item - The item is
    not a user defined item"

    Hi Carl,
    1) What do you mean by "much higher then I Expected"? The elements should line up nicely by their top. A button is higher then a checkbox, so they will not line up at the center, btu at the top...
    2) First a note; there will be major changes for the pick and pack manager in the next release of SB1 (2006 version) so you might want to keep in mind that you have to rebuild everything in the near future.
    Concerning your problem; it's correct that you aren't allowed to change a system matrix. One solution could be to set the visability of the system Matrix to false, and add a own Matrix on top of it. Note that you have to create the neccassery functionality for that Matrix yourself.
    Hope this helps,
    Rowdy

  • Items are deleted from the Pick and Pack list.

    Hallo,
    one customer of mine has a problem with the pick and pack list.
    First the pick and pack process is done according the the standard process. Everything is fine. Customer prints delivery note and also the invoice.
    One day or two days later (it is no always the same) the items disappear from the pick and pack list. The ID of the list stays there but you cannot see any articel any more.
    Version: 8.81 PL08
    I would be very thankful for any comments.
    Franz

    Dear Gordon,
    thank you very much for the reply.
    No, we have no done any update at this cliente but since we are using the pick and pack functionality at this customer, we have this problem.
    Regards,
    Franz

Maybe you are looking for