VL10 (VL04)  problem

Hello All,
When i create a sales order it inturn posts the data on other system, since other system has no master data avaible it generates a new addresscode even though the ship to party is same for 2 sales orders.
When i try to combine the orders for one single delivery it does not combine , as the ship to address codes are different (Though adress content is same).
I want to tell VL10 not to check for Address code instead search for address content , how can i do it?
Where does this check happends in first place?
Would be very helpful to know your comments ont his.
Regards,
Manohar

Hi Manohar!
Only some general comments (sorry, no solution):
there are two ways of checks:
- directly coded in SAP-functions (you would need modification)
- dynamical added routines (you can replace them by own logic, you will find most (all?) in various places of transaction VOFM)
Still strange scenario, I guess you might run into further problems. Who is creating invoice? The one with bank data, or the one with confirmed quantities?
Somehow split between central system and logistic system was done at a different borderline at other customers.
But never mind, such decisions are of course very complicate - straight forward ways are of course much simpler, no question.
Regards,
Christian

Similar Messages

  • Add a New Field to Selection Screen of VL10 Transactions problem

    Hello,
    i have tried to add a selection field in the VL10G. I have used the docu from Gaurav Jagya (Thanks to Gaurav) an followed the steps. Here you can find the docu: Link: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07c282f-e2b4-2c10-e4b3-a314fc17b6a1]
    In the Step 2 , Point 4 i declare the Select option ST_MTART and use it later in Step 5  in the form USEREXIT_SELECT_OPTIONS_TRANSF.
    Step 2.
    4. Write the declaration of new select-option inside include ZV50RSEL_MTART.
    DATA: V_MTART TYPE MARA-MTART.
    SELECT-OPTIONS: ST_MTART for V_MTART.
    Step 5. Transfer values from selection screen to range.
    For this step, again an access key is required to modify include V50R_USEREXIT_TRANSF.
    1. Open include V50R_USEREXIT_TRANSF in change mode. It will ask for an access key. Enter the same and proceed.
    2. Write following line of code inside form USEREXIT_SELECT_OPTIONS_TRANSF:
    CX_SELECT_OPTIONS-MTART = ST_MTART[].
    When i start the VL10G it works fine, but when i start another VL10* transaction i get a dump. Example VL10:
    Runtime Errors         SYNTAX_ERROR
    Date and Time          20.04.2010 13:54:00
    Short text
         Syntax error in program "RVV50R10C ".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLV50R_PRE" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
         The following syntax error occurred in program "RVV50R10C " in include
          "V50R_USEREXIT_TRANSF " in
         line 18:
         "field "ST_MTART unknown. .."
    It dumped, because the form V50R_USEREXIT_TRANSF is used in EVERY VL10* transaction and the select-option is declared ONLY in my Z-include.
    Is the someone out there, who has solved the problem? Is the an error in the docu or am i wrong?
    Thanks!
    Andreas

    Has there been any further information on this issue in this or any other threads. I am encountering the same issue as identified by Andreas.
    Thanks,
    Brian

  • VL04 - Problem in capturing delivery number in background

    Hi Friends,
    I have a requirement to run VL04 and then do goods issue for all the deliveries created. All of this has be done in the background Can someone please help me in capturing delivery numbers when VL04 is run as BDC ? I read a thread in SDN which spoke about getting delivery number from VBSS table but I do no know how to capture the SAMMG for that table.
    Please help. Other approaches of getting this done are also welcome.
    Thanks,
    Dikshitha G

    when writing bdc for error handling try this code
    "change this as per your requirement
    *       STRUCTURE FOR THE BDCMSGCOLL to handle errors                  *
    data : wa_bdcmsgcoll type bdcmsgcoll,
           it_bdcmsgcoll like table of wa_bdcmsgcoll.
    data : l_mstring(480).
    "your code"
    *FM FOR ERROR HANDLING.
        loop at it_bdcmsgcoll into wa_bdcmsgcoll.
          select single * from t100 where sprsl = wa_bdcmsgcoll-msgspra
                                    and   arbgb = wa_bdcmsgcoll-msgid
                                    and   msgnr = wa_bdcmsgcoll-msgnr.
          if sy-subrc = 0.
            l_mstring = t100-text.
            if l_mstring cs '&1'.
              replace '&1' with wa_bdcmsgcoll-msgv1 into l_mstring.
              replace '&2' with wa_bdcmsgcoll-msgv2 into l_mstring.
              replace '&3' with wa_bdcmsgcoll-msgv3 into l_mstring.
              replace '&4' with wa_bdcmsgcoll-msgv4 into l_mstring.
            else.
              replace '&' with wa_bdcmsgcoll-msgv1 into l_mstring.
              replace '&' with wa_bdcmsgcoll-msgv2 into l_mstring.
              replace '&' with wa_bdcmsgcoll-msgv3 into l_mstring.
              replace '&' with wa_bdcmsgcoll-msgv4 into l_mstring.
            endif.
            condense l_mstring.
            write: / wa_bdcmsgcoll-msgtyp, l_mstring(250).
          else.
            write: / wa_bdcmsgcoll.
          endif.
        endloop.
        if sy-subrc = 0.
          write: / wa_bdcmsgcoll.
        endif.
      endloop.
    endform.              

  • VOFM - to create a formula / routine

    Hi,
    Could someone write a sample formula for pricing to read Gross Price from the sales order and pass it on to a variable.
    Also if this variable can be read from the alt cond base value.
    Or if any link to documentation where I can read some info on VOFM and related paths / steps.
    Thanks very much for the help.

    Hi,
    Take a look at SAP Note 327220 (and subsequent related OSS Notes). It is an explanation of function "Maintain: Requirements and Formulas", which is also known as "VOFM".
    Here are a few links which I think might be of interest to you:
    1. SD  QUATATION CREATE WITH REFERENCE PROBS
    2. VL10 (VL04)  problem
    3. This is the best thing for you to do, I guess:
    when you go to the transaction VOFM, you will just be seeing a blank screen with some menus at the top. Right? Now just select an of the menu items , Let us say Data- Transfer->Deliveries. You would see a screen with a table and an icon for documentation. Just read that documentation.
    Furthermore, this documentation has hyperlinks which will actually take you to the corresponding node in the IMG where the particular activity is performed. And you can get further information from the IMG.
    Reward points if this is helpful.
    Regards,
    Naveen.

  • Outbound delivery creator

    Hi experts,
    Any chances to define diferent users to create different delivery types or sales organizations? How to do? For e.g., user A to create delivery type ZA only or sales organization 1000, user B to create delivery type ZB only or sales organization 1001.
    I tried using sales organizations or delivery types in PFCG but fail.

    Hi
    check these authorization objects
    shipping point (Object V_LIKP_VST)
    Sales organization (Object V_VBAK_VKO)
    And May be you can create your own authorization object. Then you have to
    create your own authority check.
    You can insert the authority check in the user exit MV50AFZ1.
    Transaction VL02N/VL03N: USEREXIT_READ_DOCUMENT
    Transaction VL01N/VL01NO/VL10*/VL04: USEREXIT_MOVE_FIELD_TO_LIKP
    regards,
    Ramana

  • Delivery item sort

    Gurus
    va01-->vl01n, dn item sequence is as same as so item
    va01-->vl10c, dn item is sort by material no
    why vl10c sort by material no? where can i find this customsize? how to modify the delivery item sequence when use vl10c sort by so item no?
    Kevin

    Hi,
    For this behavior, you can check the OSS notes 383254 and 497526.
    Following is the SAP note 383254,
    Summary
    Symptom
    The supply of the shipping due date list of Transaction VL10 via the 'Background' button behaves differently than the supply via the 'Dialog' button.
    Additional key words
    VL10A, VL10B, VL10C, VL10D, VL10E, VL10F, VL10G, VL10I
    Cause and prerequisites
    Forward compatibility
    Solution
    VL10 <-> VL04
    In addtion to VL04 that was replaced by Transaction VL10 for Release 4.5, you can use Transaction VL10 to select not only the orders but also their items and schedule lines.
    When the new function VL10 was implemented, SAP kept the dialog function of VL04, because many customers were used to it.Although this function is part of the collective run, for technical reasons no changes were made to the functions.During the design of Release 4.5B, the options existed to suppress the dialog function or to make a function available that does not entirely fit the new functions of VL10. SAP preferred the latter.
    As for Transaction VL04, the dialog mode of VL10 executes Transaction VL01(N) with all items of the selected order, regardless of whether or not you selected items or schedule lines.The only parameter for the call is the order number, no quantity specifications are transferred to VL01N.However, you can change the quantity in the screen of the delivery.
    Delivery of schedule lines
    When you deliver with the 'Dialog' button, all selected orders are delivered by means of VL01N. In this case the delivery is carried out independent of the previously displayed or changed cumulated quantity. In this case only the latest delivery creation date of all the selected schedule lines is used to determine the schedule lines.
    On the user role tabpage of VL10, you have the option with the 'Rule (delivery qty)' and 'Split per sched.line' flags to control the delivery of schedule lines via the 'Background' button:
    On a shipping due date list in item display with several schedule lines for the same document item, you can choose, whether you want to create a delivery item for each schedule line or whether they deliver the cumulative quantity of the last selected schedule line.
    Scheduling agreements
    For scheduling agreements, additionally read Notes 137937 and 52116.
    Hope this clarifies your doubt,
    Regards

  • Incomplete delivery created despite flag complete delivery set

    Hello Experts,
    I have the issue that VL10/VL04 or VL01 allows me to create deliveries even if the complete delivery box is checked in the sales order as well the Part. dlv./Item flag set to 'C' and the Max. Part. Deliv. setting set to '0'.
    Any ideas?
    Regards
    Daniel

    Hi,
    I could give you an idea for stopping the GR happen in future. In PO delivery tab, put the latest GR date as the end of contract date. So user wont be able to do the GR for that particular line item in future. Also you could mark the line item for deletion in PO, once the MIRO for the already received qty is done.
    Thanks,
    Sourabh Kothari

  • Problem in VL04 Background job

    Hi Experts,
    When I enter the shipping points ,sales area ,office and other mandatory feild and execute in foreground the deliveries are shown.
    But when I do the execution in background .
    In the SM37 screen the job gets cancelled.
    The job log says :
    Job started
    Step 001 started (program RV50SBT1, variant &0000000000059, user ID E383327)
    Make an entry in all required fields
    Job cancelled after system exception ERROR_MESSAGE
    Fill in all required entry fields
    Please explain how can I run the delivery lists without errors &
    as there no incomplete procedure predefined in the VL04 screen what would be the possible solution.
    Can you please help to solve this out.
    Regards,
    Vijay.
    Edited by: Vijay sharma on Mar 11, 2008 3:55 PM

    But still am getting the same problem.
    Solution :
    In Systems - > User profile - > owndata - > Parameter(tab)
    Give LE_VL10_VL04_OLD(as Parameter ID) and 'X' (as Value )
    Regards,
    Vijay,
    Edited by: Vijay sharma on Apr 7, 2008 8:32 AM

  • Problem in VL04

    Hello Everyone!!
    In the company I work in we have the 6.0 ECC SAP version but some obsolete transactions are still used and one of them is VL04 for generating deliveries for sales order, sometimes this transaction doesn't work fine and generates a strange delivery number "$           1"....
    Is it because this transaction is obsolete?? Has anyone ever faced this problem?
    Thanks in Advance

    But still am getting the same problem.
    Solution :
    In Systems - > User profile - > owndata - > Parameter(tab)
    Give LE_VL10_VL04_OLD(as Parameter ID) and 'X' (as Value )
    Regards,
    Vijay,
    Edited by: Vijay sharma on Apr 7, 2008 8:32 AM

  • User exit for VL04 / VL10

    I need user exit / badi that will be used to overwrite default delivery type value during delivery creation for scheduling agreements.
    I got BADI that can be implemented for creating delivery thru VL02N.
    But We need to create the delivery thru VL04 / VL10 ( back ground).

    Same BADI will work for Background also (Hope it is LE_SHP_DELIVERY_PROC).  But i think, it is not advisable to overwrite the Delivery Type through the BADI, as many configurations will be based on the delivery type (like copy control etc), which many not re-determine when you change delivery type through the BADI.

  • Hi all..very urgent..problem with the transaction VL10.

    Hi gurus,i having trouble in executing the transaction VL10.
    the procedure is as follows.
    1.Enter the transaction VL10
    2.Select Sales orders Tab
    Enter sales document number 16283319 to 16283320
    Remaining all fields should be blank
    3.Click on Execute Icon.
    4.Selected  two Sales Documents.
    5.Clickd  on Back ground icon.
    6.Error i am getting is OBJECT REQUESTED IS CURRENTLY LOCKED BY USER PSREDDY.
    Can anybody help me with this..very urgent and full marks wud be given.

    Hi Sahil,
    Go to transaction SM12, put user name PSREDDY.
    Exceute it, and select all entry and delete.
    After follow the same procedure, you followed early.
    Hope it will solve the problem.
    Regards
    Krishnendu

  • VL04/VL10

    Hi all
    I want Layout in VL04/VL10 like this
    Delivery date, Sales doc no, Ship-to, Location, Route, Grs Wgt, Volume
    Iam selcting the field from layout but ship to name, location and delivery date is not comming
    how would we solve this please help me
    Thanks

    Same BADI will work for Background also (Hope it is LE_SHP_DELIVERY_PROC).  But i think, it is not advisable to overwrite the Delivery Type through the BADI, as many configurations will be based on the delivery type (like copy control etc), which many not re-determine when you change delivery type through the BADI.

  • Problem in executing vl04

    Hi Friends,
    I am facing the Error in vl04 in creation of delivery , that AP/TG Tax code differ for Customer Code 100...13,Please help
    Here the  Situation is Supp plant in kerala,Rec.plant in Andhrapradesh and storage location in Hyderabad and Customer in Hyderabad.
    Note: Andhra pradesh has divided in to two states from June 2nd i,e. Telangana-TG,Andhrapradesh-AP

    After executing VL04, what error system was popping up?  Please note if you have made any configurational changes / new tax code for AP / Telengana, then you should not try with the same order.  Try with creating new order.
    G. Lakshmipathi

  • Problem in delivery creation against stock transfer PO

    Hi,
    Scenario: -
    We have 5 material and make the PO for stock transfer yesterday. After that we made the delivery against that PO.
    Problem it this....today we need to make the another PO related to last one (all same material number's) but diff. qty.
    We make the PO but when we want to make the delivery against today's PO, delivery make only for 2 material's, not for all 5 material's.
    what should be the problem here???
    plz guide.....

    Thanks for reply dear...
    1. check against the the line items that delivery completed indicator has been ticked or not in the STO
    There is no TICK on delivery completed indicator (not on any single line item).
    2. check the delivery date against the line items in the STO
    Delivery date is 26.04.2010 in 2 line items and 26.03.2010 in balance line items (whom delivery not made)
    3. check the purchase order history tab for the line items in the STO
    PO History tab is in only 2 line items, which made delivery earlier but in 3 line items, no delivery tab exist.
    4.remove all the dates and calc rule in the t code VL10 d & VL10 b while creatin g delivery
    check after confirm above point by you.
    Plz guide..

  • Problem with aggregation of Key figure

    Hi All,
    I am having aggregation problem with the KF, i have created a RKF AvgVeh with a constant selection on part#, and now i am using this in my CKF Rxz = avgveh * part#, the char in the cube are Supplier and VL the the value of Rxy is correct when it drilldown by VL(for each individual VL but the result row is different) but when it's aggregated by Supplier its showing a different value its showing the result row value but actually it should show the sum of all the values for each VL, can any one help with this.
    VL          Rxz
    VL1          58,558.71
    VL2          154,629.00
    VL3          101,090.40
    VL4          659,843.80
    VL5          47,715.03
    VL6          19,286.52
    VL7          31,367.04
    VL8          15,041.50
    VL9          142,018.05
    VL10          68,092.36
    VL11          991.25
    Result Row      17,179,838.75 (This should actually be 1298633.66 sum of the above values, but shows different value which is same if there is no constant selection)
    supplier     Rxz
    Company A    17,179,838.75(this should be 1298633.66)
    Company B    890899
    Thanks in advance,
    shetty.

    HI.
    We have a simiarl problem.  Have you found any resolution?
    Regards
    Uday

Maybe you are looking for