Nº de caracteres para item em NF de exportação entrada.
Após a aplicação do SP12 NFs migradas via Softway "trancam" na entrada pois os caracteres configurados para os itens são enviados com 2 dígitos e o SAP esta convertendo para 1 dígitos e não reconhece o campo com os 2 dígitos. Alguém passou por este problema após a aplicação do SP12?
discussão movida da Comunidade SAP em Português (Portuguese Language Community) para SPED & NF-e
Similar Messages
-
NWDS 7.0 Error during Quick PAR Upload and while trying Exporting PAR-File
Hello,
I am trying to use the functions "Export as PAR-File" and "Quick PAR Upload" in NWDS 7.0.
Unfortunately I got an error every time when I am trying to use this functions. I am using the package explorer in the Java perspectiv in NWDS for starting this functions. The error tells me the following:
"Unable to connect to the Portal"
"Operation failed: Please make sure the server "XY" is running or check the log (sap-plugin.log) for more detail"
Thats all.
When I am looking in the log-file I can read the following messages:
"ACCESS.ERROR: Authorization check for caller assignment to J2EE resource [keystore-view.TicketKeystore: view-actions: GET_VIEW:ALL]"
"ACCESS.ERROR: Authorization check for caller assignment to J2EE resource [keystore-view.TicketKeystore: view-actions: IS_VIEW_EXISTS:ALL]"
"ACCESS.ERROR: Authorization check for caller assignment to J2EE resource [keystore-view.TicketKeystore: view-actions: SIZE_OF_VIEW:ALL]"
"ACCESS.ERROR: Authorization check for caller assignment to J2EE resource [keystore-view.TicketKeystore: view-actions: READ_ENTRY:ALL]"
LOGIN.ERROR|null|| Login Method=[default] UserID=[user_Admin] IP Address=[192.168.xxx] Reason=[Cannot authenticate the user]
I have tried this with several users and their passwords. All of the users have admin-rights at least in the portal. One of them even in the SDM.
I can sucessfully deploy webdynpros from NWDS into the same Portal with this users.
We are using SAP Logon Tickets and SSO is configured working fine between Portal and backend.
We have imported Key Store File in NWDS unter Window --> Preferences --> Java Development Infrastructure.
And we are not using the NWDI.
Who knows why I cannot even export par-files? Are their any configurations missing?
Best regards,
IrisIt is mentioning about authentication.
check whether you have access to deploy directly or not ? maybe direct deployment into portal disabled .
I think you have to follow the procedure of checkout and activate procedure.
Can you clarify few things
1) Are you using NWDI Based Transports in your landscape?
Login Method=default UserID=user_Admin IP Address=http://192.168.xxx Reason=Cannot authenticate the user
http://192.168.xxx is it your development portal?
Did you clarify with admin people whether direct deployment disabled?
Koti Redd -
Necesito saber cual es la instruccion en cvi que convierte int a char
Usa sprintf(char Destino, const char Formato, origen_de_datos), que esta en la libreria ANSI C. Es una funcion general que genera un string de chars con cualquier tipo de datos.
Debes declarar un char Destino del largo necesario para que contenga todo el numero (aprox. 6 caracteres para un int). El char formato es del tipo "%d" para un entero
Ej
int Entero;
char EnteroConvertido[6];
sprintf(EnteroConvertido,"%d",Entero); -
Pedido de Compra - Envio de e-mail para o fornecedor
Boa tarde pessoal
Estou com uma dúvida sobre o processo para envio de e-mail do Pedido de Compra para o fornecedor.
Hoje utilizamos o e-mail do último aprovador no Pedido de Compra para que seja enviado ao fornecedor.
Existe alguma configuração para que no momento do envio seja utilizado o e-mail cadastrado no Grupo de Compradores?
Obs.: o objetivo é utilizar o e-mail do Grupo de Compradores informado na aba "Dados organizacionais".
Obrigado
José RobertoOlá Neto,
Se você não deseja permitir novos lançamentos de fatura ou movimento de mercadoria tem que flegar o campo delivery completed indicator (EKPO-ELIKZ).
Para fazer isso veja a questão '8' da nota 1093582.
1093582 - FAQ: Delivery complete indicator ELIKZ
8. Question
Is there any report to set ELIKZ?
Answer
You can use the report Z_SET_ELIKZ3 only if EKPO-EGLKZ is set and the
'Issued quantity', the 'Quantity of goods received' and the 'Quantity
delivered (stock transport order)' are the same.
This report will only affect documents that have already been posted. An
automatic setting of the 'Delivery completed' indicator (EKPO-ELIKZ) in
the online processing of the transaction is not supported. See Note
160525 for more information.
Ou seja, você deve criar e executar o report Z_SET_ELIKZ3 para setar o delivery completed indicator para PO em questão.
você poderia também setar esse campo manual mente na tabela EKPO.
Por favor:
execute a tabela EKPO na SE16 para a PO afetada,
selecione a linha/entrada da tabela,
vá pelo menu Table Entry->Change
marque o campo ELIKZ como 'X' ao invés de branco..
Espero que essa informação lhe ajude.
Atenciosamente,
Fábio Almeida
Consultor MM -
Pedido de Compra com Item Category = D
Olá Pessoal,
Alguém sabe me informar qual é o tratamento que a solução SAP SPED Fiscal apresenta quando usamos mestre de serviço e o pedido de compra fica com código do material (EKPO-MATNR) branco. Faço esta pergunta porque a partir do SPED todos os materiais e serviços devem ser codificados.
Ou temos que deixar de usar o mestre de serviço e usar o mestre de material para os serviços também e com isso perdermos a funcão para Folha de Registro de Serviço/Medição.
Obrigado,
Claudiomiro Silva.Olá Neto,
Se você não deseja permitir novos lançamentos de fatura ou movimento de mercadoria tem que flegar o campo delivery completed indicator (EKPO-ELIKZ).
Para fazer isso veja a questão '8' da nota 1093582.
1093582 - FAQ: Delivery complete indicator ELIKZ
8. Question
Is there any report to set ELIKZ?
Answer
You can use the report Z_SET_ELIKZ3 only if EKPO-EGLKZ is set and the
'Issued quantity', the 'Quantity of goods received' and the 'Quantity
delivered (stock transport order)' are the same.
This report will only affect documents that have already been posted. An
automatic setting of the 'Delivery completed' indicator (EKPO-ELIKZ) in
the online processing of the transaction is not supported. See Note
160525 for more information.
Ou seja, você deve criar e executar o report Z_SET_ELIKZ3 para setar o delivery completed indicator para PO em questão.
você poderia também setar esse campo manual mente na tabela EKPO.
Por favor:
execute a tabela EKPO na SE16 para a PO afetada,
selecione a linha/entrada da tabela,
vá pelo menu Table Entry->Change
marque o campo ELIKZ como 'X' ao invés de branco..
Espero que essa informação lhe ajude.
Atenciosamente,
Fábio Almeida
Consultor MM -
Send all line items of a sales order to IPC along with condition lines data
We wrote some pricing routines in R/3, where while doing he calculations for condition line item, we needed to pull in the material information for previous line items. So we exported vbap and imported it inside the routine to be able to have access to all the line items in the sales order. Now, we need to put in the same kind of logic in CRM/IPC. My question is what would be the equivalent of SAP's(import/export) commands for internal tables in case of IPC. I looked at the BADI CRM_COND_COM_BADI but still do not see how I can send all the line items data to IPC. So I guess, the question comes down to, how do I send all the line items of the sales order (whole VBAP in R/3 terms) to IPC along with the condition line data? Can someone please help?
ThanksHi Vaibhav,
If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup or navigation attribute.
Just my views I am sharing .
Thanks,
KDJ -
Creation of C project from xRPM item and automatic creation of proj in PS
Hi all,
My requirement is to create a cproject from xRPM, once the status of the item is "Approved" and a BAdI is there(RPM_PROJ_CUST_WF) which will trigger, when the status is changed to "Approved".
My problem is how to create a cproject from xRPM item, any FM or BAPI available? If cproject is created, then automatically a project needs to be created in PS (ECC).
Also how to create a project in PS from cproject, any config? Please help in this regard. How I can proceed?. I need to make any config. for acheiving the same?
Regards,
V Kumar
Edited by: V Kumar on Sep 18, 2009 3:06 PM
Edited by: V Kumar on Sep 18, 2009 3:09 PMHi,
I don't know how to create PS upon approval of item but I have done auto creation of cProject upon approval of item. Use FM
DFM_DO_CREATE_PROCESSING.
Here is sample code for this. In this code you have to create a cProject from a template.
FUNCTION Z_RPM_ITEM_CPROJECT_LINK2.
""Local Interface:
*" IMPORTING
*" VALUE(I_ITEM_GUID) TYPE /RPM/TV_GUID OPTIONAL
*" VALUE(I_BUCKET_ID) TYPE /RPM/TV_BUCKET_ID OPTIONAL
*" EXPORTING
*" VALUE(EV_RC) TYPE I
Data declaration
Data:
lt_rpm_messages TYPE /rpm/tt_messages,
ls_source_context TYPE inm_object_context,
ls_operation_context TYPE inm_operation_context,
IT_TARGET_TEMPLATES TYPE INM_TT_GROUP_TEMPLATE_ASSOC,
ls_target_templates TYPE INM_TS_GROUP_TEMPLATE_ASSOC,
lt_triggering_objects TYPE inm_tt_object_context,
ls_triggering_object TYPE inm_object_context,
lt_params TYPE inm_of_tt_field_names_values,
ls_params TYPE inm_of_ts_field_name_value,
lv_object_id TYPE INM_OF_TV_OBJECT_KEY,
lv_templateId TYPE INM_OF_TV_OBJECT_KEY,
lv_parent_guid TYPE /RPM/TV_GUID,
lv_portfolio_guid TYPE /RPM/TV_GUID,
lv_parent_guid1 TYPE INM_OF_TV_FIELD_VALUE,
lv_portfolio_guid1 TYPE INM_OF_TV_FIELD_VALUE,
ET_Messages TYPE INM_OF_TT_MESSAGES,
ls_ilink_db TYPE /rpm/item_il.
Data: lv_cproject_template TYPE ZTEMPLATE1-CPROJECT_TEMP,
lv_cproject_template2 TYPE DPR_TV_PROJECT_ID,
lv_temp_guid TYPE DPR_TV_ENTITY_GUID,
lv_log_sys TYPE string.
lv_object_id = I_ITEM_GUID.
Get the cproject template guid
select single CPROJECT_TEMP into lv_cproject_template
from ZTEMPLATE1
where EXTERNAL_ID = I_BUCKET_ID.
lv_cproject_template2 = lv_cproject_template.
select single GUID into lv_temp_guid
from DPR_PROJECT
where PROJECT_ID = lv_cproject_template2.
lv_templateId = lv_temp_guid.
Get Parent & Portfolio guid
Select single PORTFOLIO_GUID PARENT_GUID into
(lv_portfolio_guid, lv_parent_guid)
from /rpm/item_d
where guid = i_item_guid.
lv_portfolio_guid1 = lv_portfolio_guid.
lv_parent_guid1 = lv_parent_guid.
Get logistic system
concatenate SY-SYSID 'CLNT' SY-MANDT into lv_log_sys.
condense lv_log_sys.
Assigning more data
ls_source_context-OBJECT_ID = lv_object_id.
*ls_source_context-LOGSYS = 'DY1CLNT200'.
ls_source_context-LOGSYS = lv_log_sys.
ls_source_context-GROUPING = 'PPO'.
ls_source_context-OBJECT_LINK_TYPE = '0INMITEM'.
ls_source_context-CREATE_TEMPLATE_TYPE = '1'.
ls_source_context-TEMPLATE_ID = lv_templateId.
ls_source_context-TARGET_OBJECT_GROUPING = 'PDCP'.
ls_operation_context-OPERATION = 'C'.
ls_target_templates-GROUPING = 'PDCP'.
*ls_target_templates-LOGSYS = 'DY1CLNT200'.
ls_target_templates-LOGSYS = lv_log_sys.
ls_target_templates-TEMPLATE_ID = lv_templateId.
ls_target_templates-TYPE = '1'.
append ls_target_templates to IT_TARGET_TEMPLATES.
ls_params-EXT_FIELD_NAME = 'PARENT_GUID'.
ls_params-EXT_FIELD_VALUE = lv_parent_guid1.
append ls_params to lt_params.
ls_params-EXT_FIELD_NAME = 'PORTFOLIO_GUID'.
ls_params-EXT_FIELD_VALUE = lv_portfolio_guid1.
append ls_params to lt_params.
Calling FM to create cproject & linking to item
CALL FUNCTION 'DFM_DO_CREATE_PROCESSING'
EXPORTING
IS_SOURCE_OBJECT_CONTEXT = ls_source_context
IS_OPERATION_CONTEXT = ls_operation_context
IT_TARGET_TEMPLATES = it_target_templates
IT_PARAMS = lt_params
IT_TRIGGERING_OBJECTS = lt_triggering_objects
IMPORTING
ET_MESSAGES = ET_Messages
EV_RC = EV_RC.
commit changes
ENDFUNCTION.
Please let me know if you find a way to create PS from xRPM or cProject.
Regards
Mohinder -
New G/L line item extractor 0FI_GL_14
Hi,
has anyone worked with the new G/L line item extractor 0FI_GL_14 already? I know that this line items extractor uses function module FAGL_GET_LINE_ITEMS and extract structure FAGLPOSBW.
Does anyone have the coding for this function module?
Thanks
ChristianHi,
Please find the code
FUNCTION fagl_get_si_data.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SBIWA_S_INTERFACE-REQUNR
*" VALUE(I_ISOURCE) TYPE SBIWA_S_INTERFACE-ISOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SBIWA_S_INTERFACE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SBIWA_S_INTERFACE-INITFLAG OPTIONAL
*" VALUE(I_UPDMODE) TYPE SBIWA_S_INTERFACE-UPDMODE OPTIONAL
*" VALUE(I_DATAPAKID) TYPE SBIWA_S_INTERFACE-DATAPAKID OPTIONAL
*" VALUE(I_CALLMODE) TYPE RSAZT_CALLMODE OPTIONAL
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SBIWA_T_FIELDS OPTIONAL
*" E_T_FAGLPOSBW STRUCTURE FAGLPOSBW OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
STATICS:
sd_flag_interface_initialized TYPE boole_d,
sd_counter_datapakid TYPE sbiwa_s_interface-datapakid,
sd_step_extrmode TYPE rsazt_extrmode,
sd_no_more_data TYPE boole_d,
sd_cursor_open TYPE string,
sd_max_lines LIKE sy-tabix,
sd_updmode LIKE i_updmode,
sd_rldnr TYPE rldnr.
DATA:
ld_rldnr TYPE rldnr,
lt_select TYPE sbiwa_t_select,
ls_select TYPE sbiwa_s_select,
ld_syst_date TYPE d,
ld_syst_time TYPE t,
ld_utc_timestamp TYPE timestamp,
lt_select_int TYPE gusl_t_selection,
lt_fields_int TYPE gusl_t_fields,
ld_cursor_flag TYPE flag,
lt_faglpose TYPE faglpose_t.
CASE i_callmode.
WHEN rsazt_c_callmode-selscreen OR
rsazt_c_callmode-selcheck.
not supported yet
WHEN rsazt_c_callmode-extraction.
initialization mode (first call by SAPI) or data transfer mode
IF i_initflag = sbiwa_c_flag_on.
Initialization
Invalid second initialization call -> error exit
IF NOT sd_flag_interface_initialized IS INITIAL.
IF 1 = 2. MESSAGE e008(r3). ENDIF.
MESSAGE ID 'R3' TYPE 'E' NUMBER '008'
RAISING error_passed_to_mess_handler.
ENDIF.
Check for supported update mode
CASE i_updmode.
WHEN sbiwa_c_updmode_full.
WHEN sbiwa_c_updmode_deltainit.
WHEN sbiwa_c_updmode_delta.
WHEN sbiwa_c_updmode_init.
WHEN sbiwa_c_updmode_repeat.
WHEN OTHERS.
IF 1 = 2. MESSAGE e011(r3) WITH i_updmode. ENDIF.
MESSAGE ID 'R3' TYPE 'E' NUMBER '011' WITH i_updmode
RAISING error_passed_to_mess_handler.
ENDCASE.
sd_flag_interface_initialized = sbiwa_c_flag_on.
initialize change pointer
PERFORM initialize_change_pointer.
get relevant ledger.
PERFORM get_relevant_ledger
USING i_isource
CHANGING ld_rldnr.
build selection table
lt_select[] = i_t_select[].
LOOP AT lt_select INTO ls_select
WHERE fieldnm = c_fieldname_rldnr.
IF ls_select-low <> ld_rldnr OR
( ls_select-high <> ld_rldnr AND
ls_select-option = 'BT' ).
IF 1 = 2. MESSAGE e014(r3). ENDIF.
MESSAGE ID 'R3' TYPE 'E' NUMBER '014'
RAISING error_passed_to_mess_handler.
ENDIF.
ENDLOOP.
IF NOT sy-subrc IS INITIAL.
CLEAR ls_select.
ls_select-fieldnm = c_fieldname_rldnr.
ls_select-sign = 'I'.
ls_select-option = 'EQ'.
ls_select-low = ld_rldnr.
APPEND ls_select TO lt_select.
ENDIF.
sd_rldnr = ld_rldnr.
convert timestamp from SYS -> UTC
The TIMESTAMP provided by S-API is always in local time (SYS),
and the timestamp in the FlexGL tables is stored as UTC.
LOOP AT lt_select INTO ls_select
WHERE fieldnm = c_fieldname_timestamp.
IF NOT ls_select-low IS INITIAL.
ld_syst_date = ls_select-low(8).
ld_syst_time = ls_select-low+8(6).
CALL METHOD cl_abap_tstmp=>systemtstmp_syst2utc
EXPORTING
syst_date = ld_syst_date
syst_time = ld_syst_time
IMPORTING
utc_tstmp = ld_utc_timestamp.
ls_select-low = ld_utc_timestamp.
ENDIF.
IF NOT ls_select-high IS INITIAL.
ld_syst_date = ls_select-high(8).
ld_syst_time = ls_select-high+8(6).
CALL METHOD cl_abap_tstmp=>systemtstmp_syst2utc
EXPORTING
syst_date = ld_syst_date
syst_time = ld_syst_time
IMPORTING
utc_tstmp = ld_utc_timestamp.
ls_select-high = ld_utc_timestamp.
ENDIF.
MODIFY lt_select FROM ls_select.
ENDLOOP.
convert selection into internal format
PERFORM convert_selection
USING lt_select
CHANGING lt_select_int.
convert fieldlist into internal format
PERFORM convert_fieldlist
USING i_t_fields[]
CHANGING lt_fields_int.
sd_max_lines = i_maxsize.
sd_updmode = i_updmode.
initialize database selection
CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
EXPORTING
i_block_data = 'X'
i_block_size = sd_max_lines
i_selection = lt_select_int
i_fieldlist = lt_fields_int
i_initflag = i_initflag.
ELSE. "data extraction
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
REFRESH e_t_faglposbw.
IF sd_counter_datapakid = 0.
sd_step_extrmode = rsazt_c_extrmode-db.
ENDIF.
IF NOT sd_no_more_data IS INITIAL.
RAISE no_more_data.
ENDIF.
CASE sd_step_extrmode.
WHEN rsazt_c_extrmode-archive.
not supported
WHEN rsazt_c_extrmode-db.
database selection
IF sd_cursor_open IS INITIAL OR
sd_cursor_open = 'NEW'.
process database selection for new line items
CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
EXPORTING
i_block_data = 'X'
i_block_size = sd_max_lines
IMPORTING
flag_cursor_open = ld_cursor_flag
CHANGING
c_t_faglpose = lt_faglpose.
IF ld_cursor_flag IS INITIAL.
CLEAR sd_cursor_open.
ELSE.
sd_cursor_open = 'NEW'.
ENDIF.
ENDIF.
IF sd_updmode = sbiwa_c_updmode_delta OR
sd_updmode = sbiwa_c_updmode_repeat.
IF sd_cursor_open IS INITIAL OR
sd_cursor_open = 'CHANGED'.
process database selection for changed line items
CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
EXPORTING
i_block_data = 'X'
i_block_size = sd_max_lines
i_changed_records = 'X'
IMPORTING
flag_cursor_open = ld_cursor_flag
CHANGING
c_t_faglpose = lt_faglpose.
IF ld_cursor_flag IS INITIAL.
CLEAR sd_cursor_open.
ELSE.
sd_cursor_open = 'CHANGED'.
ENDIF.
ENDIF.
ENDIF.
there is no more data to read
IF ld_cursor_flag IS INITIAL.
sd_no_more_data = 'X'.
ENDIF.
fill additional bw fields
PERFORM convert_data
USING lt_faglpose
sd_rldnr
i_updmode
CHANGING e_t_faglposbw[].
ENDCASE.
ADD 1 TO sd_counter_datapakid.
ENDIF. "Initialization mode or data extraction ?
ENDCASE.
ENDFUNCTION. -
What if EXPORT ITEMS if grayed out in keychain access?
Model Name: MacBook Pro
Model Identifier: MacBookPro6,2
Processor Name: Intel Core i5
Processor Speed: 2.53 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 3 MB
Memory: 4 GB
Processor Interconnect Speed: 4.8 GT/s
Boot ROM Version: MBP61.0057.B0F
Available: 258.98 GB (258,979,909,632 bytes)
Capacity: 499.25 GB (499,248,103,424 bytes)
Software OS X 10.9.5 (13F34)
Keychain Access Version 9.0 (55153)
I attempted to export about 10 keychain items following the procedure in Keychain Access Help. After selecting the items
I found that Export Items was greyed out. I then selected the items one-at-a-time and found that Export Items was grayed
out for each item. What is the problem? I am the administrator of this computer. Help offers no further help about why
items cannot be exported.
(Also, why is text in this box offscreen when left justified?)Good evening from Hamburg,
sadly, "some keychain items" seems to be the understatement of the year. I have not found any exportable items yet. And I have no idea why it should be impossible to export a simple Internet password, e.g., or a secure note.
In other words: "Some keychain items can not be exported." – I already read that in the help text. So please elaborate. Which ones cannot be exported (for example). What are possible reasons? Is there anything I can do about the "non-exportability" of an item? And which ones actually can be exported (for example)?
Regards,
I.T.W. -
Thanks to Gilad D67 for showing me how to have multiple drop down menu items appear in a separate text box. This stuff blows my mind. Is there any script I can use to make a new drop down menu item appear in the same text box, but on a new line below a previous entry. For example. I select 'cat' from my drop down menu and it appears in my text box. Now I choose 'dog' from my menu and it appears in my text box like so 'cat dog.' Is there any way I can make 'dog' go straight to a new line automatically without having to manually go into the text box and change it?
cat
dog (new selection goes straight to a new line)
Now, I don't have a clue if this is also possible, but imagine, I don't like my drop down menu selection of 'dog' and I go back into the menu and I change to 'rat' but in the text box, 'dog' still appears and 'rat' is added. Do I have to manually delete 'dog' from the text box or is there script that can do this for me.
Any assistance would be incredible. It amazes me how people know this stuff.
This is the script I have so far
(function () {
// Do nothing if not committed
if (event.willCommit) return;
// Set up an array to hold the individual paragraphs of text
var aQuotes = [3];
// Populate the array with the paragraph text
aQuotes[0] = "Use common singular nouns, plural nouns [plural ‘s’] and proper names to say what things are"
aQuotes[1] = "Use numbers 1–10 to count"
aQuotes[2] = "Use basic adjectives and colours to say what someone/something is or has"
// Get the selected item, which is the export value of the selected combo box item
var item = event.changeEx
// Display the text corresponding to the selected item in the text field
getField("Text30").value += " " + aQuotes[item];You have to set the option for the text field to be multiline and then change the last line of the script to:
getField("Text30").value += "\r" + aQuotes[item];
To reset the field you can use a separate button with a Clear Form command, and then you just select this one field from the list. -
Web items not visable in PDF.
Hi all,
I'm using a generic "display"-web template in WAD. Printing, "Print Version" button, this template from a browser the standard analysis and chart are displayed in the PDF output file. If a add a new web item, like Analysis, the browser is showing the new added web item. But when I print this report, the new added web item is missing, not shown.
Any ideas what the solution is for this problem?
Regards,
Coen.Hi Coen,
Yes, you have to choose by EXPORT Command by Data binding web items which should be exported.
If you did not choose anything all web items should be exported
Regards
Erwin -
Multiple drop down menu items to populate the same separate text box. How can I do it?
In Acrobat Pro X, I've figured out how to create a drop down menu with items that will populate a separate text box, but how can I get multiple menu items to populate the same text box. For example. My drop down menu has three items cat, dog, mouse. I choose cat and it appears in my separate text box (hooray). Next, I choose 'dog' from the same menu. I would like it to appear in the same text box along with my previous selection 'cat.' Is this possible? I'm very new to Java Script, any assistance would be greatly appreciated! Thank you
She is the script I'm using
(function () {
// Do nothing if not committed
if (event.willCommit) return;
// Set up an array to hold the individual paragraphs of text
var aQuotes = [3];
// Populate the array with the paragraph text
aQuotes[0] = "cat"
aQuotes[1] = "dog"
aQuotes[2] = "mouse"
// Get the selected item, which is the export value of the selected combo box item
var item = event.changeEx
// Display the text corresponding to the selected item in the text field
getField("Text field 1").value = aQuotes[item]; -
How to used BAPI_SALESORDER_CHANGE to add items
Hi, I am trying to use the above bapi to add items to a sales order, but I can't get the qty to map across. I had the same problem using the create bapi whcih I resolved by populating the schedule tables, but in change this just causes an "unhandled exception" to occur, so i can;t even step into the FM to see the problem. Has anyone got any ideas.
s_header_inx-updateflag = 'U'.
* set item data
s_items-itm_number = s_stock-item_no.
s_items-material = s_stock-material_no.
s_items-target_qty = s_stock-quantity.
s_items-target_qu = s_stock-uom.
s_items-ref_doc = s_stock-agreement.
s_items-ref_doc_it = s_stock-agreement_item.
s_items-batch = s_stock-batch.
s_items-plant = s_stock-plant.
s_items-store_loc = s_stock-storage_location_no.
append s_items to it_items.
* set flag to add items (I)
s_itemsx-updateflag = insert.
s_itemsx-itm_number = s_items-itm_number.
s_itemsx-material = abap_true.
s_itemsx-target_qty = abap_true.
s_itemsx-ref_doc = abap_true.
s_itemsx-ref_doc_it = abap_true.
s_itemsx-batch = abap_true.
s_itemsx-plant = abap_true.
s_itemsx-store_loc = abap_true.
append s_itemsx to it_itemsx.
s_sched-itm_number = s_items-itm_number.
s_sched-sched_line = '0001'.
s_sched-REQ_DATE = sy-datum + 30.
s_sched-req_qty = s_items-target_qty.
append s_sched to it_sched.
* set flag to add items (I)
* s_schedx-updateflag = 'I'
s_schedx-itm_number = s_items-itm_number.
s_schedx-sched_line = '0001'.
s_schedx-REQ_DATE = 'X'.
s_schedx-req_qty = abap_true.
append s_schedx to it_schedx.
* Now call the BAPI to add the items
call function 'BAPI_SALESORDER_CHANGE'
exporting
salesdocument = me->number
* ORDER_HEADER_IN =
order_header_inx = s_header_inx
SIMULATION = ' '
* BEHAVE_WHEN_ERROR = 'P'
* INT_NUMBER_ASSIGNMENT = ' '
* LOGIC_SWITCH =
* NO_STATUS_BUF_INIT = ' '
tables
return = it_return
order_item_in = it_items
order_item_inx = it_itemsx
* PARTNERS =
* PARTNERCHANGES =
* PARTNERADDRESSES =
* ORDER_CFGS_REF =
* ORDER_CFGS_INST =
* ORDER_CFGS_PART_OF =
* ORDER_CFGS_VALUE =
* ORDER_CFGS_BLOB =
* ORDER_CFGS_VK =
* ORDER_CFGS_REFINST =
order_schedules_in = it_sched
order_schedules_inx = it_schedx
* ORDER_TEXT =
* ORDER_KEYS =
* CONDITIONS_IN =
* CONDITIONS_INX =
* EXTENSIONIN =hi,
BAPI_SALESORDER_CHANGE didn't work for me either though i'm 100% sure the bapi works
See SAP note 366265 which tells you how to fill the structures but
you can use your program which you used to create the sales order to change the order and all you need to
do is change a few parameters
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
SALESDOCUMENTIN = P_VBELN
ORDER_HEADER_IN = ORDER_HEADER_IN
ORDER_HEADER_INX = 'U'
(make sure your partners are blank, otherwise you'll get a duprec on VBPA)
-( PS , yes, i;m saying , see if BAPI_SALESORDER_CREATEFROMDAT2 works for you)
I hope this helps
Paul Q
Edited by: Paul Quinn on Jun 2, 2011 11:10 PM -
Create items using func mod crm_order_maintain
Hi,
I am trying to create items within a service order with higher level item. Items are create but higher level item field is blank.
insert fieldnames
ls_fldnames-fieldname = 'MODE'.
insert ls_fldnames into table lt_fldnames.
ls_fldnames-fieldname = 'ORDERED_PROD'.
insert ls_fldnames into table lt_fldnames.
ls_fldnames-fieldname = 'NUMBER_PARENT'.
ls_fldnames-fieldname = 'PARENT_HANDLE'.
insert ls_fldnames into table lt_fldnames.
ls_fldnames-fieldname = 'ITM_PROC_IDENT'.
insert ls_fldnames into table lt_fldnames.
ls_ordm_i-header = gv_hdrguid.
ls_ordm_i-itm_proc_ident = 'SRVC'.
if gs_hier-parent is not initial.
ls_ordm_i-ordered_prod = ls_outtab-sor.
else.
ls_ordm_i-ordered_prod = ls_outtab-svc_act.
endif.
lv_prodid = ls_ordm_i-ordered_prod.
if lv_prodid co '0123456789 '.
unpack lv_prodid to lv_prodid.
endif.
add 1 to lv_handle.
ls_ordm_i-mode = 'A'. "create
ls_ordm_i-handle = lv_handle.
if gs_hier-parent is not initial.
ls_ordm_i-parent_handle = ls_parent-handle.
endif.
insert ls_ordm_i into table lt_ordm_i.
ls_parent-posnr = gv_posnr.
ls_parent-handle = lv_handle.
append ls_parent to lt_parent.
ls_product-ref_handle = lv_handle.
insert ls_product into table lt_product.
insert input fields
ls_inputflds-field_names[] = lt_fldnames[].
ls_inputflds-ref_handle = lv_Handle.
ls_inputflds-objectname = 'ORDERADM_I'.
insert ls_inputflds into table lt_inputflds.
endloop.
return selected products back to service order's items
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
it_product_i = lt_product
CHANGING
CT_ORDERADM_I = lt_ordm_i
ct_input_fields = lt_inputflds
EXCEPTIONS
ERROR_OCCURRED = 1
DOCUMENT_LOCKED = 2
NO_CHANGE_ALLOWED = 3
NO_AUTHORITY = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.Amit,
I am calling a action from a service order which will popup a window containing product tree. User will select the products. If a higher level product is select, child product will also be created as items with higher level item.
As I said the items are showing in the service order, but child item's higher level item is blank.
Cheers. -
WAD: Inhibit Export Text Web Item
There is a Text-Web-Item in our Template which is not bound in the export command.
That´s why this Text-Web-Item was never exported in the past.
Now we´ve made a upgrade from SAP BW 7.0 to SAP BW 7.31.
And now the same Text-Web-Item will be exported (even though it is still not bounded in the export command).
We´ve found out that this problem (under SAP BW 7.31) only exists if a Text-Web-Item is inside a container.
Text-Web-Items that are outside of a container still won´t be exported.
Any ideas how to prevent this Item from export?That would be technically possible, but I don´t want to change 400 Templates
Because the problem exists since upgrade to 7.31, I´m looking for a reason and a fix without changing all existing templates.
We´ve found out that the problem only exists if a container with layout-type "dynamic" is used. If I change to "GRID" the Text-Web-Item will not be exported. Is this a bug?
Maybe you are looking for
-
Error while running application within jdeveloper 11.1.1.2.0
Dear All, I have set up security in jdeveloper integrated wls from this(http://biemond.blogspot.com/2008/12/using-database-tables-as-authentication.html) blog but i used default database tables. I created an application in jdeveloper and when i try t
-
G/L account for CIN..?
Hi all Can any body explain me about the G/L account for CIN . Please explain me , if any client going to implement SAP with CIN, can any body tel me what are the G/L accounts are used for CIN. Minimum we have create G/L accounts for all clients. For
-
TOSHIBA 42TL515U 3D Flickering sometimes, is it normal?
Hello. Last week i bought this Tv. I love it! The 3D is spectacular with no ghosting, no crosstalking, it's quite impresive! But i only have one problem with the Tv, which i don't know if it's normal or not. I have the antena connected through video
-
TimeStamp Errors on Guided Procedures
Hi, i currently create a GP process where the PDF can call the web service and add to the database. currently i have a startDate and endDate inside PDF the objectType for it is Date but then my web service, i try to deploy the methods by casting the
-
Updating to Mountain Lion-- wont install completely.
I've bought OS X Mountain Lion from the app store recently and attempted to install it a few times. It always takes me through the "agree to terms" stage, then goes to the install screen. It begins to countdown the minutes until complete, and note th