BAPI Contract, input structure for "Contract data" ?

Hi All,
I am trying to create contract using BAPI:BAPI_CONTRACT_CREATEFROMDATA. But I am not able to find the structure to fill Header tab "Contract data" like
- contract start date
- contract end date
- Val.period.category
- Contractval.period and soo on ?
Could anyone kindly help..as to how these data could be uploaded ?
Thanks,
Kushi

Hi Kushi
Try these links
BAPI-step by step
http://www.sapgenie.com/abap/bapi/example.htm
bapis
http://www.planetsap.com/list_all_bapis.htm
BTW, are you the same Kushi I think you are? Did you do your ABAP certification in Hyd in Aug'05? Just asking as I had a class mate with the same name
If you find my answer useful, please reward me for the same.
Good luck
Karthik Potharaju

Similar Messages

  • LSMW  Field Mapping: can't map Batch Input Structure for Session Data

    In step 5 Maintain Field Mapping and Conversion Rules, I can not see Batch Input Structure for Session Data Fields.
    Can somebody tell what's wrong?
    Here's what I see:
    Field Mapping and Rule
            BGR00                          Batch Input Structure for Session Data
                Fields
                BMM00                          Material Master: Transaction Data for Batch Input

    Hi Baojing,
    To see structure BGR00  you have to map this structure first with input file structure in step 4 (maintain structure relationship).
    Regards
    Dhirendra

  • Bapi to be used  for delivering data of outbound delivery to LDL

    Hi,
    I am new to ABAP development and I need to do some enhancements for standard bapi BAPI_OUTB_DELIVERY_SAVEREPLICA .
    I have to use bapi for delivering data of outbound delivery to LDL.
    I have created segments with additional fields for order header and item header in we31.
    The additional fields should be implemented in created segments.After creating segments the additional fields data should be assigned to Idoc structure OBDLV.
    This is the requirement I need to deliver  by tomorrow.Please help me by providing step by step procedure and how to do?
    Thanks in advance
    Raj

    Dear Venkat,
    for cancelling GI/GR you may use BAPI_GOODSMVT_CREATE with GM_Code 06
    for cancelling confirmations you may use BAPI_PRODORDCONF_CANCEL
    Regards, Andreas

  • BAPI table input parameters for Visual Composer not working?

    I am using a BAPI with table input parameters (2 input fields for the table). I tested the BAPI in ecc function builder (it works as planned).  However, it doesn't work in Visual Composer using the same input values (not getting any error messages).  Is this a bug in VC 7.0?  Any help would be greatly appreciated.
    Edited by: Brent Crabb on Aug 29, 2008 8:12 PM

    Hi,
    The data service at a time  can execute only one input data.
    it will not handle too many inputs at time otherwise all the input ports should have same submit action then it is possible to Execute multiple input forms data .
    When you are mapping the input form and the dataservice ,give the same event like this *submit for both Inputforms
    Thanks,
    Govindu

  • Input needed for writing data back into BW/ECC data

    Hello Everyone,
    Can anyone please let me know an example or process you have used for writing data back into BW (DSO/Cubes) or ECC systems.
    We do not have integrated planning in our current system configuration currently.
    So, any sample code for using any of the BAPI/RFC for writing data would be appreciated.
    Also, I am trying to find out if there is any way to schedule the models developed in VC 7.1 in background to automate certain type of data processing which goes across multiple systems.
    Any help would be appreciated.
    Thanks.

    Hello,
    Can anyone please help me out on this one....
    I am aware of few BAPI's such as RSDRI_ODSO_INSERT_RFC but I am not aware of what action has to be used to transfer the data from the table within VC to this BAPI and how to define the parameters as the one's available for the BAPI I mentioned do not fit into the data I have in the table within VC.
    The following are the columns I have in the table within VC,
    1. GL Account
    2. Credit Amount
    3. Debit Amount
    4. Sales Amount
    I have defined the DSO with the same where G/L Account is the keyfield and the rest being data fields.
    Any help would be really appreciated.
    Thanks.

  • To implement a hash structure for multidimensional data

    hi
    I have to implement a hash structure (multidimensional data) i.e., like
    a Grid file. I have to find data points in the given range of the grid file.
    Any one could help me ....
    Thanks

    hello
    Thanks for your quick reply and sorry for the bad
    explanation. What I meant was a 2-dimensional graphI'm still not sure I know what you're after. I assume what you're saying here is that you have a collection of vertices and edges, and they all lie in the same plane. Is that right?
    which was divided into some fragments.So, does this mean you have a collection of subgraphs of your main graph?
    We can insert
    some points dynamically, based on their coordinate
    axes, into one of the fragments.And here do you mean that you have some rule that allows you to add another vertex and associated edge list to a given fragment at runtime?
    >
    It is similar to the implementation in the links that
    you had sent me.
    Could you give me some outline to implement it ...I don't have enough information to do that.
    You could define a data structure to represent one Vertex/Edge-List pair. But then, maybe you don't need to work with vertices so much as Edges? Then you could define a data structure to represent a Vertex, then another to represent an Edge, which would be two vertices. And you might want to think of your "main" Graph as a single entitity, in which case you will need a field to show what fragment this vertex (or edge) belongs to. But then it might make more sense to have seperate data structures for all fragments in which case you wouldn't.
    Too many open questions. What, exactly, do you want to do with this thing?
    Good Luck
    Lee

  • How to  create Tree Structure for given data?

    Hi,
    I have to create a tree structure of Folders and the contents in the Folder.
    I have a XML, it contains data for the tree structure to display. How can I create a tree structure which would look like below
    Parent
       Child
         Supporting Views
            Raw eInfotree Table Views
            Background Calculations
            QC Data Views
         Calculation Views
         Unit Operation Views
            Cell Culture Views
            Purification Views
            MFR Views
         Personal Views
    All the nodes should have folder Icon.
    Please find the XML as
    <?xml version="1.0" encoding="UTF-8"?><Rowsets DateCreated="2007-05-02T07:37:37" EndDate="2007-05-02T16:59:53" StartDate="2007-05-02T16:59:53" Version="11.5.3"><Rowset><Columns><Column Description="" MaxRange="1" MinRange="0" Name="TK" SQLDataType="4" SourceColumn="TK"/><Column Description="" MaxRange="1" MinRange="0" Name="NAME" SQLDataType="1" SourceColumn="NAME"/><Column Description="" MaxRange="1" MinRange="0" Name="TYPE" SQLDataType="1" SourceColumn="TYPE"/><Column Description="" MaxRange="1" MinRange="0" Name="PK" SQLDataType="4" SourceColumn="PK"/></Columns>
    <Row><TK>1</TK><NAME>Parent</NAME><TYPE>F</TYPE><PK>0</PK></Row>
    <Row><TK>2</TK><NAME>Child</NAME><TYPE>F</TYPE><PK>1</PK></Row>
    <Row><TK>3</TK><NAME>Supporting Views</NAME><TYPE>F</TYPE><PK>2</PK></Row>
    <Row><TK>4</TK><NAME>Raw eInfotree Table Views</NAME><TYPE>F</TYPE><PK>3</PK></Row>
    <Row><TK>5</TK><NAME>Background Calculations</NAME><TYPE>F</TYPE><PK>3</PK></Row>
    <Row><TK>6</TK><NAME>QC Data Views</NAME><TYPE>F</TYPE><PK>3</PK></Row>
    <Row><TK>7</TK><NAME>Calculation Views</NAME><TYPE>F</TYPE><PK>2</PK></Row>
    <Row><TK>8</TK><NAME>Unit Operation Views</NAME><TYPE>F</TYPE><PK>2</PK></Row>
    <Row><TK>9</TK><NAME>Cell Culture Views</NAME><TYPE>F</TYPE><PK>8</PK></Row>
    <Row><TK>10</TK><NAME>Purification Views</NAME><TYPE>F</TYPE><PK>8</PK></Row>
    <Row><TK>11</TK><NAME>MFR Views</NAME><TYPE>F</TYPE><PK>8</PK></Row>
    <Row><TK>12</TK><NAME>Personal Views</NAME><TYPE>F</TYPE><PK>2</PK></Row>
    </Rowset>
    </Rowsets>

    Vishal,
    If you structure your data with two columns, the first being the Node name and the second being the Parent node name (see your information below), the iBrowser applet will make a nice data driven tree with all of the SelectionEvent or navigational capabilities you want.
    <?xml version="1.0" encoding="UTF-8"?>
    <Rowsets DateCreated="2007-05-02T07:37:37" EndDate="2007-05-02T16:59:53" StartDate="2007-05-02T16:59:53" Version="11.5.3">
    <Rowset><Columns><Column Description="" MaxRange="1" MinRange="0" Name="NAME" SQLDataType="1" SourceColumn="NAME"/><Column Description="" MaxRange="1" MinRange="0" Name="PARENT" SQLDataType="1" SourceColumn="PARENT"/></Columns>
    <Row><NAME>Parent</NAME><PARENT></PARENT></Row>
    <Row><NAME>Child</NAME><PARENT>Parent</PARENT></Row>
    <Row><NAME>Supporting Views</NAME><PARENT>Child</PARENT></Row>
    <Row><NAME>Calculation Views</NAME><PARENT>Child</PARENT></Row>
    <Row><NAME>Unit Operation Views</NAME><PARENT>Child</PARENT></Row>
    <Row><NAME>Personal Views</NAME><PARENT>Child</PARENT></Row>
    <Row><NAME>Raw eInfotree Table Views</NAME><PARENT>Supporting Views</PARENT></Row>
    <Row><NAME>Background Calculations</NAME><PARENT>Supporting Views</PARENT></Row>
    <Row><NAME>QC Data Views</NAME><PARENT>Supporting Views</PARENT></Row>
    <Row><NAME>Cell Culture Views</NAME><PARENT>Unit Operation Views</PARENT></Row>
    <Row><NAME>Purification Views</NAME><PARENT>Unit Operation Views</PARENT></Row>
    <Row><NAME>MFR Views</NAME><PARENT>Unit Operation Views</PARENT></Row>
    </Rowset>
    </Rowsets>
    Regards,
    Jeremy

  • BIW_WALE_S (Provider Structure for Promotion Data from WALE)

    Hello all,
    Does anybody know if there exist business content (data source, info source and info object) for this structure?
    Best regards,
    Fredrik

    Hello and thanks!
    Well, I have checked in table ROOSOURCE and the extractor you mentioned is only used for data sources 0RT_MAT_PRM and 0RT_PROMO.
    However, when checking in SE37 I notice that the extractor also looks into the WALE table. It refers to an info object called 0RT_PROMOPL, but when looking in RSA5 this does not exist!
    How can I use this function module (extractor) to create a new data source? Or how do I find the named data source?
    Best regards,
    Fredrik

  • Structures for the data retrieval

    hi all.
    i have structures and fields to dispaly and want to retrieve data from them.please guide me with the tables available with me where i can link them for the primary key combination.
    RV13A-VAKEY1 and komv-kpein,komv-kmein are the structure-fields for which i want to display.
    and available tables are vbak ,vbap ,konv ,cdhdr , cdpos .
    waiting for the reply.

    hi,
    you can get kmein from KONP,KONV tables.

  • HR tables structure for BW data extraction

    Hi Experts,
                How the HR tables structure are different from  other SAP tables in  BW data extraction perspective.
    Appreciate your help in this regard.
    Thanks,
    Varun.

    The 1st and great difference is the time dependency of HR 'Infotype' and so when you load master data, it is in great part time dependent!
    Message was edited by: Claudio Caforio

  • WSDL structures for complex data types

    Hi there
    Assume that a WSDL returned this:
    <s:complexType name="Employee">
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="fname"
    type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="lname"
    type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="active"
    type="s:boolean" />
    </s:sequence>
    </s:complexType>
    You would build your structure like this:
    stEmployee = structNew();
    stEmployee.fname = "John";
    stEmployee.lname = "Smith";
    stEmployee.active = TRUE;
    But is your structure function the same if the WSDL returns
    this?
    <s:complexType name="Employee">
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="fname"
    type="tns1:FName" />
    <s:element minOccurs="1" maxOccurs="1" name="lname"
    type="tns1:LName" />
    <s:element minOccurs="1" maxOccurs="1" name="active"
    type="s:boolean" />
    </s:sequence>
    </s:complexType>
    <complexType name="FName">
    <simpleContent>
    <extension base="xsd:string"/>
    </simpleContent>
    </complexType>
    <complexType name="LName">
    <simpleContent>
    <extension base="xsd:string"/>
    </simpleContent>
    </complexType>
    Don't ask *me* why they did it that way.... why a simple
    string value had to be defined again as a complex type with simple
    content.
    Would my structure still be
    stEmployee = structNew();
    stEmployee.fname = "John";
    stEmployee.lname = "Smith";
    stEmployee.active = TRUE;
    or would it have to somehow acknowledge that the first two
    variables (the first and last names) have this redundant level of
    complexity?
    Thanks
    Neal

    Neal, can you please provide me with the URL of WSDL you are
    using, method you are trying to call and sample data (if there is
    any specific data you have to pass) to check this particular method
    call?

  • Change communication structure for master data with direct update

    Hi All,
    I am having a problem with a change I want to make to some master data. I have added the attribute to the characteristic, but when I have gone to change the communication structure, its not possible (the add line button is greyed out)
    I can see the new infoobject in the datasource/trans structure, but not in the comms structure (And yes it is in change mode   ).
    The master data uses direct update, and I have read that this causes some hassles in changing the comms str.
    Can someone please give me some steps in doing this??
    Thanks
    Ryan

    Hi Ryan,
    Why u have nothing to map is ?
    U r datasource trasfer structure from the source ssytem has nothing new ..
    1)TO ur Info object u can only write the routing or give any formula or anythign like the trasfer rules oftions that have when u click on the IO icon..
    2) Enhave the structure of the datasoruce that is getting from the  R3 source system...
    3) Replicate it ..
    Then only u will be able to find the extra field at the Trasfer structure... to map to the IO which have been added..
    hope it helps
    regards
    AK

  • Duplicate records in input structure of model node

    Hi,
    Following is the way, I am assigning data to a model node:
    //Clearing the model input node
    for (int i = wdContext.nodeInsppointdata().size(); i > 0; i--)
         wdContext.nodeInsppointdata().removeElement(wdContext.nodeInsppointdata().getElementAt(i - 1));
    //Creating element of the input model node
    IPrivateResultsView.IInsppointdataElement eleInspPointData;
    //START A
    Bapi2045L4 objBapi2045L4_1 = new Bapi2045L4(); //Instance of the input structure type
    //Populating data
    eleInspPointData = wdContext.nodeInsppointdata().createInsppointdataElement(objBapi2045L4_1);
    wdContext.nodeInsppointdata().addElement(eleInspPointData);
    eleInspPointData.setInsplot(wdContext.currentContextElement().getInspectionLotNumber());
    eleInspPointData.setInspoper("0101");
    //Inspection_Validate_Input is the model node. Adding instance to main node
    wdContext.currentInspection_Validate_InputElement().modelObject().addInsppointdata(objBapi2045L4_1);
    //STOP A
    //Now executing the RFC
    Above code seems to be fine. Works very well for the first time. But, when the user clicks on the same button for the second time, I can see duplicate records getting passed to RFC [Debugged using external breakpoint]. When I am sending 4 records, I can see there are total of 6 records. The number keeps increasing when clicked on the button.
    I am adding multiple records to input model node using the code from START A to STOP A. Does the code look fine? Why do I see multiple records?
    Thanks,
    Sham

    Issue solved.
    After executing RFC, I used following code to clear the input model node:
    try
         wdContext.current<yourBAPI>_InputElement().modelObject().get<yourinputnode>().clear();
    catch (Exception e1)

  • A question  on DataSource for Master Data example 0plant,0customer etc...,

    I can get the field names of a standard data source for master data (say for example 0plant_attr) using table ROOSFIELD .
    Now i want to know from which tables these fields are coming from.
    How to get the table name for a each field in standard data source for master data .
    For transaction data, transaction LBWE is there,similarly is there something like this for master data.
    Another Question:
    How to see communication structure for standard data source for master data ?

    Hi,
          the entire documentation for standard things in bi is avaialable in business content of net weavers in help.sap.com..... please refer this for any standard thing the entire documentation will be available.....
    this is one of the thread for 0customer attr datasource and the various fields and the tables of origin check accorignly for what ever u want.......
    http://help.sap.com/saphelp_nw70/helpdata/EN/41/6a6da460196936e10000000a114b54/frameset.htm
    Regards
    vamsi
    Edited by: vamsi talluri on Jan 30, 2009 5:40 AM

  • BAPI /BDC for contract data VA41

    hi all,
        We have a requirement. We have Contract data in legacy system, and need to migrate that into SAP (VA41). Should i use BAPI or BDC for this.
    If i have to use BAPI, Please let me know the BAPI name.
    Regards,
    Kavitha

    Hi Kavitha,
                   May be this thread provides you some help.
    Have a look.
    Link:[Thread|Re: Creating Contracts using BAPI_CONTRACT_CREATEFROMDATA;
    Have a best day ahead.

Maybe you are looking for

  • How to rebuild CAD database or Fix Corrupt Database

    If you have any issue where one side of the Database is corrupt and replication isn't working properly. Here are the steps that you can follow 1. Confirm the NIC configurations on both servers before proceeding. 2. Stop exiting replication connection

  • Reg PLD Table Export

    Hi All,         I have designed the PLD for one company. So i need to use same format for most of the reports like Purchase Order, Sales Invoice  etc.. . For that, i woluld like to export RDOC, RITM tables to the New company DB. I am exporting with o

  • Graphical view in BPE

    HI , I am Using Sun IDM Version 5.5 . When before I using 5.0 The graphical view of the form appears in the lower right pane of the BPE display. Itdisplays the form HTML as displayed by Identity Manager. Bu tin 5.5 i am not finding out. can any one h

  • Floating Divs - What am I missing?

    I'm trying to align two divs (a small one on the left and a column on the right) to the top of a container div, then have a 3rd div (the body content div) appear below the top left div, but beside the top right div. But the body content div is appear

  • Bridge über CC kostenfrei installieren?

    Hallo! Ich bin neu hier und hätte ein paar Fragen zur CC, Brige CC und dem Abo-Model. Da ich mit Adobe und den Programmen so gut wie keine Erfahrungen habe, wende ich mit vertrauensvoll an die Community. Vor ein paar Tagen habe ich die Testversion vo