Tryping to update forwarding agent

I am trying to update forwarding agent(
Parvw = CR partners) in delivery using function module
SHP_DELIVERY_PARTNER_UPDATE. but it is not working in
code, but it is working from se37.I am not getting why it is so..

Hi,
Actually you don't have to give these points to me, because you are just closing it. What you should do is to choose the option that says 'Solved by me' right next to your original post. Now you need to unassign the points for me and then you can do the 'Solved by me'.
I will look into your BAPI tomorrow when I get to the system.
Regards,
Srinivas

Similar Messages

  • Can anybody help me in updating forwarding agent

    I am trying to update forwarding agent(
    Parvw = CR partners) in delivery using function module
    SHP_DELIVERY_PARTNER_UPDATE. but it is not working in
    code, but it is working from se37.can anybody tell me why it is so ad what to do

    Hai Srinivas..thanks for ur valuable reply and sorry for opening 2 posts...
    I am trying to call from se38
    and the code is
    DATA : it_partner type shp_partner_update_t,
          partner type shp_partner_update.
          partner-VBELN_VL = '0080955348'.
          partner-parvw = 'CR'.
          partner-parnr = '0000005305'.
          partner-UPDKZ_PAR = 'I'.
          partner-hausn = '000000'.
          append partner to it_partner.
    DATA:    BEGIN OF YVBADR OCCURS 1.
               INCLUDE STRUCTURE SADRVB.
    DATA:    END OF YVBADR.
    Aktueller Tabellenstand
    DATA:    BEGIN OF XVBADR OCCURS 5.
               INCLUDE STRUCTURE SADRVB.
    DATA:    END OF XVBADR.
    DATA: BEGIN OF XVBPA OCCURS 0.
            INCLUDE STRUCTURE VBPAVB.
    DATA: END OF XVBPA.
    Belegpartnertabelle : Alter Tabellenstand beim
    ändern
    DATA:    BEGIN OF YVBPA OCCURS 0.
               INCLUDE STRUCTURE VBPAVB.
    DATA:    END OF YVBPA.
    DATA:    BEGIN OF XVBUV OCCURS 9.
               INCLUDE STRUCTURE VBUVVB.
    DATA:    END OF XVBUV.
    CALL FUNCTION 'SHP_DELIVERY_PARTNER_UPDATE'
        EXPORTING
          IT_PARTNER_UPDATE          = IT_PARTNER
          IF_VBTYP                   = 'J'
          IF_PARGR                   = 'LF'
          IF_VKORG                   = 'US01'
          IF_VTWEG                   = '00'
          IF_SPART                   = '00'
          IF_IGNORE_UPDATE_ERRORS    = SPACE
        TABLES
          CT_XVBPA                   = XVBPA
          CT_YVBPA                   = YVBPA
          CT_XVBADR                  = XVBADR
          CT_YVBADR                  = YVBADR
          CT_XVBUV                   = XVBUV
        EXCEPTIONS
          MISSING_PARTNER_SCHEME     = 1
          PARTNER_CHANGE_NOT_ALLOWED = 2
          ERROR_ON_PARTNER_CHANGE    = 3
          OTHERS                     = 4.
      IF SY-SUBRC NE 0.
      write : 'error'.
      else.
      commit work.
      write 'updated'.
       ENDIF.

  • Error while changing forwarding agent in shipment

    Hi all,
    Im trying to make change in forwarding agent for a shipment in VT02n . When i try to save it , one pop up came with message "Express document - Update was terminated by author''  .
    The error info is " ZT 907: The communications link to the IT System has been interrupted"
    Any idea why this error is coming ?
    Thanks in advance .
    Regards,
    Anil

    ru trying to modify the SAP internal table in the user exit. Modify index is wrong or update indicator can be an issue. Check the custom message ZT-907

  • Shipment forward agent incorect in MIRO invoice

    Hello,
           I met an issue. Because user input wrong forward agent A in shipment, so we cancel the shipment cost and deleted.
    Then we updated  the forward agent B in shipment, and created a new shipment cost, then transferred, But when we
    used MIRO to do the invoice, the vendor still is pervious one A, and I test it in Q system, I got 2 vendors for selection,
    why was the pervious one still there?
          P.S. In Trasaction MIRO we used delivery note to input shipment number. Thanks.
         I checked the pervious Entry Sheet, it has a deletion indicator, but When I used MIRO, system still will get information
    from that Entry Sheet.
    Best regards
    Sophie

    HI,
    Create the MIRO document with reference to service entry sheet.
    Example: Shipment document created using forwarding agent A, instead of B. In this case follow the below steps.
    Step 1: Cancel the MIRO document using MR8M.
    Step 2: Mark the Cancellation in VI02. Double click the line item go to settlement tab as shown below.
    Step 3: Delete the shipment cost document using VI02
    Step 4: Delete the shipment document using VT02N.
    Step 5: Create the new shipment document using Forwarding Agent.
    Kindly follow the same & update the status.
    Thanks & Regards
    Shankarappa H L

  • Reconcillation account for Forwarding Agent V-11

    Gurus
    I have copied company code from standard 1000, without the G/L accounts.
    I have created account group with OBD4, and G/L accounts withe FS00, which i used in customer master as reconcillation account ( so as to see effect of accounting document)
    While creating forwarding agent V-11 ( For Route determination ), When I use one of the  G/L accounts I created, I get an error
    " Account 4200000000 is invalid reconcillation account in company code XXXX "
    I do not know in detail about settings required for Reconcillation account.
    Would appreciate if explained step by step.
    Regards
    Trupti

    You have not indicated whether you have assigned the Account Group 0005 to your Partner Functions.
    Also, in VT01N, what message system was popping up.  Please update.
    thanks
    G. Lakshmipathi

  • Forwarding agent should not hold empty value

    Hi all,
    In Vt02n transaction while doing shipment completion i need to check if the forwarding agent field is empty or not .
    If it is so i need to raise a error message. After that the forwarding agent field should be opened for input.
    In the include ZXV56U16 (in the exit EXIT_SAPLV56F_011) i wrote a logic for this field check and raised a error message.
    When i tested it the error message was dipalyed but the field is not opeing for inout again.
    Can anyone pls help me on resolving this issue.

    Instead of writing abap code in user exit, you can create an activity profile for the shipment type and status where the validation is required.
    SPRO-Logistics Execution-Transportation-Shipments-Define and Assign Activity Profiles
    In the profile you choose to display a popup window and mark the forwarding agent (VTTK-TDLNR) as mandatory field. As a result, when updating the status in the shipment document the system will ask for a forwarding agent.
    Hope this helps

  • Adding Forwarding Agent to Partner details in a Sales Order.

    Hi Experts,
      Below is the detailed scenario :
      We have inbound orders been created by Idocs Orders04 using the Idoc_Input_orders function module.
    the requirement is that if the partner forwarding agent is not been populated in Idoc then we need to add the same in the SO Partner details from Z table based on the sold to party in the idoc.
    Can anyone please help how I can proceed with the requirement. I have created a Z table and maintain the entries. I am not understanding where i should be doing the Coding for the same.
    Thanks and Regards,
    Nimisha.

    Hello,
    inside the VA01-transaction there are the userexits EXIT_SAPLV09A_001 to  EXIT_SAPLV09A_004 influencing the partner determination. Think most probably you could use the EXIT_SAPLV09A_004
    (Enhancement is V09A0004).
    You could switch on that one and look, which partners are in the order at that point of time.
    Regards
    Wolfgang

  • Forwarding agent payment settlement

    Hi Experts,
    Scenario:  A delivery to a sales order is shipped through a forwarding agent(vendor).
    Example
    A = Company
    B= Forwarding agent(Transporters)
    C= Customer
    Customer places the order with the company for 1 ton bags of cement. For shipping the cement Company takes the service of Forwarding agent(Transporters) to ship the bags to the customer .
    Company  invoice the customer and pays the freight to transporters. 
    As there is no shipment activated in the scenario
    What I have done
    1)      I have created a partner function as Forwarding Agent in the customer master
    2)      And the sales cycle is running fine (Sales order-Delivery-Billing) partner function as Forwarding Agent flowing correctly
    My question is how I will settle the forwarding agents payment of freight? (Which transaction codes involved)
    Is it possible to settle the forwarding agent without activating the shipment and Transportation??
    Need your help in this scenario 
    Regards,
    Munirathnam Reddy

    Hi,
    As understand from your question, you donesnt want to add the freight value in net value in billing but at the same is required to post accounts also.  In those cases create the freight conditon type as accrual condition type, at the time of billing this value not add in the net value but this value will post to the accounts.  This value creates provisional liability  in the books and based on this value company pay the amoount to vendor.
    Rewareds if it helps
    Regards
    Goutham

  • Bill of Lading : Forwarding Agent/Carrier data

    Hello,
    On Bill of Lading report no data are displayed in 'Forwarding Agent/Carrier' section.
    Which kind of data do I have to setup to displayed data in this section ?

    This might helps
    You can create a Bill of Lading category for each delivery leg's Ship
    Method/Carrier you use or define one Bill of Lading category for all Ship
    Methods/Carriers. The advantage to having a different Bill of Lading
    sequence for each carrier is that you could easily identify the carrier
    by looking at the Bill of Lading number.
    In addition to creating document categories by Ship Method/Carrier, you
    can tie a category to a specific delivery's pick-up location. This
    provides the opportunity to have a different BOL sequence for the same
    carrier departing from a different location. An example of this would be:
    For a Viking Freight shipment departing from warehouse 1 the Bill of
    Lading number could look like this: WH1-Viking-12345
    For a Viking Freight shipment departing from warehouse 2 the Bill of
    Lading number could look like this: WH2-Viking-54321

  • How to do Forwarding agent settlement without activating shipment?

    Hi Experts,
    We have below scenario
    Example
    A = Company
    B= Transporter
    C= Customer
    Customer places the order with the company for 100 bags of cement. For shipping the cement Company takes the service of Transporter to ship the bags to the customer .
    Company  invoice the customer  and pays the freight to transporter 
    As there is no shipment activated in the scenario
    What I have done
    1)     I have created a partner function as Forwarding Agent in the customer master
    2)     And my sales cycle is running fine (Sales orde-Delivery-Billing) partner function as Forwarding Agent flowing correctly
    My question is how I will settle the forwarding agents payment of freight? (Which transaction codes involved)
    Is it possible to settle the forwarding agent without activating the shipment??
    Need your help in this scenario 
    Thanks
    Krushnakumar Rathi

    Hi,
    Ideally speaking you have to enable shipment cost in order to settle the cost to the transporter.
    However if you decide not to enable this, you have to do this by means of MM process.
    The forwarding agent should be created as a vendor in MM.
    Once in a month, you have to calculate the total freight to be paid to him by finding out the summation of the freight condition type in the sales invoices.
    Now create  a PO and mention a service (use a material number to represent the service). For this PO, you can trigger automatic GR/Confirmation of Service and creation of logistics invoice with the value of the freight charges.
    Towards this LInvoice, you can settle the amount to the forwarding agent.
    The second way can be by means of credit memos in SD
    Create a Credit Memo request using forwarding agent as the payer (in this case you have to create the forwarding agent as a customer account group)
    The CMR should have the value of the condition type as the frieght value of the invoice in which the frieght is charged to the customer
    Based on this CMR, create the Credit memo and pay the money to the forwarding agent. So the cycle will look like this.
    SO Creation by Customer (Freight charge will be included in SO pricing)
    Delivery to customer
    Invoice sent to customer (with freight value charged to the customer)
    Payment received from customer
    Raise a Credit Memo request using the forwarding agent as the payer
    Include the freight valueof the invoice in teh credit memo
    Create the Credit Memo with reference to the CMR
    Now do the payment to the forwarding agent.

  • Freight charges based on rates per forwarding agents

    Dear all,
    i want to calculate freight chares based on fields plant and forwarding agent rates per EA.
    I have a partner function CR in customer master. In procing table field SPDNR for forwarding agent is not allowed.
    I tried to put LIFNR field but still not working... Kindly suggest me solution asap.
    Regards,
    Sandip

    I think you can either add new fields to KOMP or KOMK (item or header) and populate these fields in userexit_pricing_prepare_tkomp or userexit_pricing_prepare_tkomk
    in both order & invoice programs and then use these fields in condition tables.
    OR you can determine your conditions based on plant and define calculation routine to calculate condiiton value based on forwarding agent

  • Maintain condition record on the basis of Forwarding agent

    Hi,
    How to maintain condition record on the basis of Forwarding agent?
    ie. Forwarding agent  is not there in field catalogue in condition table.what to add and how to maintain condition record for same?
    Reg,
    Antaa21

    Hello,
    Is Forwarding Agent created as Vendor in your system? If yes then field LIFNR - Vendor is available in SAP Standard Field Catalogue for Pricing.
    You need to use this field (LIFNR)in your Condition Table.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Forwarding Agent to make mandatory in Delivery through Incompletion Procedu

    I have made Partner Function CR ie Forwarding Agent as Mandatory in Partner determination. Now when i made delivery and if doesnt feed forwarding agent in partner function then system does not allow to do PGI. Till this it is fine.
    Now my requirement is
    If I dont enter the Forwarding agent ie Transporter name in Delivery( in Partner Function) then In Incomplete data it should show.
    ie I want to add the table and field name in Incompletion Procedure for delivery.
    How to config it
    Regards
    Gaurav Jain

    Hi,
    Use LIKP-LIFNR field in the delivery header incompletion procedure...and assign required ststus group as per your requirement and activate "Warning"check box....
    Regards,
    Chandra

  • Commission to the Forwarding agent

    Hello All,
    I have a client requirment that they have 28 forwarding agents across the country which they treat as storage loction for storing  the product only and they book the sales order on behalf of the stockists to the client directly, the ownership of stock will be with client untill it reaches to stockiest.
    Client has to give them a commission on the basis of what number of sales have been done from this storage location.
    Please suggest  If I  map this forwarding agents as storage locations  in sap. then how will I provide   commision to the storage locations.
    Regards
    Venkat

    Hi,
    Further to the question you asked on the design for the process, you could include a different pricing procedure for Consignment and include a condition type for (i.e. ZCOM) for commission and maintain the relevant condition records as necessary.  Scales etc could also be used to further meet calculation of commission based on volume etc.
    That should easily solve your problem.
    Hope the above helps.
    Thanks.

  • One partner funcation(forwarding agent) another coming automatiacaaly

    Hi
    while creating return order we have to choose forwarding agent then automatically return adress (parter function is added )so i wanted to know where it is amainatained and how it is liked to each other?
    Reagrds,
    Debesh

    Hello Debesh,
    Please check whether the forwarding agent is set as madatory partner function for the partner determination procedure assigned to return order type.
    IMG->SD->Basic Function->Partner determination->Set up Partner determination
    ->for sales document header
    ->Partner Determination Procedure Assignment
    ->check which partner determination procedure has been assigned to the used return order type
    ->Partner Functions in Procedure
    ->Check whether FA has been set as "Mandat.Funct"
    Best regards,
    Smile

Maybe you are looking for

  • How can I retrieve songs from an Apple ID based on a disabled hotmail account?

    I have an old apple ID from a hotmail account that I had to shut down due to security reasons (it was hijacked). My Mac bit the dust but I was able to recover the hard drive and reimage it on a new Mac. The new Mac no longer recognizes my old Apple I

  • Quick review of 10.9 upgraded from 10.6.8 on older MBP

    Hello all, I just upgraded two laptops a MBP15 5,4 and a MBP13 8,1/SSD to 10.9, both from 10.6.8. both have 4GB RAM I read a lot of issues, install problems, slow machines etc, etc.  Here's what i found. Folks here talked me out of doing a clean inst

  • How to submit a PDF document to spool request by coding

    Hi experts, I have a pdf document that is stored somewhere in SAP system, for example MIME repository. So I can read this PDF document and get its content as an xstring. I know SAP can print a smartform directly by calling its function module, or sub

  • Work flow --DMS

    Dear all, I wanted to activate the work flow which could trigger Mail to Specific users at change of document status. ie when ever a Document is Placed for Inspection Request Status, Rejected Status, Changed status. What are the configuration setting

  • EMC Networker, where to get NMO to install?

    Hello all, I've installed Oracle Enterprise Edition 11Gr2. I can see that networker has been installed on the box, and am trying to follow the book (for 10G, but figure it is close) to install and configure NMO to get RMAN to work. This is a RHEL5 bo