Bdc recording with fk01 .. gives .. error
hi experts i m now to .. abap .. i have done .. recordin on BDC fk01..
but .. it is not uploadin .. the the data from excel sheet .. kindly help me out in this ...
here is the source code of it .....
report ZBDC no standard page heading line-size 255.
*include bdcrecx1.
tables: bdcdata.
types : begin of scr,
lifnr(016),
bukrs(004),
ktokk(004),
name1(035),
sortl(010),
stras(035),
pfach(010),
ORT01(035),
land1(003),
spras(002),
telf1(016),
akont(010),
fdgrv(010),
end of scr.
DATA:it_xl TYPE STANDARD TABLE OF alsmex_tabline,
wa_xl TYPE alsmex_tabline.
data:itab TYPE STANDARD TABLE OF scr,
it_bdc type standard table of bdcdata with header line,
wa_tab TYPE scr.
DATA:it_msg TYPE STANDARD TABLE OF bdcmsgcoll,
wa_msg TYPE bdcmsgcoll,
v_str TYPE string.
selection-screen:begin of block b1 with frame title text-001.
parameter:p_path type localfile.
selection-screen:end of block b1.
at selection-screen on value-request for p_path.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'p_path'
IMPORTING
FILE_NAME = p_path.
start-of-selection.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = p_path
I_BEGIN_COL = 1
I_BEGIN_ROW = 1
I_END_COL = 13
I_END_ROW = 999
TABLES
INTERN = it_xl
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
LOOP AT it_xl INTO wa_xl.
CASE wa_xl-col.
WHEN '1'.
wa_tab-LIFNR = wa_xl-value.
WHEN '4'.
wa_tab-name1 = wa_xl-value.
when '13'.
wa_tab-akont = wa_xl-value.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endcase.
AT END OF row.
APPEND wa_tab TO itab.
ENDAT.
endloop.
ENDIF.
****START-OF-SELECTION.
perform open_group.
loop at itab INTO wa_tab.
clear it_bdc.
refresh it_bdc.
perform bdc_dynpro using 'SAPMF02K' '0105'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-LIFNR'
wa_tab-lifnr. "'12'.
perform bdc_field using 'RF02K-BUKRS'
'1000'.
perform bdc_field using 'RF02K-KTOKK'
'0001'.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-TELF1'.
perform bdc_field using 'BDC_OKCODE'
'=UPDA'.
perform bdc_field using 'LFA1-NAME1'
wa_tab-name1. "'jasprit singh'
"'jasprit singh'.
perform bdc_field using 'LFA1-SORTL'
'J'.
perform bdc_field using 'LFA1-STRAS'
'zakaria street'.
perform bdc_field using 'LFA1-PFACH'
'700108'.
perform bdc_field using 'LFA1-ORT01'
'kolkata'.
perform bdc_field using 'LFA1-LAND1'
'IN'.
perform bdc_field using 'LFA1-SPRAS'
'EN'.
perform bdc_field using 'LFA1-TELF1'
'03325788268'.
perform bdc_dynpro using 'SAPMF02K' '0210'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-FDGRV'.
perform bdc_field using 'BDC_OKCODE'
'=UPDA'.
perform bdc_field using 'LFB1-AKONT'
wa_tab-akont. "'31000'.
'31000'.
perform bdc_field using 'LFB1-FDGRV'
'A1'.
perform bdc_transaction using 'FK01'.
call transaction 'fk01' using it_bdc mode 'A'
update 'S' messages INTO it_msg .
endloop.
perform close_group.
LOOP AT it_msg INTO wa_msg.
wa_msg-msgid = 'YMSG4'.
IF wa_msg-msgnr = '349'.
wa_msg-msgnr = '000'.
ENDIF.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = wa_msg-msgid
lang = sy-langu
no = wa_msg-msgnr
v1 = wa_msg-msgv1
v2 = wa_msg-msgv2
v3 = wa_msg-msgv3
v4 = wa_msg-msgv4
IMPORTING
msg = v_str
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
WRITE:/1 v_str.
ENDIF.
ENDLOOP.
Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR it_bdc.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
it_bdc-PROGRAM = PROGRAM.
it_bdc-DYNPRO = DYNPRO.
it_bdc-DYNBEGIN = 'X'.
APPEND it_bdc.
ENDFORM. "BDC_DYNPRO
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> NODATA.
CLEAR it_bdc.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND itab.
it_bdc-FNAM = FNAM.
it_bdc-FVAL = FVAL.
APPEND it_bdc.
ENDIF.
ENDFORM. "BDC_FIELD
Hi Singh,
I think your F4_filename function module it not triggering.
Change your F4_FILENAME code to the below code and check
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_path
And at the AT end statement clear your workarea.
AT END OF row.
APPEND wa_tab TO itab.
clear: wa_tab .
ENDAT.
endloop.
Cheers!!
VEnk@
Similar Messages
-
HT201210 When I Restore My iPhone with itunes gives error -1 will end of the Installing firmware
When I Restore My iPhone with itunes gives error -1 will end of the Installing firmware
what is the problem ?Error -1 generally indicates a catastrophic hardware failure.
You'll need to bring your phone to Apple for evaluation -
When I Restore My iPhone with itunes gives error -1 will end of the Installing firmware
When I Restore My iPhone with itunes gives error -1 will end of the Installing firmware
Error 1 means, as the link that Chris gave you says, that your phone is either jailbroken or damaged.
It can also mean that your antivirus is blocking the update, but this is rare. Try disabling your antivirus if your phone is not jailbroken. If that doesn't resolve the problem you need to get the phone fixed or replaced.
If the phone IS jailbroken you have just learned why you should not hack an iPhone. And you will have to go somewhere other than an Apple-hosted forum for help. -
Data record with time interval error
Hi,
I have come across the following error.
Data record with Time interval error and data is getting loaded into data target and no PSA in between.
thanks
krisHi Kris,
Could you please explain your problem little bit more. I mean what is source and target, or you using IP or DTP.
goto the details in monitor tab, you will come to know to which record yo uhave error.
If you are running IP, it is recommended to keep PSA.
Regards,
Venkatesh -
Error after doing bdc recording with MIRO
hi everybody,
iam using call transaction for MIRO. in that recording is not doing properly. problem is - after doing recording ,the process is not moving to another tabs(SUB SCREENS) like payments,details.
it gives error.
error is 'invfo-bktxt does not exists in the screen saplmr1m 6000.'
Please help any body for this.Hi Kumar,
Have you got solution for this problem?We've got the same problem over here and we getting solution, if you have the solution could you send it?
Thanks,
Mário -
Weblogic with Hibernate gives error of named queries ? urgent
I have deployed my application on Weblogic 11g, it gives Hibernate Names query exception.
My Application uses Hibernate 3.0 and it works successfully on
Tomcat
JBOSS
Glassfish
But , on weblogic it gives Named query exception .Please any once can help.
I have put antlr-3.0 jar file in lib folder of Weblogic domain folder , and have added path of it in setDomainEnv.cmd file but still Hibernate gives error of named query.You can follow the steps presented here: http://middlewaremagic.com/weblogic/?p=5861
The reason for the failure is the antlr library, which is already loaded through the system classpath, so you
need to tell WebLogic which version is should load as Hibernate uses its own implementation of the antlr library.
Adding it to the domain/lib directory does not help as jar files placed in this directory are added at the end of the system classpath at the end.
Note that it is not good practice to place jar files in the domain/lib directory. -
Jaas ( web.xml) login with uix gives error
I configured a jaas login (web.xml) with my jheadstart project like the jsp example ( Secure BC4J Applications with Oracle9i VPD and Oracle 9iAS JAAS ) this works fine, I get a login box and after i log in, the oc4j server gives a error.
Error in CreateMarlinUIXPage.createUITree: no protocol: /uix/HomePage.uix
what can this be, the jsp example works finehere is my web.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<display-name>sicma</display-name>
<description>sicma helpdesk applicatie</description>
<servlet>
<servlet-name>sicmaController</servlet-name>
<servlet-class>oracle.jheadstart.process.controller.JhsHttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>sicmaService.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>sicmaController</servlet-name>
<url-pattern>/Startsicma</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>startController</servlet-name>
<servlet-class>oracle.jheadstart.process.controller.JhsHttpServletController</servlet-class>
<init-param>
<param-name>cle-service-descriptor</param-name>
<param-value>startService.xml</param-value>
</init-param>
<security-role-ref>
<role-name>administrator</role-name>
<role-link>administrators</role-link>
</security-role-ref>
</servlet>
<servlet-mapping>
<servlet-name>startController</servlet-name>
<url-pattern>/Start</url-pattern>
</servlet-mapping>
<resource-ref>
<res-ref-name>jaas</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
</resource-ref>
<security-constraint>
<web-resource-collection>
<web-resource-name>jaas</web-resource-name>
<url-pattern>/</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>administrators</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>jazn.com</realm-name>
</login-config>
<security-role>
<role-name>administrators</role-name>
</security-role>
</web-app> -
Hi,
I am getting the below error for JXDM when using. It was mentioned in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302524 that it is fixed. Still getting this error.
a) Appreciate if anyone can tell how to use the bug fix b20 that is mentioned in the above? I downloaded the latest jaxb 2.0 from this site and also from the jaxb RI(Reference Implementation and tried both).
b) Is there any workaround to get through this?
Will appreciate if any one can give advise on this.
************** Here is the error message ******************
There was this problem creating a context com.sun.xml.bind.v2.runtime.IllegalAnn
otationsException: 1 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "usStateCodeType". Use @XmlType.name and
@XmlType.namespace to assign different names to them.
this problem is related to the following location:
at gov.ojp.it.jxdm.usps_states._1.USStateCodeType
at protected gov.ojp.it.jxdm.usps_states._1.USStateCodeType gov.
ojp.it.jxdm._3_0_2.proxy.usps_states._1.USStateCodeType.value
at gov.ojp.it.jxdm._3_0_2.proxy.usps_states._1.USStateCodeType
at protected gov.ojp.it.jxdm._3_0_2.proxy.usps_states._1.USState
CodeType generated.CjsAddressType.locationStateCodeUSPostalService
at generated.CjsAddressType
at protected java.util.List generated.CjsPersonType.personAddres
s
at generated.CjsPersonType
at protected generated.CjsPersonType generated.CjsSuspectType.su
spectPerson
at generated.CjsSuspectType
at protected generated.CjsSuspectType generated.CjsReportType.su
spect
at generated.CjsReportType
at public generated.CjsReportType generated.ObjectFactory.create
CjsReportType()
at generated.ObjectFactory
this problem is related to the following location:
at gov.ojp.it.jxdm.fips_5_2._1.USStateCodeType
at protected gov.ojp.it.jxdm.fips_5_2._1.USStateCodeType gov.ojp
.it.jxdm._3_0_2.proxy.fips_5_2._1.USStateCodeType.value
at gov.ojp.it.jxdm._3_0_2.proxy.fips_5_2._1.USStateCodeType
at protected java.util.List gov.ojp.it.jxdm._3_0.AddressType.loc
ationStateCodeFips52Alpha
at gov.ojp.it.jxdm._3_0.AddressType
at protected java.util.List gov.ojp.it.jxdm._3_0.LocationType.lo
cationAddress
at gov.ojp.it.jxdm._3_0.LocationType
at protected java.util.List gov.ojp.it.jxdm._3_0.OrganizationTyp
e.organizationLocation
at gov.ojp.it.jxdm._3_0.OrganizationType
at protected java.util.List gov.ojp.it.jxdm._3_0.BookingType.boo
kingAgency
at gov.ojp.it.jxdm._3_0.BookingType
at generated.CjsBookingType
at public generated.CjsBookingType generated.ObjectFactory.creat
eCjsBookingType()
at generated.ObjectFactory
Check this out
Exception in thread "main" java.lang.NullPointerException
at bpd.MakeNewItem.marshallItem(MakeNewItem.java:119)
at bpd.MakeNewItem.persistItem(MakeNewItem.java:112)
at bpd.MakeNewItem.<init>(MakeNewItem.java:31)
at bpd.MakeNewItem.main(MakeNewItem.java:137)
********************End of error message ******************
Thanks
Sat
Message was edited by:
sat_pIn Help > About > Properties:
sqldeveloper.oci.available = true -
Multiple MACTHES with OR gives error
Hi,
i'm new to oracle database.
I have problem with matches when i use OR but with AND it works fine.
SELECT DISTINCT members.email , authors.IDq
FROM authors, titles, members, queries
WHERE (queries.type = 'AND' AND queries.IDq = authors.IDq AND queries.IDq = titles.IDq AND queries.IDm = members.IDm )
AND ( (MATCHES(title_query,'Multiobjective Evolutionary Optimization of Greenhouse Vegetable Crop Distributions.')>0)
OR (MATCHES(author_query,'Francisco G. Montoya')>0));
ERROR at line 1:
ORA-20000: Oracle Text error:
DRG-10868: matches does not support functional invocation
I read the forum and think that i have to use SECTIONS GROUP is it going to work with SECTIONS ?
Also i can't understand how can i use SECTIONS GROUP because i have 2 INDEX then obviously i will have to go with 1 index .
All the creation of database is below
CREATE TABLE members (
IDm INT PRIMARY KEY,
username varchar2(80),
email varchar2(120),
fullname varchar2(120),
password varchar2(150)
CREATE TABLE queries (
IDq INT PRIMARY KEY,
IDm INT,
type varchar2(10),
query_string VARCHAR2(500)
CREATE TABLE authors (
IDa INT PRIMARY KEY,
IDq INT,
author_query varchar2(250)
CREATE INDEX authorsx ON authors(author_query) INDEXTYPE IS CTXSYS.CTXRULE;
CREATE TABLE titles (
IDt INT PRIMARY KEY,
IDq INT,
title_query varchar2(250)
CREATE INDEX titlesx ON titles(title_query) INDEXTYPE IS CTXSYS.CTXRULE;
CREATE SEQUENCE members_seq
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE
NOMAXVALUE;
CREATE SEQUENCE queries_seq
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE
NOMAXVALUE;
CREATE SEQUENCE authors_seq
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE
NOMAXVALUE;
CREATE SEQUENCE titles_seq
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE
NOMAXVALUE;
thanks you for your time.Hi,
welcome to the forums.
The problem with this error is not because of the index, but the Oracle Optimizer. It tries sometimes functional invocation. A rewrite of the query can help to split the OR (through an union):
SELECT DISTINCT members.email , authors.IDq
from
select members.email, authors.idq
FROM authors, titles, members, queries
WHERE (queries.type = 'AND' AND queries.IDq = authors.IDq AND queries.IDq = titles.IDq AND queries.IDm = members.IDm )
AND MATCHES(title_query,'Multiobjective Evolutionary Optimization of Greenhouse Vegetable Crop Distributions.')>0
union all
select members.email, authors.idq
FROM authors, titles, members, queries
WHERE (queries.type = 'AND' AND queries.IDq = authors.IDq AND queries.IDq = titles.IDq AND queries.IDm = members.IDm )
AND MATCHES(author_query,'Francisco G. Montoya')>0
)Another option is to use Inline Views or Subquery Factoring (use of With in a select), but the above is the easiest to understand.
Try it and see if that works.
Herald ten Dam
http://htendam.wordpress.com -
Databases with spatial give errors in log during export
my databases export fine, but the databases that have Spatial installed show these errors in the export logs..
enterprise database v11.2.0.2 patchset 11
ORA-39127: unexpected error from call to local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA('PARKING_SI','I_NAVTEQ','SDO_INDEX_METHOD_10I','MDSYS',11.02.00.00.00,newblock,0)
ORA-01403: no data found
ORA-01403: no data found
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 270
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 6498
expdp system/******* DIRECTORY=Export DUMPFILE=OSOW.DMP LOGFILE=OSOW.LOG FULL=Y PARALLEL=4
also tried with sys as sysdba. same resultsHi,
Install the patch Patch:10402740
roblem : ORA-39127 ORA-6512 In SYS.DBMS_EXPORT_EXTENSION During Datapump Export Of Domain Indexes
Kind Regards,
Rakesh -
Help! DLL's replying with strings give errors
Hi ,
I use the Call Library node to call a DLL function I wrote in C
void test (char Text[50])
strcpy(Text, "This is a test\0\n");
Next, I configured the Call Library Function as follows:
Parameter RETURN TYPE: Type = Void;
Parameter ARG1: Type = String; String format = C String Pointer;
(Which leads to Function prototype: void test(CStr arg1) )
The function executes just fine, but when I close the VI, I get an
APPLCATION ERROR! ("The instruction at '0x123456' referenced memory at
'0x123456'. The memory could not be read"). I guess this is when the DLL
is unloaded, but what am I doing wrong?
I am Using LabVIEW 5.1.1 & Win NT 4.0
Please help!
Patrick Pol
The NetherlandsThanks Greg,
I wired a string constant containing at least 50 characters to the input of the
Library node, and that got rid of my crashing-problems.
Patrick Pol
Greg McKaskle wrote:
> I believe that your problem here is that you told the C compiler that there
> were 50 characters reserved for the function to write in. A caller of this
> function will need to allocate storage for the DLL function to scribble into,
> or this will be a possible crash/corruption.
>
> The same thing is true of LV. The caller, in this case, LV has no idea
> how much space to allocate for the DLL call. You will need to do this
> on the diagram using a constant, a control, or some other function that
> produces a string large enough to store the data into.
>
> Greg M
cKaskle -
Running an ABAP Query with transaction gives error!
The queries are there (only in production systems), from PHX. When the queries are started from SQ00 they work.
*The question is, if this has to be done for every single query*?Hi,
When we upgraded, we had only few queries to be generated. Not all the queries were required to be generated...
Hence would depend on case to case..Better regenerate the query. This is similar to activation. Hence will not be an issues for already generated queries.
Hope this helps
Regards
Shiva -
Want to output Error message in BDC recording(PA30)
Hi all,
Currently iam working on upload program,whic is done by BDC recording with transaction PA30.while loading the data to different infotypes,iam checking one condition
in particular infotype,after that i need to give the error message(Type E) and i data should not get uploaded for that infotype,and it has to go to next infotype.i want to log this error also,how can i do this?The ERROR message will stop the processing of the program, the message will need to be either an I(information) or a W(warning) message into for the program to continue processing.
Log the message by writing it to an internal table.
IF SOME_CONDITION = 'X'.
MESSAGE W001(00) with 'Hey, here is a message'.
itab-pernr = p_pernr.
itab-msgid = '00'.
itab-msgno = '001'.
append itab.
ENDIF.
CALL TRANSACTION 'PA30'........
Regards,
Rich HEilman -
I was strucked in BDC recording scenario help me?
Hi expertsu2026u2026u2026
I am working on the scenario BDC Recording for fk01 and I am getting an error?
Error is : Different number of parameters in FORM and PERFORM(routine:BDC_FIELD,number of normal parameters:2,number of actual parameters:3).
Following is as follows source code.
report ZROHIT_BDC_FK01 no standard page heading line-size 255.
include bdcrecx1.
DATA:BEGIN OF ITAB OCCURS 0,
LIFNR(16),
BUKRS(4),
KTOKK(4),
ANRED(15),
NAME1(35),
SORTL(35),
STRAS(3),
ORT01(35),
ORT02(35),
LAND1(10),
AKONT(10),
END OF ITAB.
start-of-selection.
CALL FUNCTION 'UPLOAD'
* EXPORTING
* FILENAME = 'D:\'
* ACT_FILETYPE =
TABLES
DATA_TAB = ITAB
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
perform open_group.
LOOP AT ITAB.
perform bdc_dynpro using 'SAPMF02K' '0105'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-LIFNR'
ITAB-LIFNR 'ROHIT100'.
perform bdc_field using 'RF02K-BUKRS'
ITAB-BUKRS '1000'.
perform bdc_field using 'RF02K-KTOKK'
ITAB-KTOKK '0002'.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_transaction using 'FK01'.
END LOOP.
perform close_group.
thanks in advance
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code and please use code tags.
Edited by: Rob Burbank on Oct 7, 2009 10:34 AMHi,
The performs should be like this:
FORM bdc_dynpro USING program TYPE bdc_prog
dynpro TYPE bdc_dynr.
CLEAR wa_bdcdata.
wa_bdcdata-program = program.
wa_bdcdata-dynpro = dynpro.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO gi_bdcdata.
ENDFORM . " bdc_dynpro
*& FORM BDC_FIELD
FORM to get the field name and field value
FORM bdc_field USING fnam TYPE any
fval TYPE any.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = fnam.
wa_bdcdata-fval = fval.
APPEND wa_bdcdata TO gi_bdcdata.
ENDFORM . " bdc_field
and make the changes as stated in your code:
LOOP AT ITAB.
perform bdc_dynpro using 'SAPMF02K' '0105'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
>>perform bdc_field using 'RF02K-LIFNR'
>> ITAB-LIFNR " 'ROHIT100'.
>>perform bdc_field using 'RF02K-BUKRS'
>> ITAB-BUKRS " '1000'.
>>perform bdc_field using 'RF02K-KTOKK'
>> ITAB-KTOKK " '0002'.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_transaction using 'FK01'.
END LOOP.
Regards,
Rajesh Kumar -
Dear all,
i created the sales order with that reference i created delivery also.
when i am doing bdc record with vl01n error is occuring.
error: No delivery-relevant items in order 0000012359,order type OR.
plz solve the problem and give me the procedure.
Regards,
mallikharjuna rao.Hi,
i created the sales order with that reference i created delivery also.
As u said u already created the delivery for that order. So when u do BDC recording it wont allow to do.
Do one thing. Go to VL02N open the delivery. Menu=>Outbound delivery=>Delete.
Now go to SHDB and record by creating new delivery. It will now now.
But i sugest u to go with BAPI BAPI_GOODSMVT_CREATE
rather than BDC for VL01N since it is enzoy transaction it is not advisable to use BDC even though it works.
Check the FM documentation for BAPI. It is clearly explained on how to use.
Thanks,
Vinod.
Maybe you are looking for
-
How to connect old Apple Cinema Display to new Mac Mini?
Hello, I'm considering replacing an old Mac Mini with the new model, but I intend to keep on using my old Apple Cinema Display 20" with it. But i'm having some trouble finding the right conversor (it seems there isn't any from Apple...) Any suggestio
-
HP Pavilion dm4-1160 us Entertainment Notebook stoped pring with HP Officejet Pro 8500 A e All-in-One Printer A910a Operating System is Microsoft Windows 7 Home Premium (64bit) Service Pack 1 How do I get the printer working again?
-
By Summer 2011 I will need to make and receive phone calls from South America. Friends have suggested Skype. Will the $49 iPhone3 be sufficient or must I purchase a newer, more powerful version? Thank you, in advance for whatever light you can shed o
-
Since I went to iPhoto 6, when I import pictures I now get three white lines in my thumbnails. There's two white lines that run the width of the picture on the bottom third of the picture, the top line being a little more visible than the lower line.
-
How to Refer WebI Report in SAP Portal
Hi Experts, I want to show one of the report created in Web Intelligence rich client in SAP portal. I have done the SSO part and imported the par files and changed the configuration in web.xml as per the documentation. Now ! I have developed the re