Problem in updating table fields while enhancing screen fields using BDT
Hi all,
I have added some fields in REBE object using BDT. and also appended those fields in standard table(VIBDPR). But Data entered on those fields are not getting updated in table fileld..Can anyone Know the reson....?
Regards,
Vijay
Hi,
I had the same problem. Here is an example code to resolve it:
REPORT ytestfg.
DATA: i_bsid LIKE bsid OCCURS 0,
i_bsid2 LIKE bsid OCCURS 0.
TABLES: bsid.
DATA: doc LIKE vbak-vbeln,
pos(6) TYPE n.
DATA e_fpla LIKE fpla.
DATA e_fplt LIKE fpltvb OCCURS 0 .
DATA: zfpla LIKE fplavb OCCURS 0,
zfplt LIKE fpltvb OCCURS 0.
DATA zfplt2 LIKE fpltvb OCCURS 0 WITH HEADER LINE.
doc = 'G03060619'.
pos = '000010'.
CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
EXPORTING
document_number = doc.
CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
EXPORTING
i_vbeln = doc
i_posnr = pos
IMPORTING
e_fpla = e_fpla
TABLES
e_fplt = e_fplt
EXCEPTIONS
no_billingplan_allowed = 1
no_billingplan_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Read the billing plan
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = e_fpla-fplnr
I_VFKDAT =
I_BFKDAT =
TABLES
zfpla = zfpla
zfplt = zfplt
Upddate the ZFPLT2 table with the new values
MOVE zfplt[] TO zfplt2[].
READ TABLE zfplt2 INDEX 1.
zfplt2-afdat = '20080927'.
Very important to set field updkz = 'U' ***
zfplt2-updkz = 'U'. "--> UPDATE!!
MODIFY zfplt2 INDEX 1.
CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = zfpla
fpla_old = zfpla
fplt_new = zfplt2 " --> NEW
fplt_old = zfplt.
CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Regards,
Edited by: PHO_BA on Mar 9, 2009 5:28 PM
Similar Messages
-
hi guys i have a problem related updating icloud desktop.while updating it shows (error code :A12E5).I have macbook air mid 2011..plz sort this out
olliemilne wrote:
- I've tried holding a bunch of different keys when starting up (cmd+R etc.) but again, nothing.
You could try booting the MBP using the OPTION+COMMAND+R keys and see if it will connect to the Apple servers. This would allow you to install the original OSX . I have my doubts though.
- I've tried something crazy suggested in another thread; leaving the Macbook partially opening and shaking it, which supposedly does something to the "sudden motion sensor".
The Sudden Motion Sensor is applicable for conventional Hard Drives, not the SSD that is in a MBA. Doing that will serve no useful purpose.
You have exhausted all reasonable options and will just have to have the MBA evaluated at the genius bar.
Ciao. -
Dear all,
Actually i want to store Numeric Value with '+' or '-' sign in module pool's Screen Field.
how can i store that type of data.
currently i m declared as a decimal type variable.
but when value is coming with negative sign in internal table. dum error is occured like this...............
There was a conversion error in the output of fields to the screen.
The formats of the ABAP output field and the screen field may not match.
Some field types require more space on the screen than in the ABAP
program. For example, a date output field on the screen requires two
more characters than the corresponding field in the ABAP program. When
the date is displayed on the screen, an error occurs resulting in this
error message.
Screen name.............. "ZPPI_SCRAP_RECORD"
Screen number............ 9000
Screen field............. "T_ITAB-DIFF"
Error text............... "FX015: Sign lost."
Other data:
Plz help meHi Anshuman Singh,
Is there any possiblity to adopt the following logic for your requirement?
Just declare a character field with length of maximum number of digit you want to input plus one.
Now input with '+' or '-' sign.
Before processing this value, check for only numbers except sign.
Now except that sign, assign or write the remaining value to the temprary varibale for processing.
Regards,
R.Nagarajan. -
Imposing selection fields into a screen field
Hello Frnds,
I have a FM in which I am calling a report. That report doesn't have any selection screen but it calls a user defined screen in which i have an input field PARTNER (KNA1-KUNNR).
In my FM i have import parameter as partner same type as in the report screen field and an export parameter sy-subrc.
Now my issue is I wanna impose the import parameter partner to the screen field in my report which is called. How could I do that?
I am using a submit statement to call the report from the FM.
Please feel free to ask 4 more details or 4 any other questions...!
Note: I do not have standard selection screen for my report. I have to impose the FM import parameter to the screen field in the report.
Thanx in advance,
Abhi...!hi abhi satya
Use EXPORT and IMPORT Statement
in report export the field value and in FM import those value
regards
Deva -
Update STXH text while creating a PO using IDOC's PORDCR103
Hi,
Can we upload the shipping instructions while creating a STO using Inbound IDOC - PORDCR103
Regards,
Shariq.Hi,
For uploading shipping text you need to call function module SAVE_TEXT.
Thanks
Ankit Attrish -
Custom field in Contract Account ( CAA3 ) using BDT
Hi,
I need help on BDT Configuration.
I have been trying to add custom fields in the Contract Account, under Payment/Taxes Tab using BDT.
I have followed all the basic steps required for the configuration but still the fields donu2019t seem to appear.
I did refer to BDT Developers Manual from SAP.
Can anyone help?
Thanks & Regards,
Rahul.By Using CAWM area menu t-code you can do the screen enhancements.
After adding fields to field group
Create a view and add this to field group, Create a screen and add ur fields and write code to update those fields in database..
Add your view to the corresponding section.
After this you have to call BUSP t-code , Application object as FICA and activate all screens.
Let me know if you need any more help..
Regards,
Shiva Kumar -
Problem in updating Billing plan while changing Sales order
Hi All,
I am using the BAPI 'BAPI_SALESORDER_CHANGE' to change a Prepaid Sale order.After calling this BAPI ,I am calling the function module <b>'BILLING_SCHEDULE_SAVE'</b> to update the Billing plan of the changed Sale order(Billing plan dates for Billing type ZF1 are changed).
The updated date values are getting reflected in the screen when I view through the transaction VA02 and the values are also updated in FPLT table but the values are not getting reflected in the table VKDFS.
Since the values are not getting reflectedin the table VKDFS the billing date is not correct while we view in the transaction VF04.
Please provide your valuable suggestions for updating the Billing date in VKDFS table.
Thanks in advance for your help.
Thanks and regards,
SivaHi,
I had the same problem. Here is an example code to resolve it:
REPORT ytestfg.
DATA: i_bsid LIKE bsid OCCURS 0,
i_bsid2 LIKE bsid OCCURS 0.
TABLES: bsid.
DATA: doc LIKE vbak-vbeln,
pos(6) TYPE n.
DATA e_fpla LIKE fpla.
DATA e_fplt LIKE fpltvb OCCURS 0 .
DATA: zfpla LIKE fplavb OCCURS 0,
zfplt LIKE fpltvb OCCURS 0.
DATA zfplt2 LIKE fpltvb OCCURS 0 WITH HEADER LINE.
doc = 'G03060619'.
pos = '000010'.
CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
EXPORTING
document_number = doc.
CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
EXPORTING
i_vbeln = doc
i_posnr = pos
IMPORTING
e_fpla = e_fpla
TABLES
e_fplt = e_fplt
EXCEPTIONS
no_billingplan_allowed = 1
no_billingplan_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Read the billing plan
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = e_fpla-fplnr
I_VFKDAT =
I_BFKDAT =
TABLES
zfpla = zfpla
zfplt = zfplt
Upddate the ZFPLT2 table with the new values
MOVE zfplt[] TO zfplt2[].
READ TABLE zfplt2 INDEX 1.
zfplt2-afdat = '20080927'.
Very important to set field updkz = 'U' ***
zfplt2-updkz = 'U'. "--> UPDATE!!
MODIFY zfplt2 INDEX 1.
CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = zfpla
fpla_old = zfpla
fplt_new = zfplt2 " --> NEW
fplt_old = zfplt.
CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Regards,
Edited by: PHO_BA on Mar 9, 2009 5:28 PM -
Problem in creating table maintenance generator for 61 fields in table
Hi Experts,
I am facing problem in creating a table maintenance genarator for a ZTABLE which has 61 fields
i am using below details whicle creating the TMG
in Maintenance screen
i am giving maintenance type as two step
Maint screen no overview screen 2
single screen 3
Dialog Data Transport details
Recording routine standard recording routine
but it is giving following error
screen SAPL<ZTABLE NAME> 0003 could not be generated
In DYNPFIELD_ATTR mandatory field LINE has no value
please let me know how to sort out these errors.
Is there any limit on the number of fields for which we can create table maintenance generetor.
Thanks a lot in advance
SudiptoHi Sudipto,
There is not limit to the number of fields of the Table which can be used in TMG for generation. But, from the usability point of view this will horrible.
I created a Z table and added 64 fields and was able to generate the TMG with the screens perfectly. So, I guess there should not be any problem.
Well, have a look at the Function Group. I guess the screen numbers are already used by some other screens. You can set the system to propose freely available screen numbers from the pool.
Also, check whether proper authorization is assigned or not.
And if nothing is working, you can degenerate all the generated screens and then can have a new regeneration of it.
Hope these tips will work.
Thanks,
Samantak -
Hi,
I have a prolem in updating value in new field.
I have a Z - table ZABC with three fields. I have added one more colunm in ZABC.
There are already few rows avaiable in this table.Now i want to update a new Col which i have added to this table.
But while going for a insert i am unable to find the new col which i have added.i can see all the prev col already there.
Can anyone help me out. Did i missed any step while adding a col to existing table.
Vikranthello,
initially you insert itab of specific column then ...
YOU MUST KEEP IN LOOP FOR FUNCTIONING.
HERE IS THE SYNTAX FOR YOU.
LOOP AT ITAB INTO WA.
INSERT ITAB INDEX 1.
MODIFY ITAB FROM WA.
ENDLOOP.
with regards,
sumanth reddy
Edited by: sumanth reddy on Feb 12, 2009 8:14 AM -
I have a problem when update tables with a database link (APEX)
Hi, I search answers for my problem and I not found a solution. My problem start when I open page with database link statement in APEX. I drop tables and execute this for update the tables in APEX.
EXECUTE IMMEDIATE 'CREATE TABLE XXXXXXX
AS
SELECT A1,A2,A3
FROM AAA@BBB';
I use Mozilla Firefox and isn't always updated the tables because it shows dialog for downloading file "f". I rename the file to txt and I see the text "IBMPC/WIN_NT-8.1.0"...
In the explorer always show a window only the text "IBMPC/WIN_NT-8.1.0"...
What is the solution for my problem? I need update this tables.
Thanks. John.It's easy. It doesn't work a database link, on apex, with a pl/sql code or store procedure.
I saw that many people had the same problem but I don't see a solution.
As I put up, I want to remove my tables on APEX and copy the table of my Oracle database with the update dates.
The posts are from the same problem as my English is very bad, it got to help explain the problem.
I have a page with a pl/sql code. This code in Oracle is correctly.
For example, with this code I update the table PRUEBAS with the data of TABLEX.
BEGIN
BEGIN
EXECUTE IMMEDIATE 'DROP TABLE "PRUEBAS"';
EXCEPTION WHEN OTHERS THEN NULL;
END;
EXECUTE IMMEDIATE 'CREATE TABLE "PRUEBAS"
AS
SELECT AAA,
BBB,
CCC
FROM TABLEX';
END;
But, in this code, I have the problem.
BEGIN
BEGIN
EXECUTE IMMEDIATE 'DROP TABLE "PRUEBAS"';
EXCEPTION WHEN OTHERS THEN NULL;
END;
EXECUTE IMMEDIATE 'CREATE TABLE "PRUEBAS"
AS
SELECT AAA,
BBB,
CCC
FROM TABLEX@DB_LINK';
END;
I sometimes get an error. Sometimes it works fine, but half of the tries Apex returns "IBMPC/WIN_NT-8.1.0" in the browser and I am not using an IBM PC or Win NT...
And i read that In the alert_xe.log file there are a error of core dump... ... :S or that the application return corrupt headers.... Is a problem of versions?
I used a synonym and I have the same problem.
Even if I run the code on SQL COMMANDS (SQL WORKSHOP) it shows dialog for downloading file "f". I rename the file to txt and I see the text "IBMPC/WIN_NT-8.1.0"...
The problem is in Mozilla Firefox and in IE.
I have the OracleXE 10g (Application Express 3.0.1.00.08).
And the question is.. ... ... ... ... What is the solution? :)
Thanks.
John. -
Problem in updating bseg-zuonr and bseg-sgtxt fields.
Hi guys,
I have a requirement to update ZUONR and SGTXT fields in BSEG , BSAS, BSIS, BSAK, BSIK, BSAD, and BSID tables . Is there any FM or BAPI to achieve this functionality as i dont want to use UPDATE statement. anybody please help me out.
Thanks in Advance
Regards
satishPerform some search at scn on transactions FB02 and FB09 (BDC solution) or FM FI_ITEMS_MASS_CHANGE (BDC generator actually)
Regards,
Raymond -
Placement of additional fields while enhancing OM infotype
Hi All,
As per our client requirement we need to create two additional fields in IT1051. We have tried creating the same but the fields we need are to be at the center of the screen as per the client requirement as shown in image1 but its coming somewhere at the bottom of the screen as shown in image2.
In the 1st image i have marked two fields, these are the additional fields which we need to configure.
Whereas after done our config the fields which we added are coming at the bottom of the screen as shown in the below screenshot.
Can anyone of you help me out to change the fields as shown in image1.
Thanks in advance.!!!!
Regards,
SakthiHi Sakthi
Can you please share your config for the given requirements?
Also, check the below link if it helps:
http://sap.ittoolbox.com/groups/technical-functional/sap-hr/table-similar-to-t588m-but-for-om-infotypes-1167524
Regards
Neha -
Problem in updating table's CDHDR and CDPOS
Hello Expert's ,
I have created one z' transaction code to update the VIEW name ZV_PO which is the combination of three tables: EKKO, EKPO and EKKN. These tables are getting updated with the changed values. But one thing the sap standard tables CDHDR and CDPOS are not getting updated .
Can any one please tell me , whether updating on VIEW's will not make update in the sap standard tables CDHDR and CDPOS as the activition log will not be there in VIEW's compared to table's and how to make it the changes reflected in the table's CDHDR and CDPOS.
Points will be rewarded 100%.
Thanks in advance .
Ashok
Edited by: ASHOK on Mar 17, 2008 11:56 AMHi Thomas,
Thanks for your reply . Can you please little bit brief about view maintanance and the transaction SCDO object EINKBELEG.
When i looked into the transaction SCDO i could seen the following tables ,
EKEK
EKES
EKET
EKKN
EKKO
EKPA
EKPO
KONVC
Kindly Liitle brief about your solution .
Assured Points 100% !
Thanks in advance for your support!
With Best Regards,
Ashok -
Problem in updating table definition in Oracle data integrator
Hi,
I change column name in my database table but it is not reflecting in my ODI module.
it is showing me old name not new one.
Is there any way to get it fix?
Thanks
Kiran KKiran,
ODI will not the change the column name for you in the data model. It doesnt know what you plan to do with the column that is already existing.
So, its behavior is to only add new columns (no changes and no deletes)
You will have to manually modify the column in your ODI datastore.
Hope that helps -
Update termination error while parking multiple items using BAPI fn module
hi experts,
i am facing a problem with bapi_incominginvoice_park.when i am trying to park invoice for single item for the po the invoice number is generating and getting updated in database in the same way when i am trying to park for multiple items the invoice number is genrating but not getting updated in database table.Here i am getting error 'Express document update terminated BY THE user'.How to solve this problem to find these error i have gone to se13 transaction,there it is showing SAQCL_DUPRC.it is saying duplicate errors in table but there are no duplicates in table.
Thanks,
Vinodhi vinod ....i tried the following it worked...
while sending tax info dont send any tax table manually i.e updating the vit_tax table using append statement
also while testing function module for multiple PO , no need to provide the tax info in the tax table
what we have to do is only to provide 'X' In the tax calculation option in the header details
HEADERDATA-CALC_TAX_IND = 'X'.
1.this will enable tax
2. will make the po status green so that the parked document can be posted .
Maybe you are looking for
-
Right way to "Share" with iDVD
I just tried to share a 30-second clip to Media Browser and it will apparently take 10 minutes. Sharing to iDVD seems to be quicker but doesn't seem to actually work with iDVD (at least not for me). What's the right way to send movies to iDVD - both
-
Hi. How can I get my Curve 8530 to quit falling asleep when I place it in the holster? I pretty much want my phone to do nothing different when I put it in the holster. Also, where are the holster options? I can't find a way to change settings fo
-
Error Messages in a WebCenter Spaces Components
Dears, we deployed a custom component for check the quota for the folder before add any new item (we deployed it on UCM 11g), the component is working properly from UCM side, so when override the quota for the folder the error message "you can't add
-
How to load jar file in oracle 9i???
Hi Friends, Can you help me, how to load jar file oracle 9i? I have to tried to load in 10g using loadjava command but it's not working in oracle 9i because the loadjava batch file itself is not there in oralce 9i. Is there any other way then pls let
-
Phone frequently fails to shut down cleanly
Somewhat regularly when I go to shut off my phone, instead of shutting down after displaying the swirling circle, the passcode screen displays instead. I can enter my passcode, or cancel or do nothing and the phone turns off about 4 seconds later. Th