Need to create Idoc using with BAPI in BP
Hi Experts,
Business Partners are created/changed in SAP either directly by using transaction BP or indirectly created from DTI or using the BAPIBUSISM007_CREATEFROMDATA BAPI for new customers and BAPIBUSISM007_CHANGE to change customers. When a business partner is created or changed via transaction BP an IDOC is generated when the create or change is saved. This IDOC is then sent to the appropriate DTI (Third party) clients to ensure the customers remain in sync.
Now issue is that creates and changes made using a BAPI do not generate an IDOC. Therefore, new customers and customer changes made by DTI clients do update ECC but are not being passed on to Ad Sales since an IDOC is not created. The same is true when a customer is created/changed by Ad Sales. The change is made in ECC via the BAPI but since no IDOC is generated the create/change doesn’t get moved to the DTI clients.
what the IDOC triggering mechanism is for generating IDOCS from the BAPIBUSISM007_CREATEFROMDATA BAPI and the BAPIBUSISM007_CHANGE BAPI. This mechanism should be some type of ALE Message that can be used in the partner profile setup to automatically generate the IDOC.
Any inputs about my issue.
Thanks,
Anji
Hi Experts,
Any updates or suggestions on this issue.
Thanks,
Anji
Similar Messages
-
I am new to IPAD and I want o use facetime, how can I use it to communicate with my mac at home, do I need to create another account with a different email account
do I need to create another account with a different email account
Yes, the email addresses need to be unique to each device. You may use the same Apple ID on each device, but the email address used by each device needs to be different. -
HI Helpful Hearts,
I need to create IDOC for some file its also with me, Please help me how to create IDOC, and also i need that IDOC number.
Tobe frank this is the first time i am going to create IDOC.
Please do needful.
Thanks in advance.Hi,
Beginners guide for IDoc to File scenario:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
The above link will provide you the step by step details.
Idoc number is contained in the DOCNUM field under EDI_DC segment in the IDoc.
Hope it helps buddy
Thanks
Biswajit -
Need to create a textinput with effects
I need to create a textinput with effects- it should show a blue icon infront of it when the icon is focused and the blue icon should fade afterwards. I am pretty sure I need to use skin but the problem is I have only two states with textinput control and not sure how I would use those to ensure a handling mouse hovering effect. Right now I am not able to create a custom component bacuae I have to modify the whole code wherever there is textinput control.
Thanks in advance.
RachelYou might find this blog post useful: http://flexponential.com/2010/01/24/custom-focusskin-for-spark-components-in-flex-4/
-
Create reversal document with BAPI: BAPI_ACC_DOCUMENT_POST.
Hi Guys,
I am Create reversal document with BAPI: BAPI_ACC_DOCUMENT_POST.First I am post financial document with BAPI BAPI_ACC_DOCUMENT_POST and Same Document. i am Reversal with same BAPI 'BAPI_ACC_DOCUMENT_POST'.
New reversal docment is created. but posting key are not changingin reversal docment.whatever posting key created in posting same posting key are created while reversal also.Please help mecheck
Mapping of POSTING KEY in BAPI_ACC_DOCUMENT_POST -
Need to create P.O with reference to only P.R
2)Need to create P.O with reference to only P.R. Mean without P.R system should not allow to create P.O how to do?
hi
try this
go to SPRO-MM-Purchasing- Authorization Management-Define Function Authorizations for Buyers
click on Function Authorizations: Purchase Order
create a new entry and
check ref to PR then
goto SU01 and on parameter tab enter the Parameter id = EFB and parameter value is what you define in the functional authorization key
Enter the desired key as a parameter under the parameter ID EFB in the user master
Also make sure that,In OMET in details of function Authorization>Possible ref. objects>Tick only Ref. to purchase requisition and not anything else.
this way u can restrict the user from creating po with ref to pr -
I need to create a link with confirmation..
Please I need a help o this :
I need to create a link with confirmation, it means that after clicking the link it does not redirects to the next page, but first it displays a question like "Are you sure you want to go to page XYZ" ? Yes / No .If you click "No" then message just dissapears, if you click "Yes" it goes to the next page...
Any dea ? thanks in advance...<a href="XYZ.php" onclick="return confirm('Are you sure you want to go to page XYZ?')">XYZ.php</a>
-
Need Help ! PO using a BAPI - BAPI_PO_CREATE1
Hi friends,
Need some help. I am trying to create a PO using a BAPI - BAPI_PO_CREATE1
<i><b>I want the new PO to have all the characteristics of an existing PO. which is stored in wa_order_split_create-docnr and for the new PO, i want the quantity from wa_order_split_create-qty_acptd and the delivery data to be wa_order_split_create-dly_date. But this process and code below gives a short dump in the std FM - MEPO_DOC_ITEM_GET . It raises an exception of failure.</b></i>
Am i making any mistake while filling the header or item or schedule lines before BAPI_PO_CREATE1 ?
MOVE: wa_order_split_create-docnr TO i_ebeln,
wa_order_split_create-docitm TO i_ebelp .
CALL FUNCTION 'ME_EKKO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
IMPORTING
po_ekko = i_ekko
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
ENDIF .
Fill PO Header
i_bpoh-comp_code = i_ekko-bukrs .
i_bpoh-doc_type = i_ekko-bsart .
i_bpoh-vendor = i_ekko-lifnr .
i_bpoh-langu = i_ekko-spras .
i_bpoh-pmnttrms = i_ekko-zterm .
i_bpoh-purch_org = i_ekko-ekorg .
i_bpoh-pur_group = i_ekko-ekgrp .
i_bpoh-currency = i_ekko-waers .
i_bpoh-agreement = i_ekko-konnr .
i_bpoh-incoterms1 = i_ekko-inco1 .
i_bpoh-incoterms2 = i_ekko-inco2 .
Fill PO update indicator 'X'
i_bpohx-comp_code = c_char_x .
i_bpohx-doc_type = c_char_x .
i_bpohx-vendor = c_char_x .
i_bpohx-langu = c_char_x .
i_bpohx-pmnttrms = c_char_x .
i_bpohx-purch_org = c_char_x .
i_bpohx-pur_group = c_char_x .
i_bpohx-currency = c_char_x .
i_bpohx-agreement = c_char_x .
i_bpohx-incoterms1 = c_char_x .
i_bpohx-incoterms2 = c_char_x .
CALL FUNCTION 'ME_EKPO_SINGLE_READ'
EXPORTING
pi_ebeln = i_ebeln
pi_ebelp = i_ebelp
IMPORTING
po_ekpo = i_ekpo
EXCEPTIONS
no_records_found = 1
OTHERS = 2.
IF sy-subrc <> 0 .
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF .
Fill PO Item
i_wa_bpoi-po_item = i_ekpo-ebelp .
i_wa_bpoi-material = i_ekpo-matnr .
i_wa_bpoi-plant = i_ekpo-werks .
i_wa_bpoi-stge_loc = i_ekpo-lgort .
i_wa_bpoi-quantity = wa_order_split_create-qty_acptd .
i_wa_bpoi-po_unit = i_ekpo-meins .
i_wa_bpoi-tax_code = i_ekpo-mwskz .
i_wa_bpoi-val_type = i_ekpo-bwtar .
i_wa_bpoi-item_cat = i_ekpo-pstyp .
i_wa_bpoi-acctasscat = i_ekpo-knttp .
i_wa_bpoi-agreement = i_ekpo-konnr .
i_wa_bpoi-agmt_item = i_ekpo-ktpnr .
APPEND i_wa_bpoi TO i_bpoi .
Fill PO Item update indicator 'X'
i_wa_bpoix-po_item = i_ekpo-ebelp .
i_wa_bpoix-po_itemx = c_char_x .
i_wa_bpoix-material = c_char_x .
i_wa_bpoix-plant = c_char_x .
i_wa_bpoix-stge_loc = c_char_x .
i_wa_bpoix-quantity = c_char_x .
i_wa_bpoix-po_unit = c_char_x .
i_wa_bpoix-tax_code = c_char_x .
i_wa_bpoix-val_type = c_char_x .
i_wa_bpoix-item_cat = c_char_x .
i_wa_bpoix-acctasscat = c_char_x .
i_wa_bpoix-agreement = c_char_x .
i_wa_bpoix-agmt_item = c_char_x .
APPEND i_wa_bpoix TO i_bpoix .
Fill PO Item Schedule
i_wa_bpos-po_item = i_ekpo-ebelp .
i_wa_bpos-sched_line = '0001' .
i_wa_bpos-delivery_date = wa_order_split_create-dly_date .
i_wa_bpos-quantity = wa_order_split_create-qty_acptd .
APPEND i_wa_bpos TO i_bpos .
Fill PO Item schedule update indicator 'X'
i_wa_bposx-po_item = i_ekpo-ebelp .
i_wa_bposx-sched_line = '0001' .
i_wa_bposx-delivery_date = c_char_x .
i_wa_bposx-quantity = c_char_x .
APPEND i_wa_bposx TO i_bposx .
CLEAR: i_pargr .
SELECT SINGLE pargr
INTO i_pargr
FROM t161
WHERE bstyp = i_ekko-bstyp
AND bsart = i_ekko-bsart .
CLEAR i_ekpa[].
CALL FUNCTION 'MM_READ_PARTNERS'
EXPORTING
application = c_char_p
ebeln = i_ebeln
bstyp = i_ekko-bstyp
pargr = i_pargr
TABLES
x_ekpa = i_ekpa[].
LOOP AT i_ekpa INTO i_wa_ekpa .
i_wa_bpop-partnerdesc = i_wa_ekpa-parvw .
i_wa_bpop-langu = sy-langu .
IF NOT i_wa_ekpa-lifn2 IS INITIAL .
i_wa_bpop-buspartno = i_wa_ekpa-lifn2 .
ELSE .
i_wa_bpop-buspartno = i_wa_ekpa-parnr .
ENDIF .
APPEND i_wa_bpop TO i_bpop .
CLEAR: i_wa_ekpa, i_wa_bpop .
ENDLOOP .
CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
poheader = i_bpoh
poheaderx = i_bpohx
IMPORTING
exppurchaseorder = i_new_ebeln
TABLES
return = i_bapiret2
poitem = i_bpoi[]
poitemx = i_bpoix[]
poschedule = i_bpos[]
poschedulex = i_bposx[].
i_order = i_new_ebeln .
SHIFT i_order LEFT DELETING LEADING '0' .
i_return-errortype = c_char_i .
i_return-workarea = c_zsw .
i_return-message = '064' .
i_return-variable1 = i_order .
loop at i_bapiret2 into i_bapiretn where type ca 'EAX' .
append i_bapiretn to t_bapi_return .
endloop .
if t_bapi_return[] is initial .
i_create_order = c_char_x .
CALL FUNCTION 'SWD_POPUP_MESSAGE_SEND'
EXPORTING
act_return = i_return.Hi,
Make the required settings to trigger an idoc during the creation of a PO in Me21N with multiple line items, check how the idoc is being created, This should be starting point to know how to create idoc with multiple line items.
Hope this works for you.
Rajeev -
Hi Everyone,
I need some information about posting an application using inbound IDOC with BAPI. I need to write a FM for
Inbound IDOC with BAPI to post it. Can some one give me direction as where to start as I am new to BAPI.
Thanks in advance.
Regards,
vickyHi Vicky,
Please take a look at this link which will show step by step on how to setup inbound proscessing.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
Also check this links for sample codes.
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
Hope this will help.
Regards,
Ferry Lianto
Message was edited by: Ferry Lianto -
Need to create a report with drop down option
Hi,
I have created a report with a simple query. Its a real time report.
select host_name, target_name, instance_name from MGMT$DB_DBNINSTANCEINFO
where target_type = 'oracle_database';
It gives me a tabular report. It works fine. But it is a huge report about 1000 rows. We can see a particular number of rows per page. Thats fine.
I need something else. I will select a particular target name from a drop down and the report will give me the result for the respective target only. Is that possible ? How to do that ?
Thanks in AdvanceHello,
When you create your report, in the "general" tab, under Targets click on the first radio button named "A target will be selected by the report viewer when viewing the report" and under that choose target type="Database Instance".
Then in your report query, use the predefined variable ??EMIP_BIND_TARGET_GUID?? to identify the target the report user will select at execution time; for instance:
select host_name, target_name, instance_name from MGMT$DB_DBNINSTANCEINFO
where target_type = 'oracle_database' and target_guid=??EMIP_BIND_TARGET_GUID?? ;
regards,
Noel -
Avoid substitute material.., while creating sales order with BAPI?
Hi experts.
I use BAPI_SALESDOCU_CREATEFROMDATA1 function module to create a sales order.
Material A has a substitute material B with substitute reason 0005.
So if I use material A when creating sales order with above BAPI function, the order is created with material B.
I don't want to substitute the material automatically. I want to create the sales order with material A.
What should I do? Help me please.
Thanks in Advance.Hi bvrn Reddy,
I know, your message is almost two years old, but, did you find a solution? I'm facing the same problem. The material A has B as substitute, but in va01 a popup appears (its customizing inside the substitution reason, strategy = A). Of course, we have no popup inside the bapi, but there must be a way to decide which material the bapi should use. At the moment I only get the substitute, never the old mat (even there is something in stock).
Maybe you've got a helpful hint for me, thanks!
Ben -
Need to create PIR using One Time Vendor
Hi experts,
I need to create Purchase Info. Record using One Time vendor (OTV) as the PIR field in PO is mandatory and as per the client requirement, this field cannot be changed to optional.
Is there any possibility to create PIR using OTV.
Thanks
MohanYou can create the PIR for one time vendor for material with the vendor code similar to regular vendor PIR creation process. you can maintian the condition in PIR and same will be copied into PO.You need to check price during the PO since the price wil be change from vendor to vendor (since no fixed vendor is assigned). You can process GR/IR without any issues.Please let us know idf you need any specific requirement.
warm regards
Ramakrishna -
How to create invoicing plan with BAPI?
Dear Experts,
I am using this BAPI to create PO,it is ok,but I can not create invoicng plan. could you please tell me how create this po with invoicing plan?
CALL FUNCTION 'BAPI_PO_CREATE'
EXPORTING
PO_HEADER = ITAB_PO_HEAD
PO_HEADER_ADD_DATA = ITAB_PO_HEAD_ADD
HEADER_ADD_DATA_RELEVANT = 'X'
IMPORTING
PURCHASEORDER = WF_PO_NUMBER
TABLES
PO_ITEMS = ITAB_PO_ITEM
PO_ITEM_SCHEDULES = ITAB_PO_ITEM_DATE
PO_ITEM_ACCOUNT_ASSIGNMENT = ITAB_PO_ACCOUNT
RETURN = PO_RETURN
PO_SERVICES = ITAB_PO_SERVICE
PO_SRV_ACCASS_VALUES = ITAB_PO_SERV_ACC_VAL
Best regards,
ShinnyThank you
-
Need to create Table Maintenance with more than 400 characters
I need to create table maintenance in which one filed have more than 400 characters. CHAR type support between 1-255 & STRING type not supported by Table Maintenance. Is there any alternative type or solution for that?
Hi,
If you assign TMG to the table, it will throw error as unable to display the field on screen. why because it can able to display upto 255 char length only.
For this requirement you have 2 solutions :
1) Create multiple fields and your Z table, split the data and store them as required.
2) Create a TEXT ID and store it as a long text using FM CREATE_TEXT.
or
This type of text should be treated as Long Text.
And the steps are:
1. Create Text Object Using SE75.
2. Create Text ID Using SE75.
3. Now you have to Save the text with FM SAVE_TEXT.
For example:
The Most simple solution for it can be that Divide the field REMARKS of size 1000 in multiples of 200 characters like REMARK1, REMARK2....REMARKn.
Now you can create two FMs :
zset_data: To Store 1000 char long data in Table
Here you will divide the data of Variable (type char1024) in multiples of 200 and will store in REMARK1, REMARK2.....
zget_data: To Get 1000 char long data back from Table
Here you will concatenate REMARK1, REMARK2..... and will store in Variable of Type char1024.
This is the best solution if Table is not going to be maintained by Table Maintenance Generator.
regards,
ravi -
Need to create a menu with subitems similar to OTN main page bar menu
Hi,
Using Jdev 11.1.1.5
I need to create a menu bar with simple sub-items (set of links to other sites or pages) similar to what OTN main page uses.
The menuBar with subitems shown in the ADF demo site is close but doesn't look like as OTN i.e. set of tab/boxes.
Link to the ADF demo with menuBar:
http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/index.jspx?_afrRedirect=3119879384215420#%2Fcomponents%2FmenuBar%2Felectronics.jspx%40%3FAdf-Window-Id%3Dw0
Not sure which ADF component to use?
ThanksThanks Shay. I think skinning would be simpler and will make use of the provided components in ADF, but I haven't done any work with skinning but did use CSS so not sure how simple to figure this out.
Most of the commercial web site uses tabs/boxes as I am trying to do. It will be nice to have ADF component or simple solution.
Thanks
Maybe you are looking for
-
Macbook Pro 13 inch ( Mid 2012 )
Hey ..i'm really frustated. my macbook pro is now 9 months old and it has really gotten slow .. i see beach ball coming up all the time and even the boot up shows the loading gear whell i dont know what to do .i have tried everything like disk utilit
-
Why does IOS7 drain iPhone 4S battery
When I recently updated my iPhone to IOS7, it drains the battery a lot faster than it normally would. Does anybody know how to fix this?
-
Adding a background video clip covers my template.
Is there a way to have a background video playing behind the framesFilmstripCover template? Thanks!
-
External Antenna Mount for AIR-ANT5160NP-R
I about to embark on a project to create a wireless bridge using a pair of Cisco Aironet 1252's, which will be mounted internally, and a pair of Cisco Aironet 5-GHz MIMO 6-dBi Patch Antenna (AIR-ANT5160NP-R), which will be mounted externally. Could a
-
Hi. Does anyone know that why do I get random people's friend requests in Skype? I searched myself on the Skype contact finder, but I didn't find myself by my name... Could it be that I got hacked? Solved! Go to Solution.