Problem while updating Data through IDOC
hi!
I have declared an Internal Table like a structure which has 10 fields.
To generate Idoc i need to pass the records from Internal Table to EDIDD-SDATA.
Since SDATA is a string of Char 1000, i'm concatenating all the columns of internal table to a variable.
In debug mode all the fields size are adopting to its correct size.
but after generating the IDOC and view through WE02 the data are miss placed bz of inclusion of space.
Example:
field1 (Size 4) - ABCD
field2 (Size 10) - 0000001234
field3 (size 10) - 09.02.2010
field4 (Size 6) - _12345
field5 (Size 4) - 6 AB --> missed character is continuing in next field after a space data of its corresponding field starts
field6 (Size 3) - C 2 -->missed character is continuing in next field after a space data of its corresponding field starts
Tried by suppressing the space. CONDENSE NO-GAPS. . . .it dnt help me
How to solve this
Regards
Kv
Hi,
Populate it this way :-
LOOP AT IT_DATA into wa_data.
CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
EXPORTING
IM_VALUE = WA_DATA
IMPORTING
EX_CONTAINER = EDIDD-SDATA
EXCEPTIONS
ILLEGAL_PARAMETER_TYPE = 1
others = 2 .
append EDIDD.
ENDLOOP.
Thanks,
Best regards,
Prashant
Similar Messages
-
Problem in updating CT04 through IDOC
hi,
The main problem is the same code working in one server and not working in other.
I am creating characteristic using IDOC with message type CHRMAS and standard function module.
characteristic created successfully. But while trying to update the characteristic through Idoc, the Basic data description field becomes empty though it processes successfully.
I am also passing values for the description tab for language EN and Z1.
Passing the following values in both create and change :
E1CABNM-->
ATNAM
ATFOR
ANZST
ATKLA
ATMST
FUNCTION
E1CABTM-->
ATBEZ
SPRAS_ISO
Any suggestion.........
Regards,
TanmayHi,
Populate it this way :-
LOOP AT IT_DATA into wa_data.
CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
EXPORTING
IM_VALUE = WA_DATA
IMPORTING
EX_CONTAINER = EDIDD-SDATA
EXCEPTIONS
ILLEGAL_PARAMETER_TYPE = 1
others = 2 .
append EDIDD.
ENDLOOP.
Thanks,
Best regards,
Prashant -
Problem while uploading data through F-43
Hello Experts ,
I am facing a problem while data uploading through F-43.
Suppose I have many vendors with having several debit and credit items for each.So in t code same screen will appear for same vendor several times where we have to enter debit / credit items.
Please suggest how to solve this issue through LSMW/BDC program.
Thanks in adv.
A Miter.Hi..
Use BDC Recording MEthod ...
Develop BDC program, Before Recording the Transaction sit with Functional Consulatnt for REcord The f-43.
After that that u can do ur coding and built ur own logic.
Prabu -
Problem while importing data schema not found
Hi,
I'm facing problem while importing data through system to a schema and impdp gives me error that schema XYZ was not found but when I query dba_users schema exist there what could be the reason of this.
Regards,
AbbasiHi,
Here is complete listing
bash-3.2$ impdp system/abc schemas=XYZ DIRECTORY=data_dir DUMPFILE=Today_dump.dmp LOGFILE=Today_log.log PARALLEL=8
Import: Release 11.1.0.7.0 - 64bit Production on Friday, 07 January, 2011 11:18:57
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39165: Schema XYZ was not found.
Regards,
Abbasi -
Facing problem while updating IInfotype 0009-bank details through workflow
Dear SAP Gurus,
I am facing a problem while updating Infotype 0009 through workflow which is integrdated with portal.
Scenario:
Employee logins to portal and changes his/her bank details like payee name, bank key, account number, postal code and city of bank, bank name etc.
Once he submits the request, my workflow is triggered through SAP_WAPI_START_WORKFLOW which is called from portal and goes through various approval steps and finally reaches the step where the container elements are finally to be updated in IT0009.
Field bank account number (BANKN), which is part of table PA0009 are easily updates using the FM HR_INFOTYPE_OPERATION by first enqueuing the employee number and after the update dequeuing it.
However fields like payee name (EMFTX) bank key (BANKL) , bank name(BANKA -structure BNKA_BF-this is automatically fetched based on bank key) and postal code(BKPLZ) and city of bank (BKORT) are from structure Q0009 (on the infotype 9 screen level) and from table BNKA (at table level). The problem is that these are not getting updated by HR_INFOTYPE_OPERATION as they are not the part of infotype 9.
Can anyone help me to understand how can these fields be updated ?
Quick help will be highly appreciated.Hi Spantaleoni,
Thanks for your quick response.
Well actually the table BNKA is a master table for the bank information and we must not create entries in it or update the table programatically, rather we should use the available data in it.
Now say employee currently has bank as A and he wants to change it as B which is available in BNKA then he will just select the bank B from search help provided in portal which again comes from table BNKA only. Employee then submits the info and it must get updated in the infotype PA0009.
As far as think, this should be done on screen level of infotype PA0009 as I have already mentioned that certain fields are coming from structure Q0009 and they cannot be updated on PA0009 table level.
I am just looking for way through which I can update the screen of infotype PA0009 of employee through workflow.
Regards -
Problem while updating Delivery date uisng BAPI_PO_CHANGE
Hi friends,
Iam facing a problem while updating delivery date of a purchase order using the bapi BAPI_PO_CHANGE
After the bapi is getting triggered iam geting sy-subrc = 0
But in the return parameters iam getting 3 error messages so iam unable to update the delivery date..
Error meesage which iam getting are
a) Purchase order still contains faulty items
b) Enter Tax Code
c) Instance 1000001 of object type PurchaseOrder could not be changed.
How can i correct it..
Please find my code below
LOOP AT it_eket INTO wa_eket.
wa_poschedule-po_item = wa_eket-ebelp.
wa_poschedule-sched_line = wa_eket-etenr.
wa_poschedule-delivery_date = wa_eket-eindt.
APPEND wa_poschedule TO poschedule.
wa_poschedulex-po_item = wa_eket-ebelp.
wa_poschedulex-sched_line = wa_eket-etenr.
wa_poschedulex-po_itemX = 'X'.
wa_poschedulex-sched_lineX = 'X'.
wa_poschedulex-delivery_date = 'X'.
APPEND wa_poschedulex TO poschedulex.
READ TABLE IT_EKPO INTO WA_EKPO WITH KEY EBELN = WA_EKET-EBELN
EBELP = WA_EKET-EBELP.
IF SY-SUBRC = 0.
WA_POITEM-PO_ITEM = WA_EKPO-EBELP.
APPEND WA_POITEM TO POITEM.
WA_POITEMX-PO_ITEM = WA_EKPO-EBELP.
WA_POITEMX-PO_ITEMX = 'X'.
APPEND WA_POITEMX TO POITEMX.
ENDIF.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = wa_eket-ebeln
TABLES
return = t_bapiret2
POITEM = POITEM
POITEMX = POITEMX
poschedule = poschedule
poschedulex = poschedulex.
READ TABLE t_bapiret2 INTO wa_bapiret2 WITH KEY type = 'E'.
IF sy-subrc NE 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =.
IF sy-subrc = 0.
WRITE : 'DELIVERY DATE UPDATED'.
ENDIF.
ENDIF.
how can i correct it...
Regards
KumarHi,
Pass the following values...
POACCOUNT LIKE BAPIMEPOACCOUNT...
poaccount-TAX_CODE = ? (value)....
That should take care of the missing field.
Regards,
Madan.. -
Error while updating data from DataStore object
Hi,
Currently we are upgrading BW3.5 to BI7.0 for technical only,
we found and errors during process chain run in further processing step. This step is basically a delta loading from DSO to Cube.
The error message are:
Error while updating data from DataStore object 0GLS_INV
Message no. RSMPC146
Job terminated in source system --> Request set to red
Message no. RSM078
That's all no further errors message can be explained clearly here from system.
I have applied SAP note 1152453 and reactivate the datasource, infosource, and data target.
Still no help here!?
Please advise if you encountered these errors before.
Thanks in advance.
Regards,
David
Edited by: David Tai Wai Tan on Oct 31, 2008 2:46 PM
Edited by: David Tai Wai Tan on Oct 31, 2008 2:50 PM
Edited by: David Tai Wai Tan on Oct 31, 2008 2:52 PMHi Vijay,
I got this error:
Runtime Errors MESSAGE_TYPE_X
Date and Time 04.11.2008 11:43:08
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Short text of error message:
No start information on process LOADING
Long text of error message:
Diagnosis
For process LOADING, variant ZPAK_0SKIJ58741F4ASCSIYNV1PI9U, the
end should be logged for instance REQU_D4FIDCEKO82JUCJ8RWK6HZ9KX
under the log ID D4FIDCBHXPLZMP5T71JZQVUWX. However, no start has
been logged for this process.
System Response
No log has been written. The process (and consequently the chain)
has been terminated.
Procedure
If possible, restart the process.
Procedure for System Administration
Technical information about the message:
Message class....... "RSPC"
Number.............. 004
Variable 1.......... "D4FIDCBHXPLZMP5T71JZQVUWX"
Variable 2.......... "LOADING"
Variable 3.......... "ZPAK_0SKIJ58741F4ASCSIYNV1PI9U"
Variable 4.......... "REQU_D4FIDCEKO82JUCJ8RWK6HZ9KX"
Any idea? -
Validity Table not updating for 0IC_C03 while updating data
Hi,
1.Validity table not updating for 0IC_C03 while updating data in my BW 7.4 With HANA data base?
Key fields : 0Plant
0Calday
if you run this programe after loading data - RSDG_CUBE_VALT_MODIFY it is updating.
2. I am not getting no marker update option in non-cumulative Info cube 0ic_c03 manage tab or in DTP tabs check as per 7.4 modifications?
and 2LIS_03_BX in DTP I am getting below this option only
Can you please give me solution for this issues.
Regards
UmashankarHi Uma,
Please go through the below link which might be helpful.
Not able to Edit Validity Table : RSDV
Marker Update Option is available under Collapse tab of Info cube.
Thanks,
Karan -
Problem while loading data from ODS to infoobject
Hi guys,
I am facing problem while loading data from <b>ODS to infoobject</b>.
If I load data via PSA it works fine but
if I load data without PSA its giving error as Duplicate records.
Do u have any idea why it is so.
Thanks in advance
savioHi,
when you load the data via the PSA, what did you select? Serial or Paralel?
If you select serial most likely you don't have duplicates within the same datapackage and your load can go through.
Loading directly in the IObj will happen thefore if you have the same key in two different packages, the "duplicate records" will be raised; you can perhaps flag your IPack with the option "ignore duplicate records" as suggested...
hope this helps...
Olivier. -
there was a problem while updating ios 7.1 now my ipad isnt starting up just shows a symbol of itunes with a arrow towards it with its USB cable
YOU ARE IN RECOVERY MODE
1. Turn off iPad
2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
3. Plug USB cable into computer's USB port
4. Hold Home button down and plug the other end of cable into docking port.
DO NOT RELEASE BUTTON until you see picture of iTunes and plug
5. Release Home button.
ON COMPUTER
6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
7. Select "Restore iPad"...
Note:
1. Data will be lost if you do not have backup
2. You must follow step 1 to step 4 VERY CLOSELY. -
Error while updating data from PSA to ODS
Hi Sap Gurus,
I am facing the error while updating data from PSA to ODS in BI 7.0
The exact error message is:
The argument 'TBD' cannot be interpreted as a number
The error was triggered at the following point in the program:
GP44QSI5RV9ZA5X0NX0YMTP1FRJ 5212
Please suggest how to proceed on this issue.
Points will be awarded.Hi ,
Try to simulate the process.That can give you exact error location.
It seems like while updating few records may be no in the format of the field in which it is updated.
Regards
Rahul Bindroo -
Problem while retrving data from a view
Hi Friends
i have a problem while retriving data from a view <b>v_t685a</b>.
the error message is :""" "V_T685A" is not defined in the ABAP Dictionary as a table, projection view or database view."""
i wrote : select single VTEXT1 from V_T685A into w_cst_jin1 where
KSCHL = 'JIN1' and
KAPPL = 'V'.
how to retrive the data.
waiting for quick response
Regards
MukeshHi
This is a Maintenance View, not a Database View
SO can't fetch data using select statement.
You can use the Table <b>T685</b> directly to fetch the condition Types data straight away instead of the view. write the same select for this table and use.
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
While updating ios6 through software update option, i am getting the error"unable to install the update an error occured installing IOS6"
I am getting this message also.... mine cant update too...
-
Problem while updating the Support Package 17 on my SAP WAS SP9
Hi,
I'm facing problem while updating the Support Package 17 on my SAP WAS SP9
ERROR 2006-10-13 10:23:22
FSL-06002 Error 2 (The system cannot find the file specified.
) in execution of a 'CreateProcess' function, line (284), with parameter (java.exe ...).
Please help me in this regard.....
Thanks in advance...
SatyaHello gentlemen, I am also having problem with the following running on 64 bit Windows and SQL2005/64 bit. I am erroring in Step 8 'Updating JDBC' driver. I am attempting to update from SP9 to SP18. The WEBAS Jave installed went flawless but I seem to be stuck here. Any help is appreciated...
ERROR 2006-11-22 10:13:57
FSL-06002 Error 2 (The system cannot find the file specified.
) in execution of a 'CreateProcess' function, line (284), with parameter (java.exe ...). -
Problem while uploading data with GUI UPLOAD Function
Hi,
I am facing problem while uploading data with FM GUI UPLOAD in out text file there are 7 row but after the FM GUI UPLOAD there are 14 entries are coming in Internal table and each alternate row is coming as blank with 0000 in some column in internal table first row is proper and second line is blank so on.
what can be the problem .
The program in which we are using this we are using it from last 2 year but we are facing problem today only.
regards,
zafarHi,
The file formate is same as it is from last two years it is automatically generated by one another bar code server and there is no change in the file formate.
So waht can be the problem to check any inconsistancy in system i have develop a samll program fro uploading a text file with same function module , but it is working fine.
regards,
zafar
Maybe you are looking for
-
I can't get the album info when I'm trying to import songs from a cd. Any Help?
When I click on advanced-get track names it says Server Error. And when I import anyways and go to library and try to get info again it says can't connect to gracenote database or cddb is not available for some of these items. Which I know is not tru
-
When PO rejected no message in inbox
Hi, We are using workflow ws14000145. When PO is rejected no messages is visible in the approval ( buyer inbox) section. Any clues what will be the issue. Points will be rewarded for the suitable answers. Ingen
-
How do I bypass the Photoshop Elements RAW editor?
I'm editing Canon raw files (CR2) with Photoshop Elements 10 by selecting the photos from the Elements Organizer. I want to go directly to the Elements editor, but instead I'm taken to the RAW editor and from there I have to select to open the photos
-
Can you make a field expand based on characters in a PLD
Is there a way to have the City on a PLD expand based upon the characters so the State field is not so far away? On the checks when you have the address area, it has a huge gap between the two fields. We do not use the address field as the block area
-
Dear Experts, My requirement is to download all the texts to excel sheet. Is there any report which outputs all the texts. Thanks in advance. Shravan