Batch generation for delivery creation

Hi
My client wants to process orders in background and have the batch create deliveries based on those orders.  For this reason I have created a variant via VL10A and have assigned the following under User Role.
                                                                                ROLE         5001                                               0001   SCENARIO                                                                               
Traffic light                  2                                                  
   Rule (delivery qty)           1                                                   
   Select rule                   2                                                   
   Limit schedule line                                                               
   ListType                      1                                                   
   Layout                        1                                                   
   Header-item assgnmnt          1                                                   
   Expand                        N                                                   
   Split per sched.line          1                                                   
   List of blocked documents                                                         
   Stock details                 CO09                                                
   LogAfterDelvCreation                                                              
   Log by request                X                                                   
   Delete delivery mode          N                                                                               
F code profile              5001                            
    F code                      GET      PREPARE   SAMD                                                                               
AllowedDialogFCodes         0001                            
    F code                      &ABC     &XXL    VL01                                                                               
Dlv creation profile        0001                            
    Repeat Blocked                     100                      
    Maximum lines                        1                      
    Package Type                         1                      
    Max. no. of tasks                                           
    GroupParallelDelCr.                                                                               
Does someone have an idea whether the values are correct?
Thx
R
Edited by: RM on Jul 11, 2008 12:14 PM

You mean with a script on Unix?
http://www.dba-oracle.com/art_dbazine_bulk_loading_garmany.htm
overthere you can find some info about making a ldif-file with all the user-content.
this file can be used to load the users from batch in ldap.
besides that you still need the portal-profiles in portal itself.
http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwsec_api.html
this api gives some info about creating the users in portal (add_portal_user).
On metalink you can find some examples of packages for adding the users in batch from plsql, both in ldap and in the portal repository.

Similar Messages

  • Updating Batch Number while delivery creation from sales document

    Hi Experts,
         I have to write code inside user exit MV50AFZZ which updates batch number during delivery creation. Suppose I have a sales having more than one line items. Each line item have different material numbers, and one material number may have more than 1 batch number. And all these batch numbers have to be updated for their corresponding material numbers. Batch  number corresponds to LIPS-CHARG. So how we can maintain values for this field more than once for a particular material number?

    Hi Pankaj,
    Were you able to update the Batch Number?
    What is the function Module that you used? and where exactly did you code in the logic?
    Thanks,
    RV

  • User Exit for Delivery Creation

    Hi,
    I am looking for an User Exit for Delivery Creation, which should provide a Sales Order Number. This is required before Batch determination. Can any one help.

    Hi,
    I think you can try with MV50AFZ1 user exit.
    In move fields to LIKP and LIPS routine you can get the sales order.
    LIPS-VGBEL gives the sales order.
    Thanks,
    Rohan

  • Assign Search procedure for batch determination for delivery

    Hi all,
    i have a problem with automatic batch determiantion during delivery creation.
    i have created a transfer order (purchasing order type UB from one plant to
    another).
    i have created delivery. Batch determination is impossible because the sistem
    didn't find search procedure.
    But if i create a sales order and subsequent delivery the batch determination is
    carried out correctly.
    in customizing i found the transaction in which we have to assign for a
    particular sales organization and sales document a search procedure ("Allocate
    SD Search procedure/ activate check")and i created the correct items for my
    sales document.
    My question is: where can i assign a search procedure to a delivery without
    sales order reference?
    In customizing i have activated "Automatic batch determination for my Delivery
    item category" but the sistem didn't find search procedure.
    What's wrong?
    Thanks
    Veronica

    Hi Veronica,
    For deliveries without reference to a sales order you still need to define a default order type for the delivery type - this will provide the control criteria that is normally copied from the sales document header into the delivery document.
    In our system our replenishment delivery type is the standard NL and the Default ord. ty. is set to DL, which I think is the standard SAP setting.
    Give this a try.
    Regards,
    Monika Strasser

  • In VL10C,Unselected Line items are copied for delivery creation in VL01N

    Hello,
    I am trying to create outbound deliveries for an sales order using t.code VL10C. when I execute VL10C,it takes me to next screen with all sales order line items where i am selecting some line items & select Dialog button for delivery creation. In this case all line items of the sales order get copied into VL01N screen instead of copying only the selected line items.
    What may be the issue? Is this standard functionality of VL10C transaction? my requirement is  to create delivery for selected line items using VL10C transaction.
    Regards
    Goutham

    hi All,
    It's a standard SAP process... See OSS note 453947...
    For me it's a bug, not for SAP....
    But create deliveries for only selected item work in backgroung process ! According to user role parameter "selected items"
    Source code :
        SET PARAMETER ID 'VST' FIELD <cs_postab>-vstel.
        SET PARAMETER ID 'AUF' FIELD <cs_postab>-vbelv.                       -
    > only order number (not item)
        SET PARAMETER ID 'ALT' FIELD SPACE.                       "n_810897
        EXPORT lv50c-datbi FROM lf_datbi TO MEMORY ID 'LEDAT'.
        EXPORT d_tcode     FROM sy-tcode
               enque       FROM cx_list_profil-enque              "n_602290
               TO MEMORY ID 'CALLING_TCODE'.
        CALL TRANSACTION 'VL01N'  AND SKIP FIRST SCREEN.
    regards.

  • User exit for delivery creation in VL10B/VL10G-

    Hi,
    Is there any exits available for restricting the document type while the deliveries are selected/processed using VL10B/VL10G - delivery creation in background.
    Scenario is when deliveries are created for STO's,the delivery is to be created for a selected document types(EKKO - BSART).Other types of document types have to be ignored when the delivery is created in background.
    Regards
    Deepak

    Hello Deepak
    You handle this through configuration while setting up Stock Transport Orders in MM.
    Path:  IMG/Materials Management/Purchasing/Purchase Order/Set up Stock Transport Order/Assign Delivery Type and Checking Rule
    Here you a Delivery type for a combination of Plant and PO type. So those PO types which you don't want to be included for delivery creation will not figure in this assignment. I don't think you should go down  the user exit route.
    If you still need to explore user exits, look at OSS note 198137 for a list and purpose of VL10X based exits.
    Hope this helps.

  • Bapi for Delivery Creation from Sales Order

    Hi
    I have multiple sales order and i want to create 1 outbound delivery from it just like what Vl10A is doing.
    Can i have BAPI or fumctiona module for same.
    Best Regards
    Subham

    Check this thread:BAPI for Delivery Creation
    Also search the forums..there are many threads addressing the same issue.
    Regards,
    Kiran

  • Help needed in creating a batch job for delivery

    Hi gurus
    Can somebody tell me the process of creating a batch job ..for creation of delivery.. is this the same process to create the batch jobs for invoices also?
    thankyou
    bj

    hello jaya ,gsl
    thankyou very much for ur help .. I have tried creating a variant .. in vl10batch.. and ive assigned it a scheduled time .. i craeted a open order..  and when the scheduled time has arrived and is over,i went to the order and still i dont see any delivery doc created .. and in sm37 its shows that the job is finished ..i even tried sm36 .. of creating a job for the variant.that ive craeted in vl10batch .and then assigning the job in sm37.. i can see the job that ive created in sm37 it is changing its status from released to finished .. as per the scheduled time but the delivery is not created .. i tried vf06 for a billing   variant.. and went to sm36 craeted a job for the variant..using the program name.. and next to sm37 i can  see the created  job in the spool also..but somehow it is  not creating the billing doc also..
    can u help me to find where it actually went wrong with me ?
    thanksalot in advance..

  • Restrict Sales Order for Delivery Creation

    Dear Experts,
    We are supplying material to our customer (He is our subsidiary company). All the material codes within the two companies (i.e., our customer and us) are same. My customer is creating Purchase Order on us and through BDC program auto sales order is getting generated at our company. Pricing conditions are also copied from the PO to SO. We are not maintaining any pricing conditions for this customer.
    My customer wants to supply the materials only against the sales orders created during the month only. Example: If auto sales orders are created during August'09 till 31st Aug, delivery should be created before 31st August only. From 1st Sept'09 onwards delivery should not create against the open sales orders created till 31st aug'09. When we try to do the delivery, system should not allow for creation of delivery from 1st Sept'09 onwards.
    Can u please guide me whether we have any standard process for this to control the delivery creation? or we need to go for any development?
    Your early reply in this regard is highly appreciated.
    Thanks
    Murthy SD

    hi you can use scheduling aggrement concept for the same.
    Alternatively , you can write logic in the exits .
    program:
    MV50AFZ1
    code:
    loop at xlips.
              select single vbegdat venddat from VEDA into (VEDA-VBEGDAT,VEDA-VENDDAT)
                                                   where vbeln = xlips-vgbel
                                                     and vposn = xlips-vgpos.
                 if sy-subrc = 0.
                 if VEDA-VBEGDAT is initial and VEDA-VENDDAT is initial.
                 else.
                  if sy-datum ge VEDA-VBEGDAT and sy-datum le  VEDA-VENDDAT.
                  else.
                  MESSAGE  'sales order referred is outside validity range' type 'E'.
                  endif.
                 endif.
                 endif.
              endloop.
    the code is to be writeen in exit of delivery i.e whenever delivery is being created wr to order it checks the dates in order
    Rwd points if helpful
    regards
    chandresh

  • User exit/BADI for delivery creation in VL10B

    Hi,
    Is there any exits available for restricting the document type while the deliveries are selected/processed using VL10B/VL10G - delivery creation in background.
    Scenario is when deliveries are created for STO's,thedelivery is to be created for a selected document types(EKKO - BSART).Other types of document types have to be ignored when the delivery is created in background.
    Regards
    Deepak

    Check this exit.
    BADI LE_SHP_DELIVERY_PROC
    Method IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK

  • Generation of output for delivery creation

    Hi,
    I have a requirement, wherein when the delivery document is created, output should be generated automatcially.
    In other words, the output should be generated automatically when the delivery document is created and before PGI.
    Any suggestions as to how this can be done?? Is there any user exit for this.
    Thanks
    Regards
    Mohan

    Hello Mohan
    You don't need any user exit for this.
    You can set this up in the output master data set up ( e.g.  T code VV21 for Shipping output). While setting up the condition record, set date/time as 4 (Send immediately (when saving the application).
    You can set up the output type config also to do this ( T code V/34). You can set up the dispatch time in 'Default values'  tab as 4 and then the same will be proposed during master data set up, However users can override it.
    Hope this helps.

  • Re: Internal Batch Generation for Process Order while release

    Hi All,
    While releasing the Process Order I intend that the system should create a Internal Batch. But this is not happening.
    I have checked all the necessary configs  for this purpose. Still Invain.
    Please Advice,
    Vivek

    >
    Prasobh Karunakaran wrote:
    > Vivek,
    >
    > Please check in transaction OMCZ, whether radio button is active for "Active". Also check whether your material is assigned with a suitable production scheduling profile in work scheduling view. You can check the production scheduling details in CORY transaction, here in Batch management section for Automatic batch creation in order should be with value "2".
    >
    > Regards,
    > Prasobh
    Vivek,
    Did you check the points mentioned by me.
    1. OMCZ
    2. Check whether you have assigned that production scheduling profile to your material?
    Regards,
    Prasobh

  • Internal Batch Generation for Process Order while release not happening

    Hi all
    While releasing Iam having the problem that the system is not generating automatically the batch for the components, I have mantained CORY for production scheduling profile Batch management section for Automatic batch creation in order with value "2". and assigned this to the material (The material to be produced) work scheduling MM View. Also I have activated OMCZ, is there any config I'm missing to the components?
    While releasing I get this error "You must enter the batch for material XXX" and XXX is the component in the BOM.
    Please advise.
    Regards

    Julio:
    if you dont want to create the product batch , so in the scheduling proflie select "NO automatic Batch creation....", or just dont use the profile in the product material master (Transactions CORY and MM02) . If the batch mgmt is active for this product, then SAP ask you for a batch number at goods receipt.
    For the component, in the view MRP 2 (MM02) in the field "batch entry" select "3" - Automatic batch determination. You shoud have previously defined some Batch determination rule and so on. Or you can initially select "2", to make a manual selection. This must be used only in those component whose batch number must be determined in advance.
    Hope this helps
    Saludos

  • Report generation for Delivery Blocked Orders

    Hi All,
    I am trying to pull up a report which should contain only orders with the Delivery Block.
    Through VL06O i can get the orders which need to PGIed, which are open, which are stuck in workflow and which have got delivery block.
    So is it possible to separate the delivery blocked orders (from an end user point of view) from the other orders. I tried to have a look at the filters which i could put on the VL06O-> Outbound Deliv. for PGI, but couldn't find it.
    can any one help in thi regard.
    Thank you in advance.

    Hi,
    Try report V.02 - Incomplete Orders

  • Problem in Sys. Status for Delivery creation.

    Dear All,
    I am getting a massage at the time of delivery thru VL01.
    "Create delivery" not allowed (SYSTEM STATUS EXLS OBJECT VB0000008800010)
    Massage no.BS051
    Diagnosis
    the status check for the status object VB000000818800010 indicated that the procedure create delivery can not be performed because sys status EXLS forbids it.
    System Response
    Procedure create delivery not possible
    Please help !!
    regards,
    Arindam

    hi
    goto VA02 enter u r sales order number
    now in the sales header goto status tab and click on object status now  remove the block if there is any
    This is because in VOV8 for your sales doc type a Status profile has been assigned
    regards

Maybe you are looking for

  • Iphoto library jailbreak crew needed

    Help you mac wizards....Iphoto dilema has caused me to post my first question. I was so excited to find this old post (shown below) that explains my exact dilema. The answers did not answer my question however. Thank you to Nayeli for posting, http:/

  • My audio is not working with movies on my new iMac

    i have had this imac for 3 months now, audio works fine for everything else, but when i am watching a movie on full screen, sound is not present but when it is not on full screen sound is present but never matches the actual movie, i really would lov

  • Shared photo-stream, makes long file names with 42 random characters

    Windows icloud 3.1, in a shared photo-stream, makes file names with 42  random characters long. It didn't do this in iCloud  2. I have installed  iCloud 3.1 on a windows 8.0 and 8.1 machine and two Windows 7 machines.  They all do the same thing.  It

  • Navigation Tabs

    Hi all, I am trying to work out how to create navigation tabs using images for the curved sides and backgroundsbut I am getting comfused. I have made three examples: http://www.villa-corti.com/indexnav.html In the first example- navtabs div -I have a

  • E540: Not powering up

    Few months old E540 is not powering up. When I press the power button, the led is lit and the fan turned on but nothing else happens. Nothing on screen and can't even open the DVD tray. Have tried fn+F8, removing battery without luck. Haven't done an