on 07-19-2011 2:39 PM
Hi Experts,
I am having flat file which consists of Vendor details,Condition type,Quantity,Price etc but not the Contract ID.
I am trying hard to create contract from this set of available data, but nothing is happenning neither i am able come across any solution.
So I request pls share Is there any available BAPI or FM or any program???
Are we talking about 1 contract or a list of multiple contracts?
In any case, I'd recommend that you explore the "Data Exchange" >> "Import" option from Contract POWL. The precondition is that you convert your flat file to an Excel spread sheet (XLS file) first. As to the format of the XLS file, what you can do is to download (with "Export" option) an existing contract in the list and take a look at the XLS format and draft accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It might not be as straightforward as it seems. The upload functionality according to my understanding is essentially to update an existing contract, not to create a new one. The process goes like this: 1) create a new contract online; 2) download the contract; 3) modify it offline; 4) upload the modified xls to update the same contract. And this goes one contract at a time.
But as I had suggested, explore the "Data Exchange" >> "Import" option and see if you could upload multiple contracts at a time and create new ones.
Yes.
I tried usinf FM BBP_PD_CTR_CREATE but i ended with following errors.
M MSGID MSG MESSAGE
A BBP_PD 550 Incorrect interface data for set 78 in method C
A BBP_PD 550 Incorrect interface data for set 77 in method C
A BBP_PD 550 Incorrect interface data for set 61 in method C
A BBP_PD 550 Incorrect interface data for set 35 in method C
A BBP_PD 550 Incorrect interface data for set 34 in method C
A BBP_PD 550 Incorrect interface data for set 21 in method C
A BBP_PD 550 Incorrect interface data for set #6 in method C
A BBP_PD 550 Incorrect interface data for set #5 in method C
A BBP_PD 550 Incorrect interface data for set #4 in method C
A BBP_PD 550 Incorrect interface data for set #3 in method C
E BBP_PD 428 Enter exactly one partner of type Supplier
E BBP_PD 428 Enter exactly one partner of type Responsible Employee
A BBP_PD 198 The data for creating an attachment is insufficient
E BBP_PD 101 Enter at least one item
A BBP_PD 002 Interface data contains errors
A BBP_PD 002 Interface data contains errors
A BBP_PD 002 Interface data contains errors.
Could you share how to resolve the above errors ??
What I would suggest you do is the following:
1. Set an external breakpoint in FM BBP_PD_CTR_CREATE and FM BBP_PD_CTR_UPDATE.
2. From web user interface, e.g. portal, click on "Create Contract" button and try to fill in the values according to your flat file.
3. When you hit the FM breakpoints, examine the parameters which are filled and follow the pattern of information as a reference when filling in the values from your report. And observe the call stack so that you know what you need to write in your own program.
Hi Sahil,
You would have to call the below functions to create the contract:
BBP_PD_CTR_CREATE
BBP_PD_CTR_SAVE
COMMIT WORK
The errors which you have got are more or less self-explanatory - you have not passed vendor and there are no items in contract. If you pass all the data then BBP_PD_CTR_CREATE will not issue any errors.
Another approach is - try creating contract manually in UI. See what all data you have to enter - make sure you pass all these data in your program before calling BBP_PD_CTR_CREATE.
Rgds,
Prasanna
Hi Sahil,
How are you? I have the same requirement..We need create contracts to SRM 7.0 from other system.
I try to implement the hybrid solution between SRM and Legacy System. All contract must be create ate SRM with information's from legacy system.
How you solved this? Could help me?
We try to use the FM:
BBP_PD_CTR_CREATE
BBP_PD_CTR_UPDATE
BBP_PD_CTR_SAVE
COMMIT WORK
But its difficult..
Tks,
Kris
HI kristin,
Initially I tried creating contract directly in SRM system but there was big concern that although I am able to create contract in SRM but that contract number not getting to release.
I tried few fm to change the status to Release but was not successfull
so until and unless we release the contract it does nt make sense.
due to this concern we later dropped out this plan so we created contract in ECC system. later we replicated this contracts into SRM.
regards
sahil purushan
Hi Sahil,
How are you? I have the same requirement..We need create contracts to SRM 7.0 from other system.
I try to implement the hybrid solution between SRM and Legacy System. All contract must be create ate SRM with information's from legacy system.
How you solved this? Could help me?
We try to use the FM:
BBP_PD_CTR_CREATE
BBP_PD_CTR_UPDATE
BBP_PD_CTR_SAVE
COMMIT WORK
But its difficult..
Tks,
Kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.