Deliver line item Creation thru Program

Hi guys,
please help me to create delivery creation for a ship-to party and line item creation thru any finction module when the ship-to party has different materials ordered.
is there any standard Function module to just create a delivery line item when the delivery is not completely processed.
Please help me in this issue.

check
BAPI_INB_DELIVERY_CHANGE       Change inbound delivery
BAPI_INB_DELIVERY_CONFIRM_DEC  BAPI for inbound delivery verification from a decentralized system
BAPI_INB_DELIVERY_SAVEREPLICA  BAPI Function Module for Replication of Inbound Deliveries
BAPI_OUTB_DELIVERY_CHANGE      BAPI for Change to Outbound Delivery
BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Verification from a Decentralized System
BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries
BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
u have to CHANGE Delivery i.e in change mode u can ADD.
otherwise check user exits
*        FORM-Routinen für Userexits
         include mv50afzz.
         include mv50afz1.
         include mv50afz2.
         include mv50afz3.          "Userexit neu zu Release 3.0A
         include mv50afzk.          "Userexit 4.6A (KOMKG/KOMPG)
         include mv50afzl.          "Userexit 4.6A Liefergruppen
                                                               "n_693000
         include mv50afzp.          "Userexit for pricing screen input
Regards
Prabhu

Similar Messages

  • Deliver line item Creation

    I created Delivery using the function module  shp_vl10_delivery_create by passing sales order info.But how to create line item when there are different materials .This function module works (creates delivery) when there is one line item for SO and if we pass full ordered quantity only.is there any other fm for creation of delivery ?
    i want one more function module to create delivery line item also.please help me in this way, as i urgently need this functionality to incorporate dynamic delivery creation.

    Iam not able to get the solution to create line item for a delivery.evne though i can able to pass the data by appending table types ,if there are line items more than 1 then this Shp_vl10_delievry_create FM will not create any delivery.i didnt get the solution for how to create line item for a delivery based on the sales order informatin

  • Purchase Order Line Item Creation DATE ?

    Hi All ,
    How can we fine the Line item creation date in PO ? I know EKPO-AEDAT but that is chaged date and its get updated if you chage the line Item after creating it . I need creation date for a perticular Line Item how can we get that ?. thanks in advance , I'll reward if useful.
    Thanks ,
    Lucky.

    Item creation is same as Order date of schedule line
    EKET-BEDAT
    Thanks
    Seshu

  • Automatic Service Order creation and OBD line item creation - Repair Order

    Hi ALL,
    I tried to run the Repair process based on the help document of SAP:
    Configs Followed:
    1) In Material master MRP3 view, strategy group is assigned as 84 (service orders). By default this str.grp is linked with Requirement type SERA and Requirement class 203.
    2 ) Requirement class is assigned with appropriate Service order type.
    SPRO>Sales and Distribution>Basic Functions>Availability Check and Transfer of Requirements>Transfer of Requirements-->Define Requirements Classes (OVZG)
    Actual Assignment:
    Reqt. Class Service Order Type
    039 SM01
    203 SM01
    3) Task list is assigned to your Service material - Service product - OISD
    Actual Assignment:
    Service Pdt Work Centre Plant B Area Gen TL Group Counter Task List Type
    R-1001 PC-SERV 1200 8000 62 1 A
    4) Check the Requirement class setting indicator for configuration (cnfg)
    Actual Assignment:
    = mandatory
    5) SPRO>Sales and Distribution>Basic Functions>Availability Check and Transfer of Requirements>Transfer of Requirements-->Define Requirements Classes --> Determination Of Requirement Types Using Transaction
    Actual Assignment:
    Item Category Reqt class Reqt. Type
    IRRS 039 SE
    IRRE 203 SERP
    IRRP 203 SERP
    IRAL 040 KE
    6) Sales and Distribution>Sales>Sales Document Item-->Assign Item Categories for determining the item category based on usage
    Actual Assignment:
    Sal. Doc. Type Item Cat. Group Item Usage H. L . Item Cat Item Category
    RAS NORM IRRS
    RAS NORM R101 IRRS IRRE
    RAS NORM R102 IRRS IRRP
    RAS NORM R103 IRRS IRAL
    Errors Faced:
    1. Service Order is not getting created automatically.
    Error in SAP - IDES :"A service order has not been found for action 'Repairs'"
    2. Also im not getting the automatic creation of the 4th line item(Item Category - IRAL) in the repair order, which in turn stops me from creating the Outbound delivery.
    Please HELP !
    Regards

    Hi PeteA,
    Sorry, here it is...
    Let me explain the process that has been followed:
    1) Initially to start with Service Notification was created with IW51 T-code.
        In that, Sold to party and material # were entered. Then from there directly i go for Create Repair Order from the Action Box.
        Order type for repair order - RAS, and when i save both Service Notification and the Repair gets saved.
        Now, in the repair order, two line items were getting created automatically and the requirement Types for those line items are:
        Line Item I : SE
        Line Item II: SERP
    2) After that i take the material in with the help of t-code VRRE.
    3) Then, i do the acceptance of the stock ( Technical Check) with t-code QA11.
        Once i do that, i get the Third line item in the Repair Order and the requirement Type for that line item is:
        Line Item III: SERP
    Now my query is, Once i do the QA11 transaction i need to get a Service Order automatically but thats not happening.
    Also if i create a Service Order manually, and do the repair and do the technically completion of the service order, then i need to get a third line item (IRAL) in the repair order automatically and thats also not happening.
    Regards

  • Vendor line item clearing thru f-44

    Hi guru
    I have posted one document through FB60 and and made credit memo thru same transaction code. When I was matching both the document trhu F-44 it is giving an error message.
    u201Cconsolidated companies est150 and are different u201C
    Message no.f5080
    when i tried to replciate this scrnario in development its working fine. any inputs please
    thanks
    Sunitha
    Edited by: sunitha reddy on Oct 20, 2008 5:24 PM

    hi shivaji
    Wonderful, yes you are correct in credit memo the tranding partner is there for all the line item. But in the invoice the trading partner is not there
    But my doubt is how the credit memo is picked up trading partner?
    regards
    Sunitha

  • Line item creation through user exit

    Hi
       I am creating a line item for a sales order when saving the sales order in transaction VA01 and VA02, using the userexit USEREXIT_SAVE_DOCUMENT_PREPARE. I am able to append the line item to the internal table XVBAP through my code in the user exit.
    But after appending to the internal table the line item is not getting created.I am not getting any error message also.
    Can anyone help me out in this regard.What could be the reason for this.

    Hi,
    It is not a straight forward thing. Adding data to table XVBAP won't work. It will create inconsistency. There are so many other tables involve here too, like, VBPA, VBUP, VBKD, KONV. There can be other tables too based on how your sales order is configured.
    Also, modifying these tables (XTAB, YTAB ) in this user-exit may cause database inconsistency.
    Regards,
    RS

  • Quotation line item creation

    Hi,
    I am trying to add new line item in quotation using BAPI_CUSTOMERQUOTATION_CHANGE in SE37 tcode.
    i am passing quote number, line item update flag as I, item number 30, material number, quantity, and set the check boxes for these 3 fields as X in item check box table.
    i did not get any error messages but it does not create any new line item.
    i believe i am missing some key fields to insert in those tables.
    can any one tell me which fields must pass to BAPI  to create quotation or change quotaion?
    Giri

    HI Giri,
    check BAPISDORDER_GETDETAILEDLIST
    in import parameters provide 'X' for desired details like header, item,.........
    in tables provide sales document number.
    Regards
    Syed

  • Line item creation in sales order

    Hi
    I am working on User Exit USER_EXIT_SAVE_DOCUMENT_PREPARE. On saving a sales order i need to do some validations and based on the validations i need to add a line item to the sales order in the user exit.
    What are the ways that i can create the line items through the user exit

    Hi,
    It is not a straight forward thing. Adding data to table XVBAP won't work. It will create inconsistency. There are so many other tables involve here too, like, VBPA, VBUP, VBKD, KONV. There can be other tables too based on how your sales order is configured.
    Also, modifying these tables (XTAB, YTAB ) in this user-exit may cause database inconsistency.
    Regards,
    RS

  • Dynamic line items creation Programatically.

    My requirement is to manually create Dynamic line items based on
    some values from the existing dynamic line item.
    During Dynamic Line Item processing; When the Last 3 chars of Z field
    ZWBSMOD is changing; then insert a DLI with Material is
    MODULE-<3 chars>.
    Which the exit for creating DLI programatically ??

    Hi Amruta,
    Your question is not clear, could you please explian where you want to add line item dynamically?
    Regards,
    Surender

  • BDC For Line Items In Sales Order

    Hello,
    I have an internal table of line items which i need it to pass it to BDC for sales order line items creation. Can anybody tell me how to do this like the logic which is used to pass the field names. I just have the material number and Quantity to be passed ..
    Thanks
    Viky

    See below code for Purchase Order :
    report zpochange.
    data : i_error like bdcmsgcoll occurs 0 with header line.
    data : i_bdcdata like bdcdata occurs 0 with header line.
    tables : ekko, ekpo.
    data :c1(10) value 'ME22',
          c2(1) value ',',c3(10).
    data : var1(20). " LIKE EKKO-EBELN.
    data : var2 like ekko-ebeln.
    data : begin of i_ekko occurs 0,
              header(2),
              ebeln like ekko-ebeln,
              end of i_ekko.
    data : begin of i_ekpo occurs 0,
    item(2),
            ebeln like ekpo-ebeln,
            ebelp like ekpo-ebelp,
            menge(10), " LIKE EKPO-MENGE,
           end of i_ekpo.
    data : v like ekpo-ebelp.
    data: begin of itab occurs 0,
             text(300),
            end of itab.
    parameters: p_file like ibipparms-path.
    *PARAMETERS: PONUMBER LIKE EKPO-EBELN.
    at selection-screen on value-request for p_file.
    call function 'F4_FILENAME'
      exporting
        program_name        = syst-cprog
        dynpro_number       = syst-dynnr
       FIELD_NAME          = ' '
      importing
        file_name           = p_file
    start-of-selection.
    *SELECT EBELN FROM EKKO INTO TABLE I_EKKO WHERE EBELN = PONUMBER.
          SELECT EBELN EBELP MENGE FROM EKPO INTO TABLE I_EKPO WHERE EBELN
    *= PONUMBER.
    perform get_data.
    *LOOP AT ITAB.
    WRITE :/ ITAB.
    ENDLOOP.
    loop at itab.
    var1 = itab-text+0(1).
    if var1 = 'H'.
    *I_EKKO-EBELN = ITAB-TEXT.
    split itab at c2 into i_ekko-header
                           i_ekko-ebeln.
    SPLIT  ITAB AT ',' INTO I_EKKO-EBELN.
                        " I_EKPO-EBELP
                        " I_EKPO-MENGE
                        " var1.
    append i_ekko.
    else.
    split itab at c2 into i_ekpo-item
                            i_ekpo-ebeln
                            i_ekpo-ebelp
                            i_ekpo-menge.
    append i_ekpo.
    endif.
    *var2 = i_ekpo-ebeln.
      MOVE VAR1 TO I_EKPO-EBELN.
      MOVE VAR1 TO I_EKKO-EBELN.
    APPEND: I_EKPO.
    *if not var1 is initial.
        split var1 at ',' into i_ekpo-ebelp
                               i_ekpo-menge.
      i_ekpo-ebeln = var2.
    append i_ekpo.
    *endif.
    endloop.
    loop at i_ekpo.
    write :/ i_ekpo.
    endloop.
    loop at i_ekko.
    perform fill_data. " TABLES I_EKPO.
    endloop.
    LOOP AT I_EKPO.
    WRITE :/ I_EKPO.
    ENDLOOP.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    *LOOP AT I_ERROR.
    WRITE :/ I_ERROR.
    ENDLOOP.
    form get_data.
    call function 'WS_UPLOAD'
    exporting
       codepage                      = ' '
       filename                      = p_file
       filetype                      = 'ASC'
       headlen                       = ' '
       line_exit                     = ' '
       trunclen                      = ' '
       user_form                     = ' '
       user_prog                     = ' '
       dat_d_format                  = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = itab
    exceptions
       conversion_error              = 1
       file_open_error               = 2
       file_read_error               = 3
       invalid_type                  = 4
       no_batch                      = 5
       unknown_error                 = 6
       invalid_table_width           = 7
       gui_refuse_filetransfer       = 8
       customer_error                = 9
       others                        = 10
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    endform.                    " GET_DATA
    *&      Form  FILL_DATA
          text
         -->P_I_EKPO  text
    form fill_data. " tables   i_ekpo .
    perform bdcscreen using 'SAPMM06E' '0105'.
    perform bdcfield using 'RM06E-BSTNR' i_ekko-ebeln.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    loop at i_ekpo where ebeln = i_ekko-ebeln.
      V = I_EKPO-EBELP.
    perform bdcscreen using 'SAPMM06E' 0120.
    perform bdcfield using 'BDC_CURSOR' 'RM06E-EBELP'.
    perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    perform bdcscreen using 'SAPMM06E' 0120.
    perform bdcfield using 'BDC_CURSOR' 'EKPO-MENGE(01)'.
    perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
    perform bdcfield using 'EKPO-MENGE(01)' i_ekpo-menge.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    *PERFORM BDCSCREEN USING 'SAPMM06E' 0120.
    *PERFORM BDCFIELD USING 'BDC_CURSOR'  'RMO6E-EBELP'.
    *CLEAR V.
    endloop.
    perform bdcfield using 'BDC_OKCODE' '=BU'.
    call transaction  c1 using i_bdcdata mode 'A'
                                       messages into i_error.
    refresh i_bdcdata.
    endform.                    " FILL_DATA
    *&      Form  BDCSCREEN
          text
         -->P_0140   text
         -->P_0120   text
    form bdcscreen using    p_program p_screen.
    i_bdcdata-program = p_program.
    i_bdcdata-dynpro = p_screen.
    i_bdcdata-dynbegin = 'X'.
    append i_bdcdata.
    clear i_bdcdata.
    endform.                    " BDCSCREEN
    *&      Form  BDCFIELD
          text
         -->P_0145   text
         -->P_I_EKPO_EBELN  text
    form bdcfield using    fnam fval.
    i_bdcdata-fnam = fnam.
    i_bdcdata-fval = fval.
    append i_bdcdata.
    clear i_bdcdata.
    endform.                    " BDCFIELD
    I hope same thing for sales order ,i mean both has Table control
    Reward Points if it is helpful
    Thanks
    Seshu

  • WBS or Proj.Defination at Vendor Line item

    Hi,
    can anybody help me by providing information as -
    IS it possible to populate the WBS or project defination field to Vendor line item during logistic invoice verification.
    as in our case we need the project wise vendor outstanding.
    Or is there any other report thru which we can get the same report.
    Thanks & Regards
    Mahesh

    Hi Mahesh,
    In MIRO while entering Logisitics Invoice Verification, go to Details Tab and enter WBS number in Assignment.
    It says "The assignment number is an additional information reference field in the line item.
    The program can display the account line items sorted according to the content of this field.
    You can either enter the field contents manually, or have the system define them automatically in the master record via the sort key field.
    Regards
    Tushar

  • Too Many Line Items While Creating a PO

    Dear All,
    Here we have a scenario:
    We are creating a PO which is having around 10000(ten thousand) line items, and while saving system is showing error message "Too Many PO Line Items" Message No: FI899. and not able to save it.
    Kindly Let me know is there any limit for line item creation in a PO.
    Regards,
    Ravi B

    Limitations are limitations, you need a workaround or pay SAP for an extra developement. Probably worth, if you have such POs everyday.
    ( I cannot even imagine for what reason a PO should have more than 10000 items. Manual maintenance is impossible, the person would sit for a week and more to finish one PO. the CSR at your vendor is as well not able to put the items from your PO into their Sales order within a reasonable time frame - order entry should be ready before delivery date is arrived.
    This sounds like you want buy a company and want create just one purchase order to buy any single material they have on stock. But for that purpose the PO is certainly not designed.
    Can you give more background that makes my mind open ?   )

  • Customized drill-down report cannot go to line item level (FGI4 and FGI1)

    Hi Expert,
    I created a customized drill-down report using New GL features, as follows:
    FGI4 create form, with reference to form: 0SAPBLNCE-01
    FGI1 create report for the form created.
    After that I set some things like characteristic, variables, and output type.
    When I execute the report, the data shown cannot be drill-down to line item level:
    Goto > Line Item (this function is disabled).
    Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
    Thanks
    sbmel

    Hi sbmel,
    For calling up a line item report in a drill down report you need to make the below settins:-
    - You first have to generate the line item report with program RGRGENSI for your summary table.
    - Then assign the generated line item report to the summary report.
               Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
                In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
    Regards,
    Gaurav
    Edited by: gka2707 on Jul 19, 2010 8:07 AM

  • G/L line item is stored in BSIS but shown in standard trans. as cleared.

    Hello Experts,
    Why is that there are some G/L line items that my program fetch in BSIS so meaning that
    it is still open but when we check the standard transaction to list G/L line items it shows
    as cleared. Hope you can help me guys. Thank you and take care!

    hi Viraylab,
    in BSAS you'll find items which are cleared and open item managed. In BSIS you' find items which are not cleared and open items mannaged and all items which are not open items managed at all. When checking the item also check the settings in G/L master. Other possibility is that you simply overlook something.
    ec

  • Switch List Menu in G/L & Vendor Line Item Display

    Hi Dear All Experts,
    I've 2 problems.
    The first one is in the Vendor line item display program.
    copied RFITEMAP and create custom program and then I create new structure (like FAGLPOSX) to show extra fields. (eg. Vendor, User)
    New extra fields are shown when i execute but if I click switch menu from the setting menu, it is shown by the old fields not including new fields.
    The second one is in the GL Line Item display program.
    Even the Switch List menu is enable in the Vendor Line Item display custom program without changing anything for gui status, the switch list menu in my new custom program is disable.(copied from fagl_account_items_gl).
    Thks all in advance..
    TRA

    the second question is now solved.
    Include ZFAGL_ACCOUNT_ITEMS_DEF (C_REPID_GL     LIKE SY-REPID  VALUE  'FAGL_ACCOUNT_ITEMS_GL') I put custom program name in this field.
    When I changed to std program name, the switch list menu is enable..
    Only the first question is left..
    Please let me know is there any way to solve...
    Best Regards
    TRA

Maybe you are looking for

  • Problem using iPad mirroring with an Apple TV and 4:3 Projector

    I'm a teacher and I've been using my iPad 2 in the classroom for about a year and a half. I would use Apple's VGA Adapter to connect to my projector, which worked fine. I just didn't like being tied down, and the dock connector would come loose very

  • Testing advantages of Premium over Standard

    My company has recently decided to go for Flex 4 to build an app. We're fairly new to Flex and we're about to purchase FB4 licences. We're trying to decide whether to go for Standard or Premium licences. Reading the feature comparison I see the diffe

  • IE 10 Windows 7 64 Bit: Internet Explorer (No Add-ons) does not run

    Many of our Windows 7 laptops started having IE crashes dues to: Description: Faulting application name: IEXPLORE.EXE, version: 10.0.9200.17088, time stamp: 0x53eedc10 Faulting module name: urlmon.dll, version: 10.0.9200.17088, time stamp: 0x53eedc44

  • Home page is loading twice. How do I stop this?

    Whenever I open Firefox, my home page is loaded twice. How do I stop this from happening?

  • Clamd "can't open file or directory"

    I've just installed Mountain Lion Server on a Mac Mini, mainly for use as an email server. Everything is set up and, in the main, working ok except that if I enable anti-virus checking the mail server closes itself. (The other filtering options work