Error while creating PO using monitor shopping cart
Hi all,
We are facing one issue while creating the PO in SRM using the monitor shopping cart node. The system is throwing an error message stating that u201CEnter Tax Codeu201D because of this we are not able to proceed further. Can anyone knows why this error message is showing. I debugged the code but I couldnu2019t find out from where this message is triggering. Which BADI / FM is called up at this point giving this error message..?
Any point on this will highly appreciated .
Thanks in Advance .
Regards,
Mahesh Mohan D
Hi Mahesh
Does your business has practice to enter a tax details in basic data of sc since this below configuration brings the tax settings in shopping for all type of shopping carts
SPRO>Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Tax Calculation-->Determine System for Tax Calculation - What is the existing settings?
if it so the basic data , you can find tax details otherwise not.
if there is a setting like no tax determination, you need to check the given vendor data whether ERS is flaged or not.
since ERS flag equires tax data.
regards
Muthu
Similar Messages
-
Error while creating confirmation for a shopping cart
Hi,
i have created a sample fm and am passing sample values that i got by debugging the standard portal and badi(bbp_doc_change_badi) together, to create a confirmation.
I am getting the following error in the process,while debugging, in the lt_messages table:
GUID or object type of the reference document is missing
(BBP_PD msg no. 081)
I also tried passing the sample values i got for guid and object type from bbp_pd but that too dint help.
PS : the standard FM am calling in my sample FM is BBP_PD_CONF_CREATE.
Please suggest a solution for this error.
Regards
PratyushaHI,
Are you in SRM 7.0 ?
Confirmation can be created against Purchase Order. But I believe you are tyring to create against shopping cart.
Kindly confirm.
So, Please fill the reference object type and guid of PO.
Thanks
Rajesh K -
Error while creating stock using tcode: MB1C
Error while creating stock using tcode: MB1C
The Error is: Check table T004F:entry G006 does not existHi ,
Please check the FSV (field status variant) for your company code in OBY6 .
then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
if not please maintain it.
Thanks & Regards
Anshu -
Getting error while creating subsite using custom template in sharepoint2013
Hi,
I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
Please suggest me on this.
Thanks in advance.You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Created by in Monitor shopping cart requires employee numer since SRM 5.0
Hello experts,
We have upgraded from SRM 4.0 to SRM 5.0 SRM SRM server 550. In monitor shopping cart using 'created by' to search shopping carts, users could usually enter their username. After the upgrade however users need to enter their empoyee number. So they first use the search functionality (binoculars) to search for their name afterwihich the field will be filled with their employee number. Does anybody know how to change that ? So users will be able to enter their username again to search for their own shopping carts ?
Thanks as ever!
Kind regards,
Antoinette
Edited by: Antoinette Stork on Nov 14, 2008 5:45 PMProblem solved
-
Hi All,
I am getting below error while creating an SR from the backend using API 'CS_ServiceRequest_PUB'.
Error:
API Programming Error (CS_ServiceRequest_PUB.Create_ServiceRequest): An error occurred when validating the descriptive flexfield.
Additional information:Program error: Please inform your support representative that:
FLEXFIELDS SERVER-SIDE VALIDATION package reports error:
validate_desccols() exception: ORA-20005: DVLB.get_default_context() failed. SQLERRM: ORA-01403: no data found
ORA-06512: at "APPS.FND_FLEX_DESCVAL", line 931
ORA-01403: no data found
Error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
I have intialised the context as below while running the stand alone procedure in SQL Developer.
Fnd_Global.apps_initialize (user_id => 1368347,
resp_id => 21739
resp_appl_id => 514 );
We are on 11.5.10.2 and database version is 9i.
Can you please help??
TIA,
SHi Kesava,
I notice that in the package you used the application user_name=CHUNDUK calls the API pa_project_pub.create_project.
I wonder if you used chunduk as database user to execute the package Or you used APPS to execute the package?
The APi document states that it is a requirement to create a db username as the same name with the application username.
I have been running the problem to execute API 's delete project and try to figure what could be my problem.
TIA -
Error while creating Resource using GDS
Hi
Iam trying to create Resource using GDS and it is throwing me error
clresource: (C189917) VALIDATE on resource egateq00-haegate_reg-res, resource group egateq00-rg, exited with non-zero exit status.
clresource: (C720144) Validation of resource egateq00-haegate_reg-res in resource group egateq00-rg on node uhegateq02 failed.
clresource: (C891200) Failed to create resource "egateq00-haegate_reg-res".
This is the command I executed
rclresource create -g egateq00-rg -t SUNW.gds
-p Scalable=false -p Start_timeout=120 -p Stop_timeout=120 -p Probe_timeout=30
-p Port_list="23001/tcp" -p Start_command="/egateq00/scripts/reg_START.sh" -p Stop_command="/egateq00/scripts/reg_STOP.sh"
-p Probe_command="/egateq00/scripts/reg_PROBE.sh" -p Child_mon_level=1 -p Network_resources_used=egateq00-lh-res -p Failover_enabled=FALSE
-p Stop_signal=15 egateq00-haegate_reg-res
The log under /var/cluster/logs/DS says following
07/01/2008 17:56:43 uhegateq02 START-INFO> scha_resource_open failed [14]. Keeping the old Log_level value
07/01/2008 17:56:43 uhegateq02 START-ERROR> Cannot access the start command </egateq00/scripts/reg_START.sh> : <No such file or directory>
07/01/2008 18:13:23 uhegateq02 START-INFO> scha_resource_open failed [14]. Keeping the old Log_level value
07/01/2008 18:13:23 uhegateq02 START-ERROR> Cannot access the start command </egateq00/scripts/reg_START.sh> : <No such file or directory>
However, I can open these scripts and run it from anywhere. I also tested these scripts and they all work fine. They are all set to chmod 777 , so everyone should have execute permission
Iam not returning any return value from these Start and Stop script , is that the why it is failing
thanksHi
I disabled the PMF as described on the http://blogs.sun.com/TF/entry/disabling_pmf_action_script_with. This is what I did
1>Added following line in the top of my Start script
while getopts 'R:G:' opt
do
case "${opt}" in
R) RESOURCE=${OPTARG};;
G) RESOURCEGROUP=${OPTARG};;
esac
done
sleep 60 &
/usr/cluster/bin/pmfadm -s ${RESOURCEGROUP},${RESOURCE},0.svc
2>While creating the resource , I used property for Start_command="/egateq00/scripts/reg_START.sh -R %RS_NAME -G %RG_NAME"
Now , after doing this , My RG is not getting lost. Also , in the message file I do not see the errors of "Start script failed to stay UP"
However, My Application is not started either.
This is what the message file says
Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_validate> completed successfully for resource <egateq00-haegat
e-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 0% of timeout <300 seconds>
Jul 3 16:43:32 uhegateq01 Cluster.CCR: [ID 973933 daemon.notice] resource egateq00-haegate-reg-res added.
Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <gds_svc_start> for resource <egateq00-haegate-reg-res>,
resource group <egateq00-rg>, node <uhegateq01>, timeout <120> seconds
Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 252072 daemon.notice] 50 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscgds/bin/gds_svc_star
t>:tag=<egateq00-rg.egateq00-haegate-reg-res.0>: Calling security_clnt_connect(..., host=<uhegateq01>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, .
Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_svc_start> completed successfully for resource <egateq00-haega
te-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 2% of timeout <120 seconds>
Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <gds_monitor_start> for resource <egateq00-haegate-reg-re
s>, resource group <egateq00-rg>, node <uhegateq01>, timeout <300> seconds
Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 252072 daemon.notice] 50 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscgds/bin/gds_monitor_
start>:tag=<egateq00-rg.egateq00-haegate-reg-res.7>: Calling security_clnt_connect(..., host=<uhegateq01>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1
, ...)Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_monitor_start> completed successfully for resource <egateq00-h
aegate-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 0% of timeout <300 seconds>
4>Also , in the /var/cluster/logs/DS , I see the Start script started succesfully
07/03/2008 16:43:32 uhegateq01 START-INFO> Start succeeded. [egateq00/scripts/reg_START.sh -R egateq00-haegate-reg-res -G egateq00-rg]
5>Also , in the /var/cluster/logs/DS , I see the Probe script returning 0 , but this is wierd because it should return Non zero number. When I run the Probe script from the command line , it is returning me non zero value when the application is down
07/03/2008 16:43:35 uhegateq01 PROBE-INFO> The GDS monitor (gds_probe) has been started
07/03/2008 16:44:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:44:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:45:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:45:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:46:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:46:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:47:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:47:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:48:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:48:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:49:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:49:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:50:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:50:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:51:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:51:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:52:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:52:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:53:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:53:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:54:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:54:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:55:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:55:35 uhegateq01 PROBE-INFO> The probe result is 0
07/03/2008 16:56:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
07/03/2008 16:56:35 uhegateq01 PROBE-INFO> The probe result is 0 -
Error while creating Routing using LSMW
Hi Guys ,
I am trying to create LSMW using Direct Input Method .
My structures are ::
RC271_DS Work center structure for direct input (for datasets)
RC27M_DS Material master view DIRECT INPUT routing for datasets
PLKO_DI_DS Header structure for direct input (for datasets)
PLPO_DI_DS Routing/item structure for direct input (for datasets.
I getting correct data from multiple flat files .
It's converting the data also .
But while executing start direct input method i am getting the followig error ....
You cannot edit the task list object with activity type
Please let me know problem guys .
Regards,
RajHi Naveen,
It means you have to assign the task list type to material type ZPRD. Then it will carry its job:
The path is:
Go To-> SPRO-> IMG Activity-> Production-> Basic Data-> Routing-> General Data---> Define Material Type Assignments. T-Code: OP50
I hope it will work.
Regards,
Madhu.G -
Error while creating BOM using BAPI 'BAPI_BOM_UPLOAD_SAVE'
Hi All,
We are getting an error as 'Data is incomplete' while trying to create BoM using the bapi 'BAPI_BOM_UPLOAD_SAVE', if the item contains Item category as 'T'. But for other item category like 'L' or 'N', the bapi is sucessfull.
The values that we pass to fill the item category 'T' are operation, item_cat, bom_itm_no, COMPON_QTY, FIXED_QTY as 'X', UNMEAS as 'ST', ITEM_TEXT1 and ITEM_TEXT2.
Anyone who has faced same problem or has a solution to the problem, kindly provide a solution.
Regards,
VijayThe error you receive is because of different config for different Item Categories. Find out from the functional team what fields have they kept mandatory for the item category 'T'. You may not be passing one of those fields in the BAPI.
Try creating a BOM manually for item category 'T' and you may figure our which field you are missing. -
Error while creating BOM using BAPI (urgent)
Hi all,
Thanks for ur help. i am getting some error while creting a BOM using that BAPI
BAPI_MATERIAL_BOM_GROUP_CREATE.
errors are
1) Error/warning when checking the structure of the BOM group with ID =
2)Alternative does not exist for material assignment to material BAPIBOMFG1
is it mandatory to pass the bom group id to this bapi?
In bomgroup structure , i am not passing anything to BOM_GROUP field.
is it mandatory to pass this data? i am giving my coding below.plz suggest , where i am making mistake. it is urgent.
regards
pabitra
report z_bom_create
line-size 132
line-count 65
no standard page heading.
*-- DATA DECLARATION--
include <icon> .
*---Tables
tables : s076, t100, marc .
*---Types
types : begin of t_upload, " Upload file data
col1(18),
col2(10),
col3(30),
col4(12),
col5(50),
end of t_upload,
begin of t_split,
location like stpu-ebort,
end of t_split.
data:begin of i_return occurs 10.
include structure bapiret2.
data:end of i_return.
types:begin of t_item."occurs 10.
include structure BAPI1080_ITM_C.
types:end of t_item.
types:begin of t_subitem." occurs 10.
include structure BAPI1080_SUI_C.
types:end of t_subitem.
types:begin of t_header." occurs 10.
include structure BAPI1080_MBM_C.
types:end of t_header.
types:begin of t_bomgroup." occurs 10.
include structure BAPI1080_BGR_C.
types:end of t_bomgroup.
types:begin of t_variant." occurs 10.
include structure BAPI1080_BOM_C.
types:end of t_variant.
*--- Tables
data: i_upload type standard table of t_upload, " to hold data
i_upload1 type standard table of t_upload,
i_split type standard table of t_split,
i_item type standard table of t_item,
i_subitem type standard table of t_subitem,
i_header type standard table of t_header,
i_bomgroup type standard table of t_bomgroup,
i_variant type standard table of t_variant.
data: wa_upload type t_upload, " to hold file data,
wa_upload1 type t_upload, " to hold plan data,
wa_split type t_split,
wa_item type t_item,
wa_subitem type t_subitem,
wa_header type t_header,
wa_bomgroup type t_bomgroup,
wa_variant type t_variant.
data:v_matnr like mara-matnr,
v_start like sy-index,
v_count(3) type c.
*--Constants
data: c_dot type c value '.',
c_x type c value 'X',
c_comma type c value ','.
-------Selection Screen Design -
*Selection screen for input of upload file address
selection-screen skip 2.
selection-screen begin of block blk1 with frame.
parameters : p_file like rlgrap-filename obligatory .
parameters : p_matnr like mara-matnr obligatory,
p_werks like marc-werks obligatory memory id wrk,
p_stlan like afko-stlan obligatory default '1' .
selection-screen end of block blk1.
---AT SELECTION SCREEN -
at selection-screen on value-request for p_file.
*--For popup to select file.
perform f_give_help.
at selection-screen on p_matnr.
perform f_check_matnr.
-----START OF SELECTION -
*--Data upload using WS_Upload.
perform f_get_data.
perform f_get_bom_data.
perform f_get_bom_data1.
perform f_call_bapi.
*& Form f_give_help
text
--> p1 text
<-- p2 text
FORM f_give_help.
call function 'WS_FILENAME_GET'
exporting
mask = ',.,..'
mode = 'O'
importing
filename = p_file
exceptions
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
others = 5.
if sy-subrc <> 0 and not sy-msgty is initial.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
ENDFORM. " f_give_help
*& Form f_check_matnr
text
--> p1 text
<-- p2 text
FORM f_check_matnr.
CALL FUNCTION 'BAPI_MAT_BOM_EXISTENCE_CHECK'
EXPORTING
MATERIAL = p_matnr
PLANT = p_werks
BOMUSAGE = '1'
VALID_FROM_DATE =
VALID_TO_DATE =
TABLES
RETURN = i_return.
ENDFORM. " f_check_matnr
*& Form f_get_data
text
--> p1 text
<-- p2 text
FORM f_get_data.
call function 'WS_UPLOAD'
exporting
CODEPAGE = ' '
filename = p_file
filetype = 'DAT'
tables
data_tab = i_upload
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
others = 10
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
ENDFORM. " f_get_data
*& Form f_get_bom_data
text
--> p1 text
<-- p2 text
FORM f_get_bom_data.
delete i_upload where col1 is initial.
delete i_upload where col1 cs 'ITEM'.
read table i_upload into wa_upload with key col1 = 'FINISHED GOOD:'.
if sy-subrc = 0.
v_matnr = wa_upload-col2.
if v_matnr <> p_matnr.
message e001(zl) with p_matnr.
endif.
else.
message e000(zl).
endif.
ENDFORM. " f_get_bom_data
*& Form f_get_bom_data1
text
--> p1 text
<-- p2 text
FORM f_get_bom_data1.
loop at i_upload into wa_upload where col1 CS 'FINISHED GOOD'.
v_start = sy-tabix + 1.
loop at i_upload into wa_upload1 from v_start .
if wa_upload1-col1 cs 'FINISHED GOOD'.
exit.
else.
perform f_split_upload_data.
endif.
endloop.
endloop.
ENDFORM. " f_get_bom_data1
*& Form f_split_upload_data
text
--> p1 text
<-- p2 text
FORM f_split_upload_data.
if not wa_upload1-col5 is initial.
if wa_upload1-col5 cs c_comma.
split wa_upload1-col5 at c_comma into table i_split.
loop at i_split into wa_split.
v_count = v_count + 1.
endloop.
if wa_upload1-col4 <> v_count.
wa_upload1-col4 = v_count.
endif.
clear wa_upload1-col5.
clear wa_split.
loop at i_split into wa_split.
wa_upload1-col5 = wa_split-location.
append wa_upload1 to i_upload1.
endloop.
else.
append wa_upload1 to i_upload1.
endif.
else.
append wa_upload1 to i_upload1.
endif.
ENDFORM. " f_split_upload_data
*& Form f_call_bapi
text
--> p1 text
<-- p2 text
FORM f_call_bapi.
clear wa_upload1.
wa_header-material = p_matnr.
wa_header-plant = p_werks.
wa_header-bom_usage = p_stlan.
append wa_header to i_header.
wa_bomgroup-bom_usage = p_stlan.
wa_bomgroup-created_in_plant = p_werks.
append wa_bomgroup to i_bomgroup.
wa_variant-alternative_bom = 1.
wa_variant-base_qty = 1.
wa_variant-valid_from_date = sy-datum.
append wa_variant to i_variant.
loop at i_upload1 into wa_upload1.
wa_item-item_no = wa_upload1-col1.
wa_item-item_cat = wa_upload1-col2.
wa_item-component = wa_upload1-col3.
wa_item-comp_qty = wa_upload1-col4.
append wa_item to i_item.
wa_subitem-subitem_qty = '1'.
wa_subitem-installation_point = wa_upload1-col5.
append wa_subitem to i_subitem.
endloop.
CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
EXPORTING
TESTRUN = ' '
ALL_ERROR = ' '
TABLES
BOMGROUP = i_bomgroup
VARIANTS = i_variant
ITEMS = i_item
SUBITEMS = i_subitem
MATERIALRELATIONS = i_header
ITEMASSIGNMENTS =
SUBITEMASSIGNMENTS =
TEXTS =
RETURN = i_return.
if i_return[] is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
*write: /'BOM created:', stpo-stlnr.
else.
*if not i_return[] is initial.
loop at i_return.
IF i_return-TYPE = 'E'.
errmsg-type = i_return-type.
errmsg-line = i_return-message.
append errmsg.
ULINE /1(108).
write:/ icon_led_RED as icon, i_return-MESSAGE.
ULINE /1(108).
ENDIF.
IF i_return-TYPE = 'W'.
errmsg-type = i_return-type.
errmsg-line = i_return-message.
append errmsg.
ULINE /1(108).
write:/ icon_led_YELLOW as icon, i_return-MESSAGE.
ULINE /1(108).
ENDIF.
ENDLOOP.
*write: / i_return-id, i_return-number, i_return-message(80).
*endloop.
*write: /'Error'.
endif.
ENDFORM. " f_call_bapiHi shashi,
Thanks for ur help.i tried after passing the group but it is giving same error.
i am getting the error
"Error/warning when checking the structure of the BOM group with ID= test"
i am gettig the above error when i put bomgroup-bom_group_identification = 'TEST'.
whatever i am putting in this field, the same error is comming having different value.
if i put--- bomgroup-bom_group_identification = ' '. then i will get error
"Error/warning when checking the structure of the BOM group with ID=
if i omit that field, then also , i am getting same error.
plz suggest what r the fields i need to pass for BOMGROUP structure for that bapi?
regards
pabitra -
Error while creating AW using DBMS_LOB with XML..
Hi All,
I am trying to create AW using DBMS_LOB package with XML,
while creating AW,i am facing the following error.find the code also below :
declare
xml_awcreate_clob clob;
xml_awcreate_st varchar2(4000);
begin
DBMS_LOB.CREATETEMPORARY(xml_awcreate_clob,TRUE);
dbms_lob.open(xml_awcreate_clob, DBMS_LOB.LOB_READWRITE);
dbms_lob.writeappend(xml_awcreate_clob, 48, '<?xml version = ''1.0'' encoding = ''UTF-8'' ?>');
dbms_lob.writeappend(xml_awcreate_clob, 43, '');
dbms_lob.writeappend(xml_awcreate_clob, 63, '<AWXML version = ''1.0'' timestamp = ''Mon Feb 11 13:29:11 2002'' >');
dbms_lob.writeappend(xml_awcreate_clob, 15, '<AWXML.content>');
dbms_lob.writeappend(xml_awcreate_clob, 25, ' <Create Id="Action41">');
dbms_lob.writeappend(xml_awcreate_clob, 19, ' <ActiveObject >');
dbms_lob.writeappend(xml_awcreate_clob, 163, ' <AW Name="NEW_XML_AW" LongName="NEW_XML_AW" ShortName="NEW_XML_AW" PluralName="NEW_XML_AW" Id="NEW_XML.AW"/>');
dbms_lob.writeappend(xml_awcreate_clob, 19, ' </ActiveObject>');
dbms_lob.writeappend(xml_awcreate_clob, 11, ' </Create>');
dbms_lob.writeappend(xml_awcreate_clob, 16, '</AWXML.content>');
dbms_lob.writeappend(xml_awcreate_clob, 8, '</AWXML>');
dbms_lob.close(xml_awcreate_clob);
xml_awcreate_st := sys.interactionExecute(xml_awcreate_clob);
end;
ORA-21560: argument 2 is null, invalid, or out of range
ORA-06512: at "SYS.DBMS_LOB", line 833
ORA-06512: at line 12
Any idea or thought on this would be appreciable.
Thanks in advance.
AnwarDid you change any of the text in the lob write statements ?
I believe you get this error if you increase the number of characters without increasing the 1st argument which looks as though it represents the number of characters -
Error while creating filter using BD59 and BD64
Hi Friends-
While creating filters for HRMD_A message type using BD59 i have added one field stat2 for segment
E1P0000 and its coming also in BD64 while creating filter group but when i double click on it to give value to it it gives me error ' Inconsistency in ' .
what could be the reason pls let me know ?
Regards
MeetaHi,
Try to distribute the model view in BD64 ( Edit->ModelView->Distribute). you can check for technical inconsistencies for message type in Transaction BDM5
Regards,
Vinod -
Error While creating User using userservcenter Webservice
Hi All,
I have generated the java client stub from the um_workflowSaveCreateProfile.wsdl file successfully and I have developed one client code to call the web service to create user in Oracle Internet Directory.
I am invoking one workflow for creation of the user which accepts four attributes (sn, cn, uid, userPassword),it is working fine when sn, cn, uid attributes are mandatory only, but if I make userPassord as mandatory, it is showing me error : Not all of the required parameters for this operation were specified.
I am using the below client Code to call the service:
package com.example;
import java.util.Properties;
import org.apache.axis.AxisFault;
import com.oblix.CreateUser.*;
public class CreateUserClient {
public static void main(String Args[]) throws AxisFault{
try{
OblixIDXML_um_workflowSaveCreateProfile_ServiceLocator loc = new OblixIDXML_um_workflowSaveCreateProfile_ServiceLocator();
OblixIDXMLPortType port = loc.getOblixIDXML_um_workflowSaveCreateProfile_Port();
Authentication myauth = new Authentication();
myauth.setLogin("orcladmin");
myauth.setPassword("1111Aaaa");
Request myrequest = new Request();
myrequest.setFunction("workflowSaveCreateProfile");
myrequest.setApplication("userservcenter");
myrequest.setVersion("NPWSDL1.0");
RequestParams myparams = new RequestParams();
myparams.setObDomainName("dc=ad,dc=company,dc=com");
//myparams.setObWorkflowName("obworkflowid=wfqs20090206T1424241321438,obcontainerId=workflowDefinitions,o=Oblix,dc=ad,dc=company,dc=com");
myparams.setObWorkflowName("obworkflowid=wfqs20090206T170318571544,obcontainerId=workflowDefinitions,o=Oblix,dc=ad,dc=company,dc=com");
java.math.BigInteger myint2 = new java.math.BigInteger("4");
myparams.setNoOfFields(myint2);
AttributeParams attributeParams = new AttributeParams();
GenericAttribute []genericAttribute = new GenericAttribute[10];
GenericAttribute mygenericattr = new GenericAttribute();
mygenericattr.setAttrName("cn");
mygenericattr.setAttrOperation("ADD");
String[] cn = {"Akshay"};
mygenericattr.setAttrNewValue(cn);
genericAttribute[0] = mygenericattr;
GenericAttribute mygenericattr1 = new GenericAttribute();
mygenericattr1.setAttrName("sn");
mygenericattr1.setAttrOperation("ADD");
String[] sn = {"koul"};
mygenericattr1.setAttrNewValue(sn);
genericAttribute[1] = mygenericattr1;
GenericAttribute mygenericattr3 = new GenericAttribute();
mygenericattr3.setAttrName("uid");
mygenericattr3.setAttrOperation("ADD");
String[] uid = {"akshay_koul"};
mygenericattr3.setAttrNewValue(uid);
genericAttribute[2] = mygenericattr3;
PasswordAttribute []pwdatrarr= new PasswordAttribute[1];
PasswordAttribute pwdatr= new PasswordAttribute();
pwdatr.setAttrName("userPassword");
pwdatr.setAttrOperation("ADD");
pwdatr.setAttrNewValue("abcd1234");
pwdatr.setAttrConfirmValue("abcd1234");
pwdatrarr[0] = pwdatr;
System.out.println("the pwd is"+pwdatrarr.toString());
attributeParams.setGenericAttribute(genericAttribute);
attributeParams.setPasswordAttribute(pwdatrarr);
myparams.setAttributeParams(attributeParams);
myrequest.setParams(myparams);
Oblix output = port.oblixIDXML_um_workflowSaveCreateProfile(myauth, myrequest);
System.out.println("result of the request\n");
System.out.println();
//System.out.println("test:"+output.getObError().getObStatus());
// System.out.println("test1:"+output.getObError().getObRequestInfo());
System.out.println("test2:"+output.getObError().getObTextMessage()[0].toString());
System.out.println("test2:"+output.getObError().getObTextMessage()[0]);
System.out.println("test3:"+output.getObError().getObTextMessage(0));
System.out.println("status is " + output.getObStatus());
}catch(Exception e){
System.out.println("the exception is:"+e.getMessage());
e.printStackTrace();
Please suggest me where i am wrong !!!
Thanks in Advance
AkshayHi,
I guess, create workflow does not accept the password attribute while creating user account.
You have to create the account using createprofile web service then update the password using changeprofile web service.
I think this limitation is strategic, if you have password policies enabled, policies are applied to the container of the accounts.
So OAM needs to have the DN of the user account to check if there are any password policies associated with the container during password updates,
which might not be possible while using createProfile web service.
- Sandeep -
Error while copying MDM catalog to shopping cart
Hi all,
While pulling the MDM catalog to shopping cart, i am getting a error "No logical system for FI is maintained".
i have maintained the org structure..in the attribute i have given the logicla system..but somehow i am getting the error.
Please let me know if you have any solutionhi,
Check with your basis team.
"No logical system for FI is maintained".
1)Check in the PPOSA_BBP --Attritubute for the FI and maintain the Logical Backend system
2)for Backend system -SAP R/3 (or) ECC 6.0 you have not maintained the Logical system.
3) check the product category for which GL account is maintained in the Config
Regards
G.Ganesh Kumar -
Error while clicking 'Transfer Items' in shopping cart processing
Hi,
When I click on 'Transfer Items' in shopping cart creation, I get the following error.
The following error text was processed in the system P2S : Template interpretation failed. Template does not exist.
The error occurred on the application server p2p_P2S_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Function: BBP_WS_IMPORT_SC_DATA of program SAPLBBP_WS_API
Function: BBP_WS_IMPORT_SC_DATA of program SAPLBBP_WS_API
Form: CATALOG_CONTENT_GET of program SAPLBBP_SC_APP
Function: BBP_SC_APP_EVENT_DISPATCHER of program SAPLBBP_SC_APP
Form: APP_EVENT_HANDLER of program SAPLBBP_SC_UI_ITS
Form: SC_EVENT_DISPATCHER of program SAPLBBP_SC_UI_ITS
Module: SC_EVENT_DISPATCHER of program SAPLBBP_SC_UI_ITS
Can any one suggest on this.
Rgds,
SanjeetHi Paul,
Yes, we could resolve the issue.
But we used to get this errror when we set the debugger in
the newly implemented code.
If we remove the debugger, it was working fine.
Solution:
Go to transaction SICF.
If you execute that, a tree structure will appear.
Expand "Default Host".
Default Host>SAP>BC->GUI>SAP-> ITS-> BBPSC02
Go to EDIT mode.
Change GUI configuration as below:
Like other available parameters, add one more parameter called
~GENERATEDYNPRO and make it equal to 1.
i.e. ~GENERATEDYNPRO = 1.
But we tried this solution only when debugger was on.
Please check it in your case also and let me know if it works.
The other solution may be to publish the required template again.But I am not sure about that.
Rgds,
Sanjeet
Maybe you are looking for
-
How do I change the Home file name back to Home?
Help! - How do I change the Home file name back to Home? My supplier changed it to Demo. I've tried pressing return, control click and Get Info but none gives access to change the name. Any ideas?
-
Enhancements to the WEB Templete 0ANALYSIS_PATTREN
Hi, We are using 0ANALYSIS_PATTREN web templete for WEB Bex Analyzer. User access queries using this templete. I got couple of requirments that i need to enhance the WEB templete. Please guide me how to proceed to achieve... When user executes quer
-
Doesn't it get very old, same question about running dos command?
To everyone who is tooo lazy to search. Process p = Runtime.getRuntime().exec("progname arg1 arg2"); What a wast of everyone's time responding to the same question on how to run a dos command.
-
Hi! I refreshed Firefox when it suggested I do so because it was being slow. Silly me for not reading a bit more carefully about what it would remove, and I lost certain settings. Well, I restored tabs on bottom and all that jazz, but it seems that t
-
Importing Item quantity with DTW
Hello, How can I import Items quantities (OITW.OnHand) with DTW ? thanks taking care my question.