Hello to all,
i've just read a lot of stuff concerning the possibility to uplaod shopping cards via the function module. I'm new in the project and currently i haven't still a developer key, therefore i have to check via SE37 and make the test, if the funktionmodule should be work fine and if we here also can use this one for uplaoding requirements from an other system ( maybe for cut over ).
Concerning the import parameter i've used the great example from Marci:
"I_HEADER
GUID 00000000000000000000000000001
DESCRIPTION TEST
CURRENCY USD
PROCESS_TYPE SHC
I_ITEM
GUID 00000000000000000000000000000002 <- item guid
PARENT 00000000000000000000000000000001 <- header guid
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
(for each item, you create an entrie that its linked to the item guid).
GUID 00000000000000000000000000000003
P_GUID 00000000000000000000000000000002 <- item guid
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 000000000000000000000004
P_GUID 000000000000000000000001 <- header guid
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 0000000000000000000000005
P_GUID 0000000000000000000000001 <- header guid
PROC_ORG_RESP_ID 50000641
PROC_ORG_ID 50000640
PROC_GROUP_ID 50000641"
After correction the org data , we have also enter the leading 'O' within the data ( O 500000640 instead 500000640 ). If not i get an run time error message ---> UNCAUGHT_EXCEPTION.
So and now i get 2 error messages after testing the function module.
1.) if try to get the partner information in the I_PARTNER table
as follow:
CLIENT 020
PARTNER_GUID 00000000000000000000000000000004
P_GUID 00000000000000000000000000000001
PARTNER_FCT 00000016
PARTNER_NO 62EECA46C2B54F41E1000000A032B34E
ATTRIBUTES
MAINPARTNER
ADDR_TYPE 3
ADDR_ORIGIN A
DEL_IND
PERS_NO 10812
ADDR_NO 10910
the error message occurs:
E BBP_PD 050 Partner of type Requester is not authorized for this document. Check entry
E BBP_PD 358 Select a location to which a plant has been assigned
2.) if i don't fill in the I_PARTNER ( for testing ) than i only get the error : E BBP_PD 358 Select a location to which a plant has been assigned
My question now is, a.) is it possible to make a test for this FUBA only via SE37 ( i guess yes but after this different messages i'm now a little bit confussed and not realy sure at present )
And if it also should be work, where can be the reason that the systems ment that there is no location assigned to a plant ( ERP ).
Remark:
I created a SC by using the WEB frontend with my user id. That worked fine. Therefore i'm convinced, that my user is correctly embedded in the PPOMA and all attributes are sufficient maintained .The made test in the SRM system via SE37 was still made with the same user, therefore i guess, that the same attributes should be get and therefore i absoluteley didnt understand the last message.
It were great, if someone has an idear and could give me support :-)..
thanks a lot .
Thomas