cancel
Showing results for 
Search instead for 
Did you mean: 

Is there anyone who can help me out in shopping cart creation by FM?????

Former Member
0 Kudos

Hi Guys,

I am trying to create a Shopping cart in SRM system executing the RFC from External system.I am trying hard to solve this issue since last 1 months and still i am not able to do that.plz help me out its very urgent now.

I am trying to use BBP_PD_SC_CREATE in combination with BBP_PD_SC_SAVE and Commit.

Here Below i am mentioning what all fields i using to pass the data, and what all errors i am getting after executing the function Module.

Please check it and tell me where exactly i am doing mistake.

FM ---> BBP_PD_SC_CREATE

I_REF_GUID 00000000000000000000000000000000

I_PARK X

I_SAVE X

I_HEADER

GUID 00000000000000

DESCRIPTION TEST

CURRENCY USD

PROCESS_TYPE SHC

I_ITEM

GUID 00000000000000000000000000000000

PARENT 00000000000000000000000000000000

NUMBER_INT 0000000001

NUMBER_EXT 0000000000

PRODUCT 00000000000000000000000000000000

DESCRIPTION MONITOR

CATEGORY 00000000000000000000000000000000

CATEGORY_ID 65.10

QUANTITY 1.000

UNIT EA

PRICE 1.00

PRICE_UNIT 1

GROSS_PRICE 1.00

CATALOG_PRICE 0.00

CURRENCY USD

PRODUCT_TYPE 01

LOGSYS_FI CFG300

BE_LOG_SYSTEM CFG300

BE_PLANT BUS1

BE_MOVE_REAS 0000

BE_PUR_GROUP W01

BE_PUR_ORG IBRD

BE_CO_CODE IBRD

BE_DOC_TYPE ECPO

BE_PACKNO 00000000

BE_INTROW 00000000

BE_PO_PRICE 1

I_ACCOUNT

GUID 00000000000000000000000000000000

P_GUID 00000000000000000000000000000000

DISTR_PERC 100.00

ACC_NO 0001

ACC_CAT CC

SRC_GUID 00000000000000000000000000000000

G_L_ACCT 500411060

BUS_AREA VTRS

COST_CTR 6589

SDOC_ITEM 000000

SCHED_LINE 0000

CO_AREA WBG1

PROF_SEGM 0000000000

CMMT_ITEM 500411060

FUNDS_CTR 6589

FUND BB

I_PARTNER

PARTNER_GUID 000000000000000000000000

P_GUID 000000000000000000000000

PARTNER_FCT 00000039

PARTNER_NO

ADDR_TYPE 1

ADDR_ORIGIN A

ADDR_NO 10735

PARTNER_ID 1058

same like i have passed 3 more partner details.

I_ORGDATA

GUID 0000000000000000000000000

P_GUID 0000000000000000000000000

PROC_ORG_RESP_ID 50000641

PROC_ORG_ID 50000640

PROC_GROUP_ID 50000641

When i execute it, i am getting error like

"Interface Data Contains error"

"Incorrect Interface Data for set PDDEP"

"Incorrect Interface Data for set PDDYN"

"Incorrect Interface Data for set PDFRT"

"Incorrect Interface Data for set PDHCF"

"Incorrect Interface Data for set PDDEP"

"Incorrect Interface Data for set PDORG"

"Incorrect Interface Data for set PDDEP"

"Incorrect Interface Data for set PDTAX"

"Incorrect Interface Data for set PDDEP"

"Incorrect Interface Data for set PDTOL"

"Incorrect Interface Data for set PDWGT"

"Enter Atleast one item for one limit"

Thanks alot.

GRTZ.

Regards,

Manoj Tiwari

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Manoj,

Please follow this link:

/message/3084096#3084096 [original link is broken]

Let me know if you have any further questions.

BR

Rakesh

Former Member
0 Kudos

Manoj--

Did you ever get this function module to work? I am getting the same exact error messages you reported in this thread and cannot figure it out. Any advice or guidance would be appreciated.

Thanks.

Steven White

Former Member
0 Kudos

Manoj,

I think so you need to put GUIDs also,,dependign if its header/detail then only it will create a shopping cart.

I had faced this issue with PO.

Kyamuddin.

Former Member
0 Kudos

Hi,

My first advice would be to have a look in an R/3 system to get the exact FM called from R/3 to create requirements.

My second point is that, in this scenario, the RFC user used for the RFC call <b><u>has to be integrated in the Org. Plan</u></b>, you may have the same issue with your FM call.

To integrate the RFC user in the org plan use USERS_GEN transaction.

Regards.

Vadim

Former Member
0 Kudos

Hi,

First of all Thank a lot to Dennis, John and Vadim for replying my message.

I will implement all suggestions given by you guys.

I hope it should work out now, If i face any problem i will give you buzz again.

Thanks & Regards,

Manoj Tiwari

Former Member
0 Kudos

Hi Manoj,

Vadim makes a good point here. Even if the RFC user has full rights in the system, if he is not integrated into the org using the transaction users_gen. He will not have the necessary EBP attributes.

My recommendation would be to put the RFC user under an org currently used by other users successfully to shop and make sure he has the necessary roles. A good idea would be to use a composite role that encompasses all shopping functionality.

Greetings

John C

Former Member
0 Kudos

Hi Manoj,

I cannot add much to this. But if SRM has Business Connector installed on it, then it will be able to throw out the Order in XML (as long as ISA and CRM is configured properly). From there on its an OCI interface.

First of all CRM / ISA should be able to send out XML data through OCI. If this is done then there is a BADI available for processing incoming XML data if needed. I am not a CRM person, so I cannot add to the CRM discussion.

Greetings

John C

dennis_bruder
Employee
Employee
0 Kudos

Hi,

before I would try to save a SC to the database, I would check how I have to fill the interface. Therefore I would suggest to read at first a SC from the database with FM BBP_PD_SC_getdetail. With this example of an existing SC you should be able to will the interface correctly.

E.g. when you check an existing SC with FM BBP_PD_SC_getdetail you see that some parameters are missing in your I_ORGDATA part. The I_ORGDATA part of my SC example looks like the following:

PROC_ORG_RESP_OT O

PROC_ORG_RESP_ID 92001699

PROC_ORG_OT O

PROC_ORG_ID 92000053

PROC_GROUP_OT O

PROC_GROUP_ID 92001699

Here you can see that you forgot the whole *OT parts! In your case the system doesn't know that you mean an orgunit.

As I mentioned above, when you know how a SC looks like on the database, it should be easy to fill the FM interface.

Best regards

Dennis