BAPI to update a delivery from  transportation planning stages

Hi,
I need a BAPI Relationship between transportation planning stages and  deliveries
thanks
Dayana

Dear John,
Even it it is a bit late, I think I'm facing same issue.
My target is to use QM notification combined with functional location object (normally part of PM/CS modules).
I did customised my own QM notification with link to functional location.
It is working fine within SAP ERP 6.
Now I want to use BAPI to create notification : BAPI_QUALNOT_CREATE.
Unfortunatly, import parameters based on structure BAPI2078_NOTHDRI does not contain filed TPLNR for functional location.
Within the BAPi a call to function QQM_MAP_EXT_TO_INT is done.
Within this function, mapping between RIQS5 and BAPI2078_NOTHDRI is done.
Structure already RIQS5 contains filed TPLNR Functional location ; if field TPLNR is filled then the BAPI is taking care of the update.
I think I need to :
1) Add field TPLNR functional location to BAPI2078_NOTHDRI
2) Generate mapping MAP2I_BAPI2078NOTHDRI_RIQS5 using transaction BDBD
And then it should work fine.
What do you think ?
Rgds
Gilles

Similar Messages

  • Bapi to Update Mnstransty  (Means of transportation) in  Inbound Delivery

    Hi Guys,
       Can you please let me know any BAPI which could update the mnstransty field (Means of Transportation ) in the Inbound Delivery. BAPI_INB_DELIVERY_CHANGE is not fulfilling this need.

    Hi ,
    u Can try this
    V50I Delivery BAPIs
    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_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
    V50R_CREA Create Delivery from Delivery Due List
    BAPI_DELIVERYPROCESSING_EXEC Delivery Processing: Deliver Preceding Document, Expand Delivery
    thanks
    anurag

  • BAPI for updating Maintain Duration in Transportation and Delivery scheduling

    Hi all,
    Iam looking for a BAPI to update the Duration Times in Transportation and Delivery scheduling. I reluctant to use recording on SM30 Table maintenance T code and use it in LSMW. Is there a BAPI or Standard i/p Program to load these details. I have more than 200000 records to input.
    A list of all BAPI's in Transportation Management module would be great as well.
    Regards,
    Avi

    Hi,
    @praveen: I tried the solution provided by you and it worked for me in this context. But it seems this BADI gets triggered every time the delivery is getting saved. So for my test purposes, I'm triggering this BADI in a program, but in actual scenario, the BADI would be called on every sy-ucomm = 'SICH_T' i.e. SAVE. hence, I can't separate my piece of code using this condition.
    I'm trying to call my FM(update module in collective run mode) inside this BADI in backgrnd task as a separate unit but this doesn't seem to work.
    Any more suggestions?
    Thanks
    Ashish

  • BAPI to get inbound delivery from material serial number

    BAPI to get inbound delivery number from material serial number?
    input---material serial number.
    output--inbound delivery number.

    Perhaps instead of using a BAPI you can code it like this.
    DATA:serial(10) TYPE n VALUE '0000340078',
    pos TYPE i VALUE 1.
    START-OF-SELECTION.
      WHILE pos <= 10 AND serial+pos(1) = 0.
        pos = pos + 1.
      ENDWHILE.
      REPLACE ALL OCCURRENCES OF '0' IN serial(pos) WITH space.
      WRITE serial.

  • BAPI to create Delivery from Sales Order posting EIKP data

    Hi All,
    I'm searching for BAPIs to create a Delivery from Sales Order which I can update/insert data into EIKP table because I am receiving data that it must be saved into ZOLLA and ZOLLB fields (Customs Office: Office of Exit/Entry and Destination for Foreign Trade).
    I tried with BAPI_OUTB_DELIVERY_SAVEREPLICA, BAPI_OUTB_DELIVERY_CREATE_SLS and BAPI_DELIVERYPROCESSING_EXEC but I didn't find structures with these fields.
    Please, I need some help to resolve this issue.
    Thanks in advance.

    Hello Manoj what you have to do to create PO from PR is that
    1) Use   BAPISDORDER_GETDETAILEDLIST (pass sales order number in sales_document table) and then get PR (Purchase requisition number from this BAPI.
    2) Use  BAPI_REQUISITION_GETDETAIL to get PR items
    3) Use BAPI_PO_CREATE1 to craete PO from PR then.
    to create goods movement you can use
    BAPI_GOODSMVT_CREATE
    REWARDS IF USEFUL.

  • Finding transportation planning point in the document

    hi all,
    i want to create the shipment order for a delivery for which i need to know the *Transportation planning point and shipment type.
    i have the delivery document.
    i want to know the transportation planning point from it.
    where can i look for it.
    thanks
    Harini

    Hi there,
    You will just find transportation planning date in  delivery. Transportation planning point will be in shipment doc in VT03.
    In VT03, give the shipment num --> click on doc flow or top left hand corner icon shipments & deliveries. It will show the the num of deliveries in the hsipment of it is a collective shipment. If it is an individual shipment it will show the single delivery num.
    In the shipmnet doc you will find the transportation planning point.
    Regards,
    Sivanand

  • Updating a delivery

    Hi,
    We have an outbound delivery in SAP. An external system (haulage system) sends us in a flat file with the forwarding agent and the cost associated with each item on the delivery. Using a proxy we are hoping to be able to update the delivery with the forwarding agent and put a cost condition (statistical) on each item on the delivery.
    Does anyone know of a function module / BAPI to update the delivery?
    Thanks in advance,
    Finbarr

    Hi Max,
    Thanks for your reply.
    The function module does not give the option to update the statistical cost on each item on the delivery. Any idea on this?
    Thanks,
    Finbarr

  • Updating Outbound Delivery Bill-to Using SD_PARTNER_UPDATE

    Hi everyone,
    I have a requirement to update the outbound delivery partners, specifically Bill-to and Payer.
    The customer system version is 4.6c, so the BAPI to update the delivery found in 4.7 onwards is out of the question for now.
    I found a function module SD_PARTNER_UPDATE, however I am having difficulty in making it work, even with the COMMIT statement.
    Does anyone have any experience in using the function module, and can you provide at least an idea on how to populate and properly use it?
    Thanks in advance.

    A better option would be to use a break point on this FM while creating a sales order. That way you will know how standard uses this FM.
    Thanks,
    Vikram.M

  • BAPI or IDOC to update Transportation Planning Point through IE02

    Hi All,
    I am looking for a BAPI or IDOC(basic Type) through which I can update Transportation planning point(TPLST) field through IE02 transaction.
    please refer table /DSD/RP_FLTTPLST for equipment number related to TPLST.
    Regards,
    Surya Kiran

    should I use BDC recording ??

  • Delivery 0080000276 is not relevant for transportation planning.

    At the time of (delivery related) invoice creation, system throws a message "check the error log".
    Log says:
    " Error Log             0080000276 000010 Delivery 0080000276 is not relevant for transportation planning
                LongText
                    Detail
                     Diagnosis
                         Copying control for billing requires that shipment costs
                         are copied from the shipment belonging to this delivery.
                         No shipment costs could be determined, because this
                         delivery is not relevant for transportation planning.
                     System Response
                         The system assumes that no shipment costs are to be billed
                         in this case.
                Technical data
                    Tech. data details
                     Client                                 251
                     Group Number
                     Sales Document Number                  0080000276
                     Item Number of the SD Document         000010
                     Schedule Line Number                   0306
                     Counter in Control Tables              00
                     Message Identification                 VY
                     System Message Number                  306
                     Output Type                            I
                     Message Variable 01                    0080000276
                     Message Variable 02
                     Message Variable 03
                     Message Variable 04
                     Group Type                             F "
    Please advice if anyone have any idea for this error log.

    Error Log 0080000276 000010 Delivery 0080000276 is
    not relevant for transportation planning
    It is not necessary to assign the Transportation Planning to Delivery type.  Only recently, I completed a similar configuration and running successfully for a client.  The issue is  because of your copy control VTFL.  For more information, check note 713171.
    thanks
    G. Lakshmipathi

  • BAPI or FM to create outbound delivery from Sales order

    Hello All,
    My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
    For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
    The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
    I should not use two FM.
    Could you please tell me some FM which does both in one go?
    Thanks and Regards,
    Rahul Sinha

    Hi
    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    kwmeng LIKE vbap-kwmeng,
    matnr LIKE vbap-matnr,
    werks LIKE vbap-werks,
    END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
    WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
    WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
    INTO TABLE t_vbap
    FROM vbap
    WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    t_request-document_numb = t_vbap-vbeln.
    t_request-document_item = t_vbap-posnr.
    t_request-quantity_sales_uom = t_vbap-kwmeng.
    t_request-id = 1.
    t_request-document_type = 'A'.
    t_request-delivery_date = sy-datum.
    t_request-material = t_vbap-matnr.
    t_request-plant = t_vbap-werks.
    t_request-date = sy-datum.
    t_request-goods_issue_date = sy-datum.
    t_request-goods_issue_time = sy-uzeit.
    APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    TABLES
    request = t_request
    createditems = t_created
    return = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
    MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: / 'Delivery ', t_created-document_numb.
    Regards,
    Sreeram

  • BAPI to update planned price 2

    Dear All,
    Could some one tell the BAPI to update the planned price 2 ( Costing view of MM) ?
    Thanks,
    Ram

    Hi Ram
    Why not use Lsmw? It will be less expensive
    Typically, you can use any Bapi that changes the material masters. You can search it in the T Code BAPI
    Also, if you have few materials, use MM17 or MASS and copy paste from excel into it
    Br. AjayM

  • Help! how to create an outbound delivery from a project using a FM/BAPI?

    Hi,
    I need help to find a BAPI or FM which can be used to create an outbound delivery from a project similar to tcode CNS0?
    The following data will be used in creating the outbound delivery from a project:
      Project definition
      WBS Element
      Network
      Shipping Point
      Ship_To_Party
      Plant
      Storage Location
      Planned Goods Movement Date
      Delivery Type  : LP
      Sales Organization
      Distribution Channel
      Division
      Item Number
    Please help me find the appropriate BAPI or FM to create the delivery from project.
    Any help on this would be greatly appreciated.
    Thank you.
    with regards,
    Muthu Ganapathy.

    Hi Ferry Lianto,
    Thank you for your response.  Do you have a sample code to call this FM? Or can you please provide me what all parameters I need to pass to create delivery from project?    My input parameters are as given below:
    Project definition
    WBS Element
    Network
    Shipping Point
    Ship_To_Party
    Plant
    Storage Location
    Planned Goods Movement Date
    Delivery Type : LP
    Sales Organization
    Distribution Channel
    Division
    Item Number
    Please help me on this.
    Thank you.
    with regards,
    Muthu Ganapathy.

  • BAPI Create delivery from scheduling agreement

    Hello,
    Does anyone have code to create a delivery referencing a scheduling agreement?  
    Thanks,
    Evan

    I dont think there is a BAPI to create delivery from the schedule lines .
    You can get the details of schedule lines from the VBEP  table and use the FM BAPI_OUTB_DELIVERY_CREATE_SLS.
    This becomes very cumbersome in case there are partial deliveries per schedule line.

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

Maybe you are looking for

  • How do I add another three computers to my creative cloud license?

    I have an educational license for Adobe Creative Cloud, but I want to add another three licenses. When I try to purchase a creative cloud license, you refer me back to the fact that I already have a license. I'd like to purchase another license for a

  • Itunes library won't play music on my ext hdd

    I have approx 1400 cd's catalogued on itunes (library) the music is stored on a portable hard drive. When I try and play a song it tells me itunes cannot locate the file, it then asks would I like it to locate the file. When I answer yes it will take

  • My Fire Fox is just gone! I click on Icon and NOTHING.

    My Fire Fox is just gone! I click on Icon and NOTHING. Tried to re-download and it keeps telling me Fire Fox is running it can't download until I close it. BUT there is nothing open! I have shut my Lap Top down and re-started ,then tried download aga

  • PDF to PS: fonts missing with Reader8, ok with Reader5

    Hello, I would appreciate help on this issue with Adobe Reader8 with some files. I am using Adobe Reader on Solaris (sparc) and I use      /path/to/acroread -toPostScript -pairs file.pdf file.ps to create PostScript files.  This works fine for most f

  • PSE 11 suddenly stops working

    Hi there, I have never had issues with PSE 11 at all, nor PSE 9 prior to that.  Suddenly, I am experiencing "fault bucket" errors and the "photoshop elements 11 has stopped working" error.  It always occurs when I am accessing a plug-in; either a Top