Link between service order and terms of payment

Hello experts,
can anybody tell me the link between an order and terms of payment of the current buyer? Which tables do I have to join? Or is there any function module to use for that purpose?
Very urgent!
Thanks in advance
Tanja

Hi Tanja,
instead of directly selecting some data from the DB tables you should read this information via the BOL (c.f BOL Programing - CRM - SCN Wiki for a short introduction).
Using the transaction GENIL_MODEL_BROWSER you can browse through the data model and find the suitable relations for reading the required data. In your case one possible approach to access the data is BTAdminH->BTHeaderBillingSet->BTBillingSetBuAg. Once you have the BuAg BOL object you can simply read the TOFPAYM property.
Best,
Christian

Similar Messages

  • Link between Purchase order and Attachment list

    Hi All,
    I got a requirement like Purchase orders are from moved from one system to another system.There was a bug in BDC program
    so some Attachment list of the purchase orders are not moved properly to the another system.
                                                   Now my client want a report to generate the Purchase orders which is having attachment list.
    I did not find any table link between Purcahase order and Attachment list.
                                                  So Plz provide me the link between purchase order and attachment list.
    Thanks,
    Ram

    You mean service for object services?
    if yes then u have to create one custom report for Generic Object Services   ( like notes , attachment  , url )

  • Link between process order and sales order for planning strategy 52

    Hello,
    I investigate the possibility of a link between "sales order" and "planned order / process order" for the usage of planning strategy 52 (planning w/o final assembly, make to stock).
    I know, this is not conform to the basics of planning strategies (EITHER make to order OR make to stock) and I suspect it would be a modification. Of course we have the alternative "make to order" - strategy 50, but we do not want to use individual customer stocks.
    Is anybody there with similar customer requirements or project experiences?
    Thanks in advance,
    Joerg
    Message was edited by:
            Jörg Demtschuk

    Hi Jorg,
    To my understanding if you need hard pegging then in SAP only Individual requirement is possible.
    Or else you need to create a custom transactions/table to identify Sale order and when ever a process order is created by selecting the sale order record, the process order detials should also get updated against that.
    You need to take the help of ABAP expert for this,
    Regards,
    Prasobh
    Reward points if this was useful

  • Need help to find out link between process order and purchase order.

    Hi All,
    Need help to find out link between process order and purchase order.
    We have purchase order, we can find out associated process order in MD09 (No Purchase Requisition found in Purchase order). When I tired to replicate this scenario with same material in system but not able to do.
    Please suggest me what needs to check to get purchase order link to process order.. (this is not subcontracting )
    Edited by: SAP PQ on Sep 26, 2011 5:24 PM
    Thanks,
    SAP PQ
    Edited by: SAP PQ on Sep 26, 2011 5:24 PM

    MD09 is pegging. In SAP pegging is dynamic, meaning that there's no fixed link between purchase order and process order in your case.
    This is why you did not get the same result when you tried again later.
    Such a link can exist only if you do direct procurement for the order.

  • Regarding creating a LOOSE LINK between Sales Order and Vehicle

    Hi,
    Does anyone has any idea on how to establish a LOOSE LINK between Sales Order and Vehicle using BAPI_VEHICLE_CREATE or any other Function module.
    Any help will be highly appreciated and rewarded.
    Kind Regards,
    Tanuja

    Dear Kumar,
    Strategy - 40
    Consumption of PIR (not Redution)
    1) the first point in strategy in 40 is, incoming sales order consumes PIR
    2 )both sales order and PIR takes place in MRP planning run
    2) this is where it is in mostly used in many indutries
    just a small example how this strategy works
    1) creat PIR for ur FERT- 100Nos
    2) check in MD04- u will get PIR (VSF) as 100
    3) now creat sales order for 120 for same month
    4 )run MRP for that particular FERT
    5) check the result in MD04, here ur PIR gets vanishied and an plan order will be generated for 120 Nos.
    Regards
    kumar
    Edited by: kumar kumar on Jul 22, 2009 8:29 AM

  • Link between Sales order and Credit master sheet

    Hi,
    Plz explain the link between sales order and credit master sheet.
    Thanks and regards
    CSR

    Hi,
    Credit master is related to Customer.
    Credit limit will be assigned to a customer by using the T.Code FD32.
    Credit control area will be assigned to a customer.
    You can the credit control area for a customer in the table "KNVV".
    Goto the T.Code "FD32".Enter your customer number and credit control area.Select the status tab.
    Here you can maintain the credit limit.If you leave blank means the limit is 0.00.
    Next thing is goto the T.Code "OVAK".
    Select your sales order.Maintain the "Credit limit check" for your order type.
    Goto the T.Code "OVA8".Select your valid combination.Here,you can activate either the static or dynamic credit limit checks.
    If you create the sales order by using the customer,initially the system will check for the credit limit.If it is 0.00 and credit check functionality is activatd in the above specified T.Codes,then creditcheck will happen and order will be blocked for releasing of credit by using the T.Code "VKM3".Authorised persons have to release this credit block.Suppose,you have maintained this credit limit as "1000Rs/-" and you are creating the order of value "550Rs/-",then your order will not be blocked even though the credit check functionality is activated for your order type.
    In this way,sales order is in turn related to credit master.
    Regards,
    Krishna.

  • Link Between Service Notification and Sales Order

    Hi All,
    In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
    Please guide me.
    With Regards
    Vinu.N

    Hello Vinu
    For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
    Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
    That is a solid link right there.
    I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
    Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
    Hope this helps.

  • Difference between Service order and service contract

    Hi
    Can any one plz differenciate the service contract and service order??
    why only service contract products can carry object list entries and why not service products??
    Thanks in advance.Appriciated with points.
    Regards,
    Nagi Reddy

    Service Order:
    A service order is a short-term agreement between service provider and service recipient, in which one-time services are ordered by the service recipient and resource-related billing performed upon completion. Such an order could be, for example, to maintain or repair some equipment, making it necessary to send a technician along with spare parts. These services are usually billed.
    Service Contracts:
    Service contracts are outline agreements with business partners which define services offered for a particular period. You support service contracts by processing contract-based and planned services.
    Service contracts represent long-term service agreements with customers in relation to the content and scope of services guaranteed within specific tolerance limits for certain parameters, for example, within a predefined timeframe.
    I hope this helps

  • Link between Purchase Order and Production Order

    Hi,
    Could some one tell me how i could get a relation ship between Purchase order and Production Order after a Good receipt is done. Coz after a GR is done I am not able to see the production order for a particular material in MD04 transaction.
    Thanks,
    Arul.

    Hi Arul ,
    i think u may not get the LINK b/w Production Order and PO , Bcos--->
    check the process --->
    RUN MRP , here System will generate the Production Plan and PRs( based on the avail.of that Raw Material).So PO will be generated by PRs.So I think there is no link b/w Production and Purchase .
    this is based on the my system settings and my knowledge.
    Regards
    Prabhu

  • API to create a link between Sales order and Requisition

    We are upgrade 11i to R12. We have a custom drop ship process. We have a original SO and through the sales order we create a Reqisition. We send the requisition details to the factory and the factory sends us a flat file with the quantity shipped and dates. There might be multiple lines for each requisition received. We will add the details to the SO and update the Requision with the flat file details for the SO shipment. But We will have to create a link between the SO and the requisition. Is there an API to do the linking between a SO and A requisition line?

    I created a SO and a requisition
    declare
    p_rsv inv_reservation_global.mtl_reservation_rec_type;
    p_dummy_sn inv_reservation_global.serial_number_tbl_type;
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(240);
    x_rsv_id NUMBER;
    x_dummy_sn inv_reservation_global.serial_number_tbl_type;
    x_status VARCHAR2(1);
    x_qty NUMBER;
    l_inventory_item_id number;
    l_source_header_id number;
    l_reservation_qty number;
    l_error_message VARCHAR2(300);
    l_order_number NUMBER;
    begin
    fnd_global.APPS_Initialize(1131,50654,660);
    p_rsv.reservation_id := NULL;
    p_rsv.requirement_date := to_date('30-JUN-2012','DD-MON-YYYY');
    p_rsv.organization_id := 88; ---ship_from_org_id
    p_rsv.inventory_item_id := 147001; --inventory_item_id
    p_rsv.demand_source_type_id := inv_reservation_global.g_source_type_oe;
    p_rsv.demand_source_name := NULL;-------'SALES ORDER';
    p_rsv.demand_source_header_id := 27005; --- sales order header id
    p_rsv.demand_source_line_id := 29010; --- sales order line id
    p_rsv.primary_uom_code := 'EA';
    p_rsv.primary_uom_id := NULL;
    p_rsv.reservation_uom_code := 'EA';
    p_rsv.reservation_uom_id := NULL;
    p_rsv.reservation_quantity := 200;
    p_rsv.primary_reservation_quantity := 200;
    ----p_rsv.supply_source_type_id := inv_reservation_global.g_source_type_internal_req;
    p_rsv.supply_source_type_id :=inv_reservation_global.g_source_type_inv;
    p_rsv.supply_source_header_id :=18001; -- requisition header id
    p_rsv.supply_source_line_id :=12172; -- requisition line id
    p_rsv.supply_source_name := NULL;
    p_rsv.supply_source_line_detail := NULL;
    p_rsv.autodetail_group_id := NULL;
    p_rsv.external_source_code := NULL;
    p_rsv.external_source_line_id := NULL;
    p_rsv.supply_source_line_detail := NULL;
    p_rsv.revision := NULL;
    p_rsv.subinventory_code := NULL;
    p_rsv.subinventory_id := NULL;
    p_rsv.locator_id := NULL;
    p_rsv.lot_number := NULL;
    p_rsv.lot_number_id := NULL;
    p_rsv.pick_slip_number := NULL;
    p_rsv.lpn_id := NULL;
    p_rsv.attribute_category := NULL;
    p_rsv.ship_ready_flag := NULL;
    p_rsv.demand_source_delivery := NULL;
    p_rsv.attribute1 := NULL;
    p_rsv.attribute2 := NULL;
    p_rsv.attribute3 := NULL;
    p_rsv.attribute4 := NULL;
    p_rsv.attribute5 := NULL;
    p_rsv.attribute6 := NULL;
    p_rsv.attribute7 := NULL;
    p_rsv.attribute8 := NULL;
    p_rsv.attribute9 := NULL;
    p_rsv.attribute10 := NULL;
    p_rsv.attribute11 := NULL;
    p_rsv.attribute12 := NULL;
    p_rsv.attribute13 := NULL;
    p_rsv.attribute14 := NULL;
    p_rsv.attribute15 := NULL;
    inv_reservation_pub.create_reservation
    p_api_version_number => 1.0
    , x_return_status => x_status
    , x_msg_count => x_msg_count
    , x_msg_data => x_msg_data
    , p_rsv_rec => p_rsv
    , p_serial_number => p_dummy_sn
    , x_serial_number => x_dummy_sn
    , x_quantity_reserved => x_qty
    , x_reservation_id => x_rsv_id
    IF x_status='S' THEN --- HARD RESERVATION IS DONE SUCCESFULLY ---
    dbms_output.put_line('reservation succesful');
    dbms_output.put_line('reservation id: || x_rsv_id');
    ELSE
    if(nvl(x_msg_count,0) = 0) then
    dbms_output.put_line('no message return');
    else
    for I in 1..x_msg_count LOOP
    l_error_message := fnd_msg_pub.get(I, 'F');
    end LOOP;
    end if;
    --- HARD RESERVATION API fails ---
    dbms_output.put_line('Reservation API Error Message: '||l_error_message);
    END IF;
    EXCEPTION
    WHEN OTHERS THEN ------------------ In case of any pl/sql error
    l_error_message := SQLERRM;
    dbms_output.put_line('Plsql Error Message: '||l_error_message);
    END;
    but i am getting an error
    "Reservation API Error Message: INV_RSV_DS_SO"
    I am stuck and no idea how to fix this. Any help is appreciated.
    Edited by: 901524 on May 23, 2012 1:26 PM

  • Difference between service order and repair order?

    hi all,
    pl help me in understanding the difference between a service order and  repair order.
    pl tell me what is the process to create service order?
    what is the process to create a repair order?
    how we will know by looking into the order whether it is a service order or a repair order.
    thank you,
    hun

    Hun,
    Provides support for the complete Service processing lifecycle from Service Quotation creation to Billing. A service order is created if the customer has to be billed for services like utility usage, no. of pages printed (using counters etc). Service Order processing includes integrated validation of service contract price agreements and warranty entitlements.
    The cycle is :
    Business Scenario – Service quotation and service order management
    A.     Make inquiry – Customer contacts and requests for quotation
    B.     Create and communicate quotation – service rep. creates a quotation and sends it to the customer
    C.     Accept the quotation
    D.     Convert quotation into service order – and release the order
    E.     Create and optimize assignments - The Resource Planner assigns any field service tasks to one or more of his Field Service Representatives
    F.     Execute assignment, perform confirmation - The Field Service Representative performs the service assignment at the customer site and performs confirmation for the work done, materials used and so on
    G.     Approve confirmation, assign costs - The Service Manager checks and approves the confirmation data and decides which costs should be billed to the customer
    H.     Bill customer, perform analyses - The Service Manager triggers billing of the customer and performs analyses of the complete service order processing cycle
    Where as a repair order would be created when a customer finds a defect in say a product and the requests for a repair of replacement.
    The cycle is:
    The business scenario
    1.     Enter repair request
    The customer calls the service organization to request a repair. The agent enters the repair request. The system checks whether a warranty exists.
    2.     Send in defective product
    The customer sends in the product using the given return material authorization number.
    3.     Plan repair steps
    A service representative performs the technical analysis and enters the inspection result (causes, tasks, etc.). He decides what action should be taken based on the inspection result.
    4.     Create service quotation
    The system calculates the price for the planned repair and required spare parts, according to the price agreements in the service contract, and the warranty costs. The agent generates a service quotation.
    5.     Perform confirmation
    The customer accepts the quotation. The service representative repairs the product and confirms his working times and materials used. He also documents the inspection results.
    6.     Return repaired product
    The service representative returns the repaired product to the customer.
    7.     Create invoice
    The service representative triggers customer billing, based on the confirmed time and spare parts used, and in accordance with existing warranties and specific price agreements.
    8.     Analyze defect reasons
    Using predefined queries and reports, the service manager analyzes the most important defect reasons.
    Refer to CR700 - Service for details info.
    Regards,
    Julius

  • Link between Service Order / Confirmation in CRM and Purchase Order in ECC

    Hi all,
    Does anyone knows what the possible link is between a Service Order / Service Order Confirmation in CRM and a Purchase Order in ECC ? I heard that this could be found somewhere in the document flow of a Service Order ....
    How do we get the Purchase Order number from ECC in the Document flow section of an Service Order in CRM ?
    We need the PO number somehow to be able to create a Goods Received document in ECC from CRM.
    BR,
    Abjuh

    Hello Abjuh,
    As of CRM 4.0 (with Service Industry extensions), you can automatically create ECC Purchase Orders from a CRM service order.
    It is possible to track the status of the individual service order items with the document flow.
    Please refer to the SAP Help for more information.
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/8bae7e9e886160e10000000a1553f7/frameset.htm
    Kind regards,
    Kristoff.

  • Link between Service Call and Marketing documents not working

    Hello all,
    I found a field in Marketing Documents - Rows data - that should be the link between a Service Call and the Marketing Documents.
    The field is for example "INV1.isSrvCall" but, even if I create an Invoice from the Service Call, the field will be populated with the value "N".
    Dows anyone knows how to make this field work? Or any workarround to make the connection between a Service Call and the generated documents?
    Thanks in advance,
    Kind Regards

    The problem with SCL4  is that SAP updates it way too late in the process to be meaningful while in the module. You create a service order, then go into the expense document. That is when we need to know the service call id and the internalsn of the equipment being worked on Only when you get out of the service module do SAP post to SCL4.  
    The data (before writing to SCL$) exists as a veriable on the original service form.  But can we access it from the expense document?
    The question is how to access the data (service id) on the original service form from an expense document within the servide module. It is the service form, and that is currently not in focus, so I do not know if you can access it as a varaible, while in the expense document (sales order or invoice) that is in focus.
    Can any one help with this/
    David

  • Link between sales order and purchase order

    plz explain the link between the sales order and purchase request

    Hi Javed,
    Their are 2 scenario for this.
    1) You create a sales order and the system automatically creates a PR and then you convert to PO.This is third party sales.In PO account assignment the sales order number is directly copied to the PR And PO.
    2) You create a PO wrt to SO .The goods received will be reserved for that SO. third party PO Vendor will directly deliver the goods to customer.The delivery address is copied from sales order.
    Techincally
    EKKN table you have sales order and Item fields (VBELN and POSNR)
    using these fields search for the deliveries in LIPS table
    EKKN-VBELN = LIPS-VGBEL and
    EKKN-POSNR = LIPS-VGPOS
    Edited by: Raj on Jun 19, 2008 6:58 PM

  • Crystal report link between sales order and picklist

    Hi,
    Good day!
    I am making a picklist document using crysal report. My requirement is to show the sales order number, cardcode, cardname, itemcode, released qty in the picklist. the tables i linked in crystal are the ff:
    RDR1.DocEntry linked to ORDR.DocEntry and ORDR.DocNum linked to PKL1.OrderEntry.
    I have a sales order with 2 items and then I processed picklist for it. When I run the report, my problem is that it shows the items twice.
    Scenario:
    Sales Order 1:
    Item A   2
    Item B   1
    When I run the report, it's like this:
    Item A 2
    Item A 1
    Item B 2
    Item B 1
    I'd already tried adjusting the links but still can't get it.
    Please help me.
    Thanks so much.
    SIncerely,
    Jackilou

    Hi,
    could you please describe how you solve this issue?
    Thank you very much!
    Regards,
    Tobias

Maybe you are looking for

  • TypeError: Error #2007: Parameter text must be non-null

    I am new to AS period, but I am following some training videos for AS 3.0 to create a portfolio site where the images and text are loaded by xml. I have followed the instructions to the letter; however I am getting the #2007 Parameter text must be no

  • Null Pointer Exception - PolicyRuntime.java

    hi.., Im developing a Java Web Service Client using jaxrpc in WebSphere 5.1 . But im gettin an exception like this: java.lang.NullPointerException      at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)      a

  • Mapping a network folder stored on an Apple Xserve to a Windows user a/c.

    I have a number of domain users who need to get there individual network folder mapped to there profile when they log onto the domain from various MAC in the building. We use a batch file that maps the users network home folder to there profile when

  • What type of format is the PowerPC processor?

    Just a simple question, what type of format is the PowerPC processor? I know Intel processors on later Macs is GUID.

  • Run Time Error - Timeout (QA32)

    Hi Gurus, Iam getting Run time error when i execute QA32 transaction. it is throwing a short dump while saving the document after entering the details in Usage decision. Please let me know how to go about it. thanking you all advance for your kind he