Create BDC for Shipments
Dear Friends. I have to connect 2 different BDCs in a program.
First BDC.
Starts from tcode VL06P,
as I enter Route and Warehouse Num, A list of deliveries is displayed.
I have to pick the Ship to Party from this list and start the second BDC.
Second BDC,
Open VT01n
Give TransportPlanningPt and Shipment Type
Click on Deliveries Button
Enter Shiptoparty from the above BDC and execute. and process the deliveries displayed.
The problem is how do I get the Kunnr from the displayed list in the first BDC. If I get that other things are easier to do.
Please suggest.
Thanks
Hi,
If u know Delivery no u can get ship to party from LIKP table.
Regards,
A.Thuyavan
Similar Messages
-
Creating bdc for transaction f-02 ?
Hi People,
I am going a bdc for transaction f-02 ..... my template involves 7 posting keys ( 40 50 31 01 29 09 70 ) ... depending up
on the posting key the next screen will change .......... can you people tel me how to do this and what are all the logic
involved in this program ?
thanks u all in advance.
SivaHi,
Please use the following format for your upload file template
DocDate1 ComCd1 Currency1 pstky1
DocDate1 ComCd1 Currency1 pstky2
DocDate1 ComCd1 Currency1 pstky3
DocDate2 ComCd2 Currency2 pstky1
DocDate2 ComCd2 Currency2 pstky2
Then use the following logic.
At New Currency1
add the header data
DocDate1 ComCd1 Currency1
Thus this code will run only once for every new Header
and remain in the screen till posting key are entered.
Regards,
Lokesh
Edited by: Lokesh Tibbani on Sep 5, 2008 12:17 PM -
How to create bdc for fbs1 using both call transaction and session
Hi Friends,
i have one problem with tcode FBS1, i need to create a bdc program for both call transaction and session method using subroutine.
first call transaction needs to execute if there is an error sesion has to execute. if u have code please forward.
thanks in advance.
chandramouli pothuguntawhere as in call transaction we can do error handling explictly.those errors are stored in one file .this file will send to the error log(session method),i.e session log.
in the above case we use both call transaction n session method at time in one program.sample code is below ,go through it .
data : begin of itxk01 occurs 0,
end of itxk01.
data : bdcdata like itbdcdata occurs 0 with header line.
data : itbdcmsgcoll like itbdcmsgcoll occurs 0 with header line,
itxk01 like itxk01-dup occurs 0 with header line.
call gui-upload.
loop at itxk01.
refresh itxk01.
perform bdc-dynpr0 using 'prg' 'scr'
perform bdc-dynfld using fnam fval
call transaction 'xk01' using bdcdata mode 'a' update 's' messages into itbdcmsgcoll.
if sy-subrc ne 0.
append itxk01 into itxk01-dup.
endif.
endloop.
if not itxk01-dup[] is initial.
refresh itck01.
call bdc_open_group
itxk01 = itxk01-dup.
loop at itxk01.
refresh itxk01.
perform bdc-dynpr0 using 'prg' 'scr'
perform bdc-dynfld using fnam fval
call bdc-insert.
endloop.
call bdc-close-group.
form bdc-dynpr0 using pr sc
endform .
form bdc-field using fnam faval
endform.
this will help u.
reward points for me
kiran -
How to create BDC for Deletion of Records in Table Control in BDC for PFCG
I have transcation PFCG and have to go to roles of users there.We will upload the users who has to be deleted and it should delete it from the PFCG in one go .Howcan I create a program to delete from the table .If i delete directly from DB table it doesnt show in SAP log how or Who deleted it and the client wants this log which is needed for accountability.
Pls HELP.
GeorgeHi
You can only indicate the user and all profiles of the user will be deleted.
DATA: BEGIN OF T_DEL_USR OCCURS 0,
USERNAME LIKE BAPIBNAME-BAPIBNAME,
END OF T_DEL_USR.
DATA T_RESULT TYPE STANDARD TABLE OF BAPIRET2
WITH HEADER LINE.
After loading the users to be deleted:
LOOP AT T_DEL_USR.
CALL FUNCTION 'SUSR_BAPI_USER_PROFILES_DELETE'
EXPORTING
USERNAME = T_DEL_USR-USERNAME
TABLES
RETURN = T_RESULT.
ENDLOOP.
I'm not sure but perhaps u have to use bapi for commit too: BAPI_TRANSACTION_COMMIT
Max -
Hi experts,
I have a problem here. The requirment is like, we have a test data file in which in a particular record if there exists a deletion flag 'L' I need to delete this record from system by calling tcode VB12m, unless i need to create a record by calling tcode VB11.
The problem here is for already created records which are being displayed in VB12.First I need to check whether this entry exists in VB11 or not and then select the checked and then click to delete button in TCode VB12.
But how, shud i check the records from VB11 tcode whether it exists or not?These are coming in display mode in Tcode.......
Plz if anyone has faced this problem earlier suggest me how to proceed further.
Thanks in advance.Hi,
Please use the following format for your upload file template
DocDate1 ComCd1 Currency1 pstky1
DocDate1 ComCd1 Currency1 pstky2
DocDate1 ComCd1 Currency1 pstky3
DocDate2 ComCd2 Currency2 pstky1
DocDate2 ComCd2 Currency2 pstky2
Then use the following logic.
At New Currency1
add the header data
DocDate1 ComCd1 Currency1
Thus this code will run only once for every new Header
and remain in the screen till posting key are entered.
Regards,
Lokesh
Edited by: Lokesh Tibbani on Sep 5, 2008 12:17 PM -
Create BDC recording for position,job,role
hi all,
i want to create BDC recording for position,job,role . what is the transaction for creating postion,job, role?/??
and i have to check wheather for one job , role is there or not? if not i have to create that role.. similiarly i have to check for position that there is corresponding job is there or not.. if not i have to create the job???
how would i do that??
thanks
SAchinHi Sachin,
1) Creating BDC is an ABAP-ers job and being functional its not ur responsibility. If u really want to do that then u can do it through T.Code - SHDB.
While creating BDC for Position u have to go through T.Cdoe - SHDB and in that give PP01 in the TRANSACTION CODE feild. Then go on for recording. After that ask the help of an ABAP-er.
2) To Check if a POSITION or a JOB is there, then Go to T.Code - PP01, under Obj Abbr. feild put S for POSITION and C for JOB and press enter after entering the POSITION and JOB id. U'll get the result. OK
3) To check for ROLE, u have go to T.Code - PFCG and there check for the particular ROLE u r looking for. Here in this T.Code u can actually create, change and delete the ROLES.OK
Hope this helps,
ARNAV... -
Problem in creation of BDC for transaction phap_create
Hello Friends,
I am trying to create BDC for PHAP_CREATE.
When you run a transaction a pop up window appears to select the template id.
And in BDC it is selected by cursor position. So once selected, the value of template id cannot be changed.
I want this as a parameter.So that each time I run a BDC I will be able to create different types of Appraisal documents i.e with different template ids.
How to go about it???
Regards,
BhushanHi,
For selecting the id, while doing recording,
record with
CTRL + F ( Where u can give ur id) and proceed further. -
Hi Experts ,
I am creating BDC for VA31 transaction.
If there are multiple line items then i have to select first line item and then go to forcast delivery schedule button .
I have to do this procedure for every line item.
Is there any way or function code to pick line item.
Thanks
SonalSearch with BDC for Table control.
-
Hi All,
I need to use transaction F-28 to create an interface for automatic postings of customer payments.
Is it possible to create BDC for F-28?
RegardsHello,
It is very difficult to make bdc for any FI transaction. My advice is to use RFBIBL00 program for this.
See my answer to this thread
Re: FB01 DATA UPLOAD USING POSTING_INTERFACE_DOCUMENT FUNCTION
Regards,
Naimesh -
Standard BDC for t.code: FB01
Hi,
Is there any standard BDC available for T.code: FB01.
Thanks and Regards,
VKHi,
You can use standard program RFBIBL00 or BAPI BAPI_ACC_DOCUMENT_POST for this purpose.
Creating BDC for FB01 mainly depends on your need. A generic one is difficult to be created due to multiple alternative screeens.
Regards,
Gaurav -
BDC For Bank Reconsilation.
Dear friends,
I want to create BDC for bank reconcillation using Tcodes FF67 and FEBA.
So I want to know whether we can create BDC for such a transactional data or there may be any other solution for the same. Beacuse it is very complicated process.
Regards,
Madan.hi kapilan,
i do have problems while creating BDC for FI12 T.Code.
After brief analysis i found that:
1. its not standard transaction code but its part of customizing setting.
2. at end it creates transport request.
after consulting our function consultant. the decision was to create different recordings for House Bank Adress data and bank accounts.
try this way.
Regards,
krishna chaitanya -
Hi Friends,
Anyone who had developed the BDC for FB01 T-code, please send me the source code . I am not able to create BDC for both header and line itemswise.
Deepak.Hi Deepak,
check BDC standard program RFBIBL00 or FM
BAPI_ACC_GL_POSTING_POST
BAPI_ACC_DOCUMENT_POST
Also check
Re: LSMW: problem with object RFBIBL00 tx FB01 (sapmf05a no data)
Hope this helps
Thanks
Lakshman -
Hi,
I am trying to create BDC for VD51 transaction.
But in this transaction i have not found any icons for PAGE DOWN or NEXT LINE.
In this case how can i do bdc recording for table control.
Thanks and regards,
shylaBased on This you can upload for tabctrl...
Sample Code.
LOOP AT it_mat.
declare the field idx integer *
idx = idx + 1.
CONCATENATE 'MV10A-MATNR(' idx ')' INTO fnam.
PERFORM bdc_field USING fnam
it_mat-matnr.
ENDLOOP. -
BDC for IE02 Classification Fields
Hi,
I am trying to create BDC for IE02 Equipment change for its Classification fields based on equipment object type.
When i create BDC with IE02 and when i go to the transaction and then Eq Specific TAB the fields become display only and i couldn't enter data.How to record BDC for Eq specific TAB in IE02?
Is that good to update the classification data for IE02 directly with "BAPI_OBJCL_CHANGE". The number of classification fields for each equipment type differs how can that be handled?
Thank you
arunhi Arun,
Did you try changing the equipment using <b>BAPI_EQUI_CHANGE</b> ? There is a structure called <b>DATA_SPECIFIC</b> which is specific for Equipment related data.
For classification related changes, look at the FM's available in transaction <b>BAPI</b>
Cross Application Components -> Classification
Regards,
Subramanian V.
Message was edited by: Subramanian Venkateswaran -
Hello,
Please help me with BDC for mb21 for multiple item
System to sytem no of items display in MB21 screen varies & new items has to be entered further.
For eg: if I have 30 items to be reserved. My MB21 screen is showing only 19 item, to reserve the rest of the item i have to go to new item button.
Please help me to create BDC for the above without manual intervention.
Subbu.
MOderator Message: We cannot give a step-by-step solution.... even if you are a Functional guy. Get hold of an ABAPer and get your work done. Coding parts are better done by ABAPers.
Edited by: kishan P on Jan 28, 2011 4:10 PMHi,
Please search in SCN with search term "How to use table control in BDC", you will get the information and idea to do it with MB21 transaction code.
REgards,
Nagaraj
Maybe you are looking for
-
What is the check box column for in iTunes?
I just upgraded to the latest version of iTunes (11 something). Now the checked songs on the Music/Song page do not sync with my iphone. I have to go to a separate page to select what I want to sync with my phone and if it's not my whole library I
-
Why does Quickview stop showing previews when I scan through a folder of .eps files?
I have an Adobe Illustrator folder with a bunch of my .eps files that I browse through, and after about 20 or 30 files the quickview preview stops showing me the artwork and shows the generic eps image. Is this a limited feature or is something wron
-
Shelf life monitoring - user exits
Hi Experts, We are trying to implement shelf-life monitoring for certain material types. Before i place my question, i'll try to explain the scenario as clearly as i can. For one plant and a fixed number of storage locations we're supposed to display
-
Sharing A Calendar on My Blackberry
I am trying to set up a calendar that I can share with my wife (or view multiple calendars simultaneously) -- and use my BB to view our appointments and schedule new ones. It is not necessary to access real time data -- as long as we can both synch
-
Where can I get os 10.6.7 full system?
Anyone have a copy or know where I can buy or download one? Not the update, but the full system.