Problem during recording of CJ01 transaction for BDC
Hello All,
I am facing a problem during the recording of CJ01(Creation of projects) for creation of BDC program.
The problem is during recoding after entering the the first WBS element with level 1 and i press the '+' button to create one more WBS element with Level 2,the first WBS element with level 1 goes to the bottom of the line item table and now if try to create the WBS element with Level 2 in the first line it wont allow because of the fact that the first WBS element with level 1 is below it.
But if i enter the first WBS elemnt with level 1 in the first line and come to the next line and enter the second WBS element with level 2 it will create since Level 2 WBS is below the Level 1.But this approach cannot be used for doing a recording for BDC.
Can anyone help in this regard
Thanks in Advance
Ashish
Hi Ashish,
NW is right. It is not proper to use BDC for CJ01. You can get more control and better if you use the following function module,
1. Use BAPI_PROJECT_MAINTAIN to create project definition and WBS Structure in one go. see the documentation in the BAPI on how to use this. Post the resut in this forum if you face any problem
Ravi
Similar Messages
-
Re: Problem in recording VF02 billing transaction
Hi all,
I am having a problem in recording the VFO2 for the processing of Despatch details in third screen Header Texts.
How to write the BDC code for uploading data for this TCODE VF02.particularly with header texts.....
Thanks in Advance
RaviHi
Check this function module : <b>GN_INVOICE_CREATE</b>
<b>CALL FUNCTION 'GN_INVOICE_CREATE'
EXPORTING
DELIVERY_DATE = DELIVERY_DATE
INVOICE_DATE = INVOICE_DATE
INVOICE_TYPE = 'ZFX'
PRICING_DATE = PRICING_DATE
VBSK_I = X_VBSK
WITH_POSTING = 'D'
ID_NO_ENQUEUE = 'X'
TABLES
XKOMFK = IT_KOMFK
XKOMFKGN = IT_KOMFKGN
XKOMFKKO = IT_KOMFKKO
XKOMFKTX = IT_KOMFKTX
XKOMV = IT_KOMV
XTHEAD = IT_HEAD
XVBFS = IT_VBFS
XVBPA = IT_VBPA
XVBRK = IT_VBRK
XVBRP = IT_VBRP
XVBSS = IT_VBSS
SUCCESS_DOC_OUT = IT_SUCCESS.</b>
Or you can use BAPI :- <b>BAPI_BILLINGDOC_CREATEMULTIPLE</b>
<b>CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
EXPORTING
CREATORDATAIN = GS_CREATORDATAIN
TESTRUN = co_x
POSTING = co_x
TABLES
BILLINGDATAIN = GT_BILLINGDATAIN
CONDITIONDATAIN = GT_CONDITIONDATAIN
CCARDDATAIN =
TEXTDATAIN =
ERRORS =
RETURN = GT_RETURN
SUCCESS = GT_SUCCESS.</b>
regards,
Hiren Patel
Don't forget to Reward points -
Input monitoring problem during recording
Greetings,
I recently purchased Logic Pro 9, and am having a problem with input monitoring. I am not able to in any way affect control over my monitor mix during recording. I have tried every combination of options, including software monitoring, auto-input monitoring, etc...but always get the same headphone levels from my inputs (I am actually trying to mute the input signals out completely so that I can play along to only the click.
I am wondering whether this is some sort of software glitch, because I was able to control the mix perfectly before the latest software update. I wonder if that is the problem, or if I am overlooking some minor detail. Please help!!
BTW, I have checked, and this is definitely a software, not a hardware issue...
Thanks much,
KevinI have a similar problem, although I'm on Logic Pro 8.
I can't seem to record my guitar track (mic'd cabinet) without having the result monitor back through my studio monitors unless I turn off software monitoring in Preferences/Audio. But then if I want to record keyboards direct and listen to what I'm playing, I have to go back in and turn the option back on.
In Sonar on the PC, this was much more intuitive. You could arm a track for recording by clicking the "R" button, and separately toggle monitoring on and off by clicking the little speaker button to the right. You didn't have to constantly fiddle with the program preferences.
I have a FireWire410 interface, and the monitoring only happens when Logic is loaded. I would have thought that the little "I" icon was to turn monitoring on and off, but it's some "pre/post-tape" toggle I can't find a use for.
Kevin, how did you control your monitor mix before? -
Midi latency problems during record/playback
I am starting to use Garageband for midi recording--I am going through an M-Audio Audiophile interface by firewire--when I preview the software instruments everything is fine but when I record then the recorded notes are dropping out or delayed during record and playback--how can I solve thhis problem?
I have already followed the Garageband help suggestions for settings
I would welcome any help!Do they have the same interface as you? I get very little latency on my iBook G4 and I am using usb 2.
Before getting my external drive I had been recording successfully on my iBook's hardrive. Besides eating up hardrive space I had no problems. Much of what I do uses GB's excellent software instruments and MIDI.
Software instruments are strenuous on the cpu and ram. What is your ram situation?
I also lock tracks as I go along, especially with software instruments. Avoid using effects during the recording stage, add the effects afterwards.
Kurt -
IPhone4s Autofocus problem during recording video.
Hi I'm using iPhone4s with iOS5.1.1.
Well..when I use camera of this device, autofocus works perfectly only when taking photos.
But with recording video, autofocus do not work as I start recording. (actually in video recording mode,it works well until i press the recording button.)
Is this the problem of all iphone4s devices or only with my iphone??
As I wondered that, I called apple support center. But he didn't know well about that issue.
Should I go to apple center to get new one? Or this problem happens to all of iphone4s??I'm seeing the same thing.
1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you! -
Dump during execution of MD4C transaction for service orders
Hello
When we tried to run the transaction "MD4C" for service order,the dump occurs.
Kindly let me know whether this report is feasible for service orders?
Thanks for your reply.
Regards
SantoshHi,
Take help of ABAPer
Kapil -
PO13 Recording problem for BDC
Hi All.
We have a requirement for PO13 bdc for changing the cost center data per position wise.
I am trying to change the cost center from PO13.while doing manually, the new cost center is delimimting the older record & appending a new record in PO13 & as well as in PA30(Org Data).it is working fine.
same thing I did in recording by SHDB for PO13.In this time it is overwriting the existing costcenter record & is not reflecting in the PA30 also.
while doing manually , while saving the Popup"Previous record will be delimited at end.Do you want to save" (Program-SAPLSPO1)is comming.But same popup screen is not comming in SHDB recording.
that's why even I ran the bdc , records are not comming properly.
appart from this PO13 bdc, is there any other method of changing the Cost center (like bapi / function module) in mass.
it is very urgently needed.Plaese help me to sort out this issue.
Thanks in advance,
Regards,
VenkatHi Venkat,
You'd better try PP02 transaction for BDC recording when Organizational Management Objects are in question.
Regards,
Dilek -
Problem Recording FMX1 Transaction for Batch Input. Plz Help
Hi Everyone!!!
I'm using the Transaction SHDB to create a new recording over the FMX1 Transaction for a Batch Input. The strange thing is that when i'm about to save the recording i get the following error:
"A runtime error: SAPSQL_ARRAY_INSERT_DUPREC"
I tried using the transaction FMX1 with the same data(constants), and it works perfectly. And I know it's not a duplicated key or anything, it works fine when i use the transaction.
This lead me to think that the problem is somewhere when i try to record the transaction.
Any Ideas of how to fix the problem, or does anyone knows if its a SAP problem that needs some kind of fix.
Any help would be really aprreciated!
Thx again.Try using recording method and try to post 1 item...U will get the recording. In this recording, the field might be shown up which can be used.
-
My credit card has been charged for book, however my purchase history shows no record of the transaction and I have not received the book. The online problem reporting system does not have options to report this incident. Who can I call?
Would be problems with purchases, billing, and redemption option. It's not 100% exact to your issue, but it will get you to the right department.
Go here https://expresslane.apple.com/GetproductgroupList.do then select ITunes, then Store, then Purchases, Billing, and Redemption. Then.. probably pick "My topic is not listed." -
Facing problem during uploadation of Routing data using CA01-BDC - URGENT
Dear All,
When I am trying to upload Routing data using CA01 in the Table Control scenario, then I am facing problem as my last 2 records are not getting uploaded from my Test file.
For example, I am having 47 records in my Test File and after setting Default size parameters (to avoid screen resolution problem)
I have 15 table control line items data per page. The Page down logic ('=P+') is working fine, but my below BDC code failed to take
the remainder last 2 records from the Test File.
Analysis: When I am running my Call Transaction bdc in foreground, then the 1st page down occurs after 15th record, 2nd page down occurs after 29th record( as in Table Control 1st pages 15th record is coming on the Top of 2nd page). 3rd page down occurs after 43rd record
(as 2nd pages 29th record is coming on the top of 3rd page). In the 4th Table Control Page 43rd record of previous page is coming on top, and then its taking 44th & 45th records from the Test File and then it is triggering SAVE (=BU). Thus, our last 2 records
(i.e. 46th, 47th record) are not getting uploaded in the routing screen from our Test File.
If anybody has encountered this scenario previously, please help me URGENTLY in fixing the bugs here. Its VERY, VERY URGENT
FYI. For others 45 successful records already uploaded, all the screen fields values are coming properly in the routing screen, and here there is no issue.
Thanks very much
Thanks & Regards
Sudipta Project Lead
Volvo Client Location
I am pasting my BDC source code below:
REPORT ZRT1_UPLOAD_CA01_F
NO STANDARD PAGE HEADING
LINE-SIZE 255.
I N C L U D E S *
Include for Data Declarations
INCLUDE zrout_top.
Include for Forms
INCLUDE zrout_form.
INCLUDE zrout_include_f_ca01.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
Attaching F4 help with filename
PERFORM F1001_GET_F4.
S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Perform to read the input file
PERFORM f_read_file.
Perform to fill the BDC data
PERFORM f_fill_bdctab.
E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
FREE: i_bdcdata,
i_messtab,
i_record.
x----
*& Include ZROUT_TOP *
D A T A B A S E T A B L E S *
TABLES: t100. "Messages
D A T A D E C L A R A T I O N S *
T A B L E T Y P E S *****************************
For input data
TYPES: BEGIN OF ty_record,
matnr(18), "Material Number
werks(4), "Plant
verwe(3), "Usage
statu(3), "Status
arbpl(8), "Work Center
steus(4), "Control Key
ltxa1(40), "Description of Operation
bmsch(13), "Base Quantity
meinh(3), "Unit of Measure
vgw01(11), "Machine
vge01(3), "Unit of measure of activity
END OF ty_record.
I N T E R N A L T A B L E S ***********************
Internal Table for input file name
DATA: i_file_tab TYPE STANDARD TABLE OF sdokpath INITIAL SIZE 0.
Internal Table for BDC Data
DATA: i_bdcdata TYPE STANDARD TABLE OF bdcdata INITIAL SIZE 0.
Internal Table for BDC Messages
DATA: i_messtab TYPE STANDARD TABLE OF bdcmsgcoll INITIAL SIZE 0.
Internal Table for Input file
DATA: i_record TYPE STANDARD TABLE OF ty_record INITIAL SIZE 0.
W O R K A R E A S *************************
Work Area for input file name
DATA: wa_file_tab LIKE sdokpath.
Work Area for BDC Data
DATA: wa_bdcdata LIKE bdcdata.
Work Area for BDC Messages
DATA: wa_messtab LIKE bdcmsgcoll.
Work Area for Input file
DATA: wa_record TYPE ty_record.
V A R I A B L E S ****************************
DATA: v_filename TYPE string,
v_fnam(40) TYPE c.
DATA: wa_opt TYPE ctu_params.
C O N S T A N T S ***************************
CONSTANTS: c_werks TYPE rc27m-werks VALUE 'tp',
c_steus TYPE plpod-steus VALUE 'PP01'.
*Selection Screen.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS:
Input file name
P_FILE TYPE rlgrap-filename OBLIGATORY. " DEFAULT 'C:\'.
SELECTION-SCREEN END OF BLOCK B1.
x----
*& Include ZROUT_FORM *
*& Form f_fill_bdctab
Form to fill the BDC Data
FORM f_fill_bdctab.
TABLES mapl. "Assignment of Task Lists to Materials
DATA: l_cnt_item(3) TYPE n VALUE 1. "Line item counter
DATA: first(3) TYPE n VALUE 16. "Line item counter
DATA: next(3) TYPE n . "Line item counter
DATA: lin(3) TYPE n . "Line item counter
DATA: l_v_bmsch(13), "Base qty
l_v_meinh(3), "Unit of Measure
l_v_vgw01(11), "Machine
l_v_vgw02(11), "Labour
l_v_vge01(3). "Unit of measure of activity
DATA l_v_nextline TYPE sy-tabix.
DATA wa_temp TYPE ty_record.
Initialize Counter
l_cnt_item = 1.
SORT i_record BY matnr.
LOOP AT i_record INTO wa_record.
AT NEW matnr.
REFRESH: i_bdcdata,
i_messtab.
SET PARAMETER ID 'PLN' FIELD space.
SET PARAMETER ID 'PAL' FIELD space.
PERFORM f_bdc_dynpro USING 'SAPLCPDI' '1010'.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'/00'.
Material Number
PERFORM f_bdc_field USING 'RC27M-MATNR'
wa_record-matnr.
Plant
PERFORM f_bdc_field USING 'RC27M-WERKS'
c_werks.
PERFORM f_bdc_field USING 'RC271-PLNNR'
Check if routing already exits for the material
SELECT * FROM mapl
INTO mapl
WHERE matnr EQ wa_record-matnr
AND werks EQ c_werks
AND plnty EQ 'N'.
IF sy-subrc EQ 0.
PERFORM f_bdc_dynpro USING 'SAPLCPDI' '1200'.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'=ANLG '.
ENDIF.
ENDSELECT.
perform f_bdc_dynpro USING 'SAPLCPDA' '1200'.
perform f_bdc_field USING 'BDC_OKCODE'
'=VOUE'.
Group Counter
perform f_bdc_field USING 'PLKOD-PLNAL'
Usage
PERFORM f_bdc_field USING 'PLKOD-VERWE'
'1'.
Status
PERFORM f_bdc_field USING 'PLKOD-STATU'
'4'.
ENDAT.
PERFORM f_bdc_dynpro USING 'SAPLCPDI' '1400'.
Check if page is full
IF l_cnt_item EQ '16'.
Page down
PERFORM f_bdc_field USING 'BDC_OKCODE'
'=P+'.
l_cnt_item = 1.
ELSE.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'/00'.
ENDIF.
CLEAR v_fnam.
Populate item level details
Work Center
CONCATENATE 'PLPOD-ARBPL(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-arbpl.
Control Key
CONCATENATE 'PLPOD-STEUS(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
c_steus.
Description of Operation
CONCATENATE 'PLPOD-LTXA1(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-ltxa1.
Base Quantity
CONCATENATE 'PLPOD-BMSCH(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-bmsch.
Unit of Measure
CONCATENATE 'PLPOD-MEINH(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-meinh.
Machine
CONCATENATE 'PLPOD-VGW01(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-vgw01.
Labour
CONCATENATE 'PLPOD-VGW02(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-vgw02.
Unit of measure of activity
CONCATENATE 'PLPOD-VGE01(' l_cnt_item ')' INTO v_fnam.
PERFORM f_bdc_field USING v_fnam
wa_record-vge01.
l_cnt_item = l_cnt_item + 1.
CLEAR wa_record.
AT END OF matnr.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM f_bdc_field USING 'BDC_OKCODE'
'=BU'.
wa_opt-DISMODE = 'A'.
wa_opt-DEFSIZE = 'X'.
wa_opt-UPDMODE = 'S'.
PERFORM f_bdc_transaction USING 'CA01'.
Initialize Counter
l_cnt_item = 1.
ENDAT.
ENDLOOP.
ENDFORM. " f_fill_bdctab
x----
*& Include ZROUT_INCLUDE_F_CA01 *
*& Form f_read_file
Form to read the file from presentation server
FORM f_read_file .
To get the file name
DATA l_v_file TYPE string.
l_v_file = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_v_file
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = i_record
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDFORM. " f_read_file
*& Form f_bdc_dynpro
Form to populate BDC Tab for new screen
-->fp_program Screen program name
-->fp_dynpro Screen Number
Start new screen *
FORM f_bdc_dynpro USING fp_program fp_dynpro.
CLEAR wa_bdcdata.
wa_bdcdata-program = fp_program.
wa_bdcdata-dynpro = fp_dynpro.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO i_bdcdata.
ENDFORM. "f_bdc_dynpro
*& Form f_bdc_field
Insert field *
FORM f_bdc_field USING fp_fnam fp_fval.
IF NOT fp_fval IS INITIAL.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = fp_fnam.
wa_bdcdata-fval = fp_fval.
APPEND wa_bdcdata TO i_bdcdata.
ENDIF.
ENDFORM. "f_bdc_field
*& Form f_bdc_transaction
Call transaction and error handling
-->fp_tcode Transaction code
FORM f_bdc_transaction USING fp_tcode.
DATA: l_mstring(480),
l_color TYPE i,
l_mode TYPE c.
REFRESH i_messtab.
CALL TRANSACTION fp_tcode USING i_bdcdata
OPTIONS FROM wa_opt
MESSAGES INTO i_messtab.
Messages during upload
LOOP AT i_messtab INTO wa_messtab.
CASE wa_messtab-msgtyp.
WHEN 'S'.
l_color = 5.
WHEN 'E'.
l_color = 6.
WHEN 'W'.
l_color = 3.
ENDCASE.
FORMAT COLOR = l_color.
SELECT SINGLE * FROM t100 WHERE sprsl = wa_messtab-msgspra
AND arbgb = wa_messtab-msgid
AND msgnr = wa_messtab-msgnr.
IF sy-subrc = 0.
l_mstring = t100-text.
IF l_mstring CS '&1'.
REPLACE '&1' WITH wa_messtab-msgv1 INTO l_mstring.
REPLACE '&2' WITH wa_messtab-msgv2 INTO l_mstring.
REPLACE '&3' WITH wa_messtab-msgv3 INTO l_mstring.
REPLACE '&4' WITH wa_messtab-msgv4 INTO l_mstring.
ELSE.
REPLACE '&' WITH wa_messtab-msgv1 INTO l_mstring.
REPLACE '&' WITH wa_messtab-msgv2 INTO l_mstring.
REPLACE '&' WITH wa_messtab-msgv3 INTO l_mstring.
REPLACE '&' WITH wa_messtab-msgv4 INTO l_mstring.
ENDIF.
CONDENSE l_mstring.
WRITE: / wa_messtab-msgtyp, l_mstring(250).
ELSE.
WRITE: / wa_messtab.
ENDIF.
FORMAT COLOR OFF.
ENDLOOP.
SKIP.
ENDFORM. " f_bdc_transaction
FORM F1001_GET_F4.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
PROGRAM_NAME = SY-REPID
DYNPRO_NUMBER = SY-DYNNR
FIELD_NAME = P_FILE
CHANGING
FILE_NAME = P_FILE
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
File is not selected
MESSAGE I000 WITH TEXT-M01.
ENDIF.
ENDFORM. " F1001_GET_F4Sudipta,
Would request you to post this to ABAP-Forum for Immediate response.
I had this problem, but the ABAP guy did something to correct this...it was more of screen resoultion difference between the recorded system and uploading system. Please try to use the same system which was used to record and try.
Regards,
Prasobh -
Problem in saving values using transaction variant for IR02 transaction
Hi All,
I need a help on creating the transaction variant. Please find the scenario below.
In my Program, I had given a link to change the work center capacity (Intervals and Shifts) in IR02 transaction by BDC.
1. Created a transaction variant ZIR02_VAR by SHD0 transaction cannot use the transaction IR02 directly since it is a dialog transaction, so used the transaction CRAV.
2. Created custom T. Code ZIR02 (Transaction with variant) and used the same in the program.
Problem is that, I am not able to save the values that I have changed in the transaction using the SAVE button after executing the transaction variant (ZIR02_VAR). Please help me to achieve this.
Regards,
Prabakaran.SHi
See the steps and act accordingly
goto SHD0 Tcode
enter Tcode: say example MM02
Transaction variant: zmm02
Press CREATE
take you to Std MM02 transaction
enter material and select the 3 or 4 views
for each Screen it will be recording the screens automatically
then finally it will record all subscreens and SAVE
by assigning some Dev class
Now come back you will see different screen Variants are created automatically.
Now from the same screen SHD0
press change
now change the status of the individual fields in each screen as per your requirement
so you created the transaction Varaiant
Now goto SE93 tcode
enter some Z tcode say ZMM02_TV and press create
select the VARIANT TRANSACTION
enter the transaction MM02 and the transaction variant created ZMM02
tick cross client
save the Tcode
Now execute the Transaction code ZMM02_TV
and see whether you see all screens.
Regards
Anji -
Problem during Rate Routing Upload using BDC.
Dear Sir/Madam,
I am uploading Rate Routings using a BDC program which is working perfectly but having a single problem.
In the initial screen of the transaction CA21(Create Rate Routing), I need to enter only the Material Number and its Plant and all the other fields should be left blank.
But, here the group number field is automatically getting filled with the previous value and it is incrementing the group counter number.
I want the system to allocate different group number for each Routing. I want the group number to be unique.
Thanks,
Ranjan.Dear Ranjan,
While doing recording CA21. you would pass only the material number and plant (i mean you did recording of CA21 based on material number as well as plant not for routing number (group counter))
Routing number (group counter) dynamic (In your case Internal number rage has assigned).
So the Problem is:
1st record of you internal table update smoothly because you program will pass only material and plant
group counter (RC271-PLNNR) field is blank, after update 1st record system will regenerates the
group counter number.
ones the system updates the data it will generates Group counter number and assign to filed :(RC271-PLNNR).
after saving the record system will go loop statement of you program. again program will call the call transaction statement with 2nd record of the internal table. call transaction statement pass the material number and plant field at ca21. but group counter number automatically poulated in the screen field because that time system can't be refresh the initial screen of CA21,
so system will shows previous updated screen ( 1st routing record will show)
Remove your bdc perform and add this code in your BDC perform.
* Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
ENDFORM.
* Insert field *
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> SPACE.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
* Clearing the Group Counter *
IF FVAL = SPACE.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
above code: 1st time of call transaction FVAL = space means ( group counter field is blank)
2nd and rest of the time FVAL <> space. means (previous record group number exists for new call transaction ) so system will be by pass with new record.
Check with debugging mode. you will come to whats going in you code.
Even i have go same problem while uploading routing data. i have find out solution after doing my RND.
Regards,
Akshath -
Problems during result recording
Hi,
I am facing a problem in the result recording in the transactions QA11 for sample management. I make a sample from QPR1 and generate an inspection lot, then go to QA11 or QA32 for result recording. I record the results and save, the status of the inspection lot updates to RREC. But when i display the results or want to change them, the system shows me a blank screen to record the results again. Although the results are saved in the database table QAMR for the lot and the status of the lot is also RREC but on QA11 the system is not showing those and asking me to enter again. One thing is to be noted that this behaviour is for some materials' lots, for other sample management lots all is O.K.Hi,
For Physical semple, when u r going to create any inspection lot Via QPR1, than u r very well known abt this that inspection point always use as far as physical sample is concern.
So, whenever u execute physical sample inspection lot via QA11, than during RR system ask u for a new inspection point values and its valuation.
once u feed the results than lock ur lot by providing UD.
if lot is opened and u want to feed new data against same lot than system allows for new inspection.
I hope ur queery resolved
Regards -
Authorization for call transaction in BDC
Hi,
How can I avoid authorization during call transaction in BDC. Is possible to fullfill data from transaction if user has no authorization to it?
regards,
J.Hi, I found solution to my problem here: http://sap.ittoolbox.com/groups/technical-functional/sap-security/transaction-security-2711921
Thanks everyone for help.
J. -
Recording transactions for an asset AS92
Hi,
I have an issue for the recording of transactions for takeovered asset.
First, I'm running a LSMW to take over all of my asset, after that I would like to run a second LSMW to update the asset with the different existing transactions : acquisition, retirement, transfers ...
I'm using (for the second LSMW) a batch input object 160, method 0001 with the program name : RAALTD01
Two structures are included on this program. As I previously read, I have to deal with the BALTB structure ... but what I'm doing with BALTD structure ?
an example :
asset number : 1000001 / 0000 (this asset is a takeovered asset), activ date the february, 1st 2009
company code : 0123
I would like to record this differents transactions :
acquisitions (code 100) of 1000 euros, the January, 1st 2009
acquisitions (code 100) of 1000 euros, the february, 1st 2009
retirements of 60, the february, 15th 2009
Where do I have to fill this data on the structure ? only BALTB ? or BALTB and BALTD ?
thanks in advance for your reply
Nicolas BHi,
thank you for your answer.
I did try the Batch recording. But the problem is to manage when you have more of one transaction on your asset.
example : record a transaction on your first line of the tab.
SAP will record that : RALT_DYNP_STRUC-BZDAT(1) with the index 1 corresponding to the first line.
But what happen you're trying to record a second transaction ?
Sap will trigger an error message mentionning RALT_DYNP_STRUC-BZDAT(1) is not an input field (because the first line is filled of your first transaction)
I thougt to manage this issue by filling the last line of the tab. But a second issue came : when you're pressing to the enter button, the amount disappaer ! then you have to fill it once again.
In fact, It's not a big deal. But how do you know the index, the position of your new line with the empty amount ?
I was very surprised that SAP doesn't propose the "insert line" button !!
NB
Maybe you are looking for
-
Downloading HD video in iTunes.
Hi all, Is thee a way i can stop HD videos from downloading to my iTunes libarary? I have an Apple TV and can helpily watch the videos in HD on that, so i don't want to use up space on my external iTunes drive. What i've been doing so far is download
-
On Windows 7 Ultimate, desktop with C (system) drive, D K and L drives, can I install Adope Creative Suite 6 Production Premium (from cd's) to Drive D (not C). Thank you.
-
ABAP'ers I am trying to use BAPI's to complete class assignments (mimicking CL20N). I am using BAPI_OBJCL_GET_KEY_OF_OBJECT to get the internal object key that is needed for BAPI_OBJCL_CHANGE_KEY, which I am using to complete the classification. Whe
-
hi all i have an .xsl file to be imported into the mapping of the importedarchive. when i am trying to import the system raises an error saying only .jar files and .zip files can be imported. how do i import my.xsl file thanks
-
Stealth mode causing sleep trouble?
Hi, I have a Rev A. PB 12", and I recently decided to beef up my security, so I checked on all the options under the "Advanced" button of the Firewall pane - Blocking UDP, Firewall logging, and Stealth Mode. It seemed to have worked for a few days, b