BDC for routing change (CA02)
Dear Experts,
I made the bdc for ca02 in which i need to change the fields like vgw01,vgw02.vgw03,lar02 and lar03.
but the value is not changing.
in my BDC everything is coming while doing debugging but when we execute the bdc its not changing the values.
please help <removed by moderator>.
Thanks & Regards,
Devidas Karad
Edited by: Thomas Zloch on Oct 10, 2011 2:05 PM
when you mention debug, do you mean the ABAP debugger, or are you stepping through the BDC istself.
You can, for example, on the call transaction specify MODE = A, in which case each of the steps of the BDC is shown on the screen for you to monitor and check, including the sy-ucomm value.
This woul dbe a good first step. typically, when something is wrong in the BDC, this will point it out.
Also, consider using MESSAGES INTO on the call transaction, and checking the messages when the transaction returns to see if perhaps something is wrong with the data or is being misinterpreted by the call transaction.
Similar Messages
-
Monitoring/Traps for Route Changes: OSPF
Hello all. Silly question time.
I'm running OSPF on Cisco 6500s and would like to be notified when route changes happen.
I can't figure a way to get that notification. I've found all sorts of traps available to alert me to all sorts of OSPF information; but I can't find anything specific to route changes.
I'm using Solarwinds Orion as well.
I have to be missing something simple but I can't seem to figure out what that is. Does anyone know how to get the info/trap sent to Orion I'm loking for?
Any help is greatly appreciated.
HampSee this discussion for a great explanation by Joe that should be what your looking for when neighbors change ocurr.
https://supportforums.cisco.com/message/3066375 -
Dear all,
I developed a BDC a program for uploading the routing with multiple line item but it gives some error.
If anybody have any program on that pls provide?
Routing BDC - CA01HI
try out this link-------
Re: PP - Routing Upload
regards
Prashant -
Hello All,
A code has been written in the User exit for Tcode ME22N, Which sets the indicator on PO line item. This has been done by modifying the standard itab POT by using field symbols, because the fields to be modified are shown in display mode in the tcode ME22N and cannot be done in BDC. See the below code in user exit ZXM06U43.
DATA char(50) VALUE '(SAPLMEPO)POT[]'.
CLEAR wa_ind.
FIELD-SYMBOLS <f1> TYPE ANY.
Move memory of internal table POT to field symbol f1.
ASSIGN (char) TO <f1>.
Move content of f1 to internal table i_ind
i_ind[] = <f1> .
LOOP AT i_ind INTO wa_ind.
IF wa_ind-pstyp = '9'. " Service PO - item category
IF PO Line item has History per Purchasing Document as 'D'
Set indicators on, for the line item.
CLEAR v_cnt.
SELECT COUNT( * ) INTO v_cnt FROM ent5100
WHERE ebeln = wa_ind-ebeln
AND ebelp = wa_ind-ebelp
AND bewtp = 'D'.
IF sy-subrc = 0.
wa_ind-wepos = 'X'. " Set Goods Receipt Indicator
wa_ind-webre = 'X'. " Set GR-based IV Indicator
wa_ind-lebre = 'X'. " Set Srv-based IV Indicator
ELSE.
*End of addition SAP-20070910104025 - SL36 - D01K963369
wa_ind-wepos = ' '. " Clear Goods Receipt Indicator
wa_ind-webre = ' '. " Clear GR-based IV Indicator
wa_ind-lebre = ' '. " Clear Srv-based IV Indicator
wa_ind-xersy = ' '. " Clear ERS Indicator
ENDIF.
MODIFY i_ind FROM wa_ind INDEX sy-tabix.
ENDIF.
ENDLOOP.
<f1> = i_ind[].
ENDIF.
ENDIF.
This code is in production and has been working fine.
The requirnment is now to make this indicator work for all the Purchase order before this code has been written in the Exit. For this my functional suggests that to write a separate program using BDC for PO change and jus add a period/dot in the short text and save it. The code has been written, the user exit and the above code is getting triggrred values are updated in internal table correctly.
However the flags was not set or cleared when seen in the tcode ME22N . This works fine if the tcode me22n is run directly and not working in BDC.
I have tried with ME22 without enjoy transaction in BDC changing the POT Program to SAPMM06E. It does not work.
Please help me as why it is not uodating in the table when using BDC.
Thanks in Advance.
Senthil KumarHi All,
Any luck on this??
Thanks -
hello all,
i am doing BDC for change routing (ca02) transaction.
in that my need is to assign PRT allocation for operations.
i have written a program for it but if suppose for a particlular operation i want to assign PRT and if there are no PRT assigned for that particular operation before that recording fails.and if already there is atleast one PRT assigned to that operation it runs fine. so i want to remove this error.for that may be i shd first record tha no of PRTS on screen and save that in particular counter and if suppose its greater than 0 then it will run the code and if not it will escape.
I know some of u will not understand the problem..in that case i have all screen shots and program ready for it ....plz send u r mail address to me and i will send u my problem with all details on u r mail id.waiting for quick reply.
Edited by: abhijeet shastri on Feb 5, 2008 9:01 AMhi,
Here you have to take 2 perform statements, one is for PRT and another one is for without PRT
After populating the input internal table, need check whether the particuler operation is having PRT values or not.
if PRT values are available then go for PRT screen (Perform statement for PRT values).
if not PRT values are available then go for not PRT screen.
If the PRT screen is depedable on process operation values.
then you have to make prevalidation . in prevalidation the appropriate operation containing any values for the same then call perform statement for the same. else skip that session through coding.
Ask to your functional consultant regarding tables (In which table you will PRT screen values based on process operation fields) for PRT pre validation.
I hope this message will clear your doubt
Regards,
Sreenivasa Babu -
Require Operation Increment fiels as optional in ca02(Routing change)
Dear Friends,
I have a business requiremnt for which i require *Operation Increment(plpod-vintv)* field as optional instead of mandatory .
This field come at the time of changing Routing in CA02 while assigning the reference operation set to material.
Due to this the operation number in the Routing deferred from the operation number in the reference operation set .
Please suggest me possible way to overcome this problem.Tran - SPO
Go to Production > Basic Data > Routing > Control Data > Field Selection.
Here you can make fields as optional.
Regards
RAJESH DANGLE
do reward if problem solved. -
Need help in BDC for Customer master change
I have an interface for Changing Customer master data and I am using BDC for that. I have three scenarios:
1. Insert new data.
2. Change the existing data.
3. Delete the existing data.
The BDC is working fine in the first two scenarios, but if i want to delete an the existing data, lets say for e.g. Name3 or Email Id its not working because i need to pass the value as blank in the BDC for this field.How would i check? i thought i would first get the existing value in customer master and check if the interface value is blank then make this field value to blank in BDC.
But this is not working because in case the interface wants to remove only the email id, the other fields would still be blank.
How to handle this scenario, please advice.What is the difference between 2 and 3? Isn't "deleting data" in your context the same as changing to a blank value?
Why can you not just fill the value as received in the input data into the BDC data?
Thomas -
BAPI for create/change Routing
Hi ,
Are there any BAPI's for creating/ changing routings.
Regards,
Divyanshuhi,
<b>BAPI_ROUTING_CREATE</b>"used for creation.
Regards
vijay -
Hi gurus , i am writing a bdc for ca01. here the screen sequence changes when we create routing first time and second or subsequent time. how know that which screen will be next when we are not passing the group, as if counter can be 1 or more than 1 since group is taken automatically.
<<text often considered offensive, removed>>
regards
Aditya.
Edited by: Matt on Mar 9, 2009 12:20 PM - "Urgently" read the Rules of Engagementhi gurus , still my question is not answerd ,
i am writing a bdc for this ca01 , in CA01 transaction when group name is not given the system automatically takes the group.. it can take existing group or create new group. now when new group the group counter is 1 the screen sequence is for eg . 1 , 2 , 3, 4, and when group counter is more than 1 for that group screen sequence is 1 , 2a, 2 , 3 ,4. since the group is internally taken by system we dont know what will be group no ....
pls help how to do this bdc . -
Mass change on Backflushing box in Routing change when several Alt. BOM
Hello Gurus,
Is there a standard program to tick the box Backflushing in Routing change ?
It tried to manage it with LSMW but unfortunately there is one major difficulty: more than one Alternative BOM.
When I click on CompAlloc, SAP displays a list of all Alternative BOM existing for the selection.
We can manage this list only with mouse click which LSMW doesn't manage properly.
Second problem is to tick in one shot all the box item.
Scenario I used:
Transaction CA02.
Enter Material / Plant / Group.
Diplay List of Operations.
Click on CompAlloc.
Click on one Alternative BOM -> Here is the problem 1
Display List of Material Component Overview.
Tick Backflushing for all items displayed -> Here is the problem 2
Many thanks.
StéphaneHello Veerabathiran Suresh,
My situation is slightly different. I have a ONE specific material that needs to be backflushed on the MANY materials it is being consumed by. Using CEWB I call all the BOM's that are using this material. Unfortunately CEWB only allows me to view only one material assignment and BOM it belongs to at a time for this specific material.
I am assuming the individual that started this thread needed MANY materials for ONE specific BOM backflushed. One material assignment needs to be viewed in this scenario.
Can it be done in mass, in my situation explained above (MANY BOM's using this ONE material and changing those backflush indicators)? -
BDC for Entering Invoice(MIRO) Problem
Dear All,
I am preparing a BDC for Entering Invoice (Tcode- MIRO ) & facing problem.
During recording in PO reference tab i am using Bill of Lading and inserting data through More Allocation Criteria tab and in column cell entering 8 Reference at one time for more i am scrolling it and entering 8 more and adopting it.
In recording after adopting it is showing all adopted documents but on saved recording it is adopting latest 8 reference.
I coding for "P++" for scrolling but it is not working.
Please help me out.
Is it possible to code for scrolling of PO reference Bill of Lading pop of window.?
Thanks & Regards,
VarunHello Suhas,
No, not at all. We see that so many times in the forum that we are mistaken.
There are 3 places where we find P++, P--, etc. :
- the function codes assigned to the scrolling buttons in the standard toolbar for ABAP lists.
- If I remember well, they are also assigned to the buttons inside the screen for the table control wizard.
- SCROLLING_IN_TABLE
But usually, we don't create buttons inside screens for scrolling.
Table control scrolling via page down and page up keys, is made of 2 things : changing CXTAB_CONTROL-TOP_LINE + trigger enter key.
I know 1 note which talks about that : [187946 - No positioning on PRT overview in routing|https://service.sap.com/sap/support/notes/187946]
Sandra -
BDC for Entering Invoice Problem
Dear All,
I am preparing a BDC for Entering Invoice (Tcode- MIRO) & facing problem.
During recording in PO reference tab i am using Bill of Lading and inserting data through More Allocation Criteria tab and in column cell entering 8 Reference at one time for more i am scrolling it and entering 8 more and adopting it.
In recording after adopting it is showing all adopted documents but on saved recording it is adopting latest 8 reference.
I coding for "P++" for scrolling but it is not working.
Please help me out.
Is it possible to code for scrolling of PO reference Bill of Lading pop of window.?
Thanks & Regards,
VarunHello Suhas,
No, not at all. We see that so many times in the forum that we are mistaken.
There are 3 places where we find P++, P--, etc. :
- the function codes assigned to the scrolling buttons in the standard toolbar for ABAP lists.
- If I remember well, they are also assigned to the buttons inside the screen for the table control wizard.
- SCROLLING_IN_TABLE
But usually, we don't create buttons inside screens for scrolling.
Table control scrolling via page down and page up keys, is made of 2 things : changing CXTAB_CONTROL-TOP_LINE + trigger enter key.
I know 1 note which talks about that : [187946 - No positioning on PRT overview in routing|https://service.sap.com/sap/support/notes/187946]
Sandra -
Hello gurus,
Are there any other Tcodes for routing creation other than CA01?
Thanks in advanceHi ,
Tcode Transaktionstext
CA00 Routing Menu
CA01 Create Routing
CA02 Change Routing
CA03 Display Routing
CA21 Create Rate Routing
CA22 Change Rate Routing
CA23 Display Rate Routing
CA31 Create Reference Rate Routing
CA32 Change Reference Rate Routing
CA33 Display Reference Rate Routing
CA60 Changes in Routings/Ref. Op. Sets
CA61 Change Documents for Routing
CA63 Change documents for rate routings
CA90 Use of Ref. Op. Set in Routings
CACP Transfer C tables to routing
CANM Number range maintenance: ROUTING_M
CANR Number range maintenance: ROUTING_R
CNN1 Number range maint.: ROUTING_0
CO81 Number assignment: routing to order
CSCPP Maint. routing param with materials
LDE1 Work Instruction for Routing
OKZ4 Routing Control Key
OP01 Customizing Routing/Work Center
OP49 Matchcode for Routings/Ref. Op. Sets
OP4B Overview variant: Routing
OP4D Overview variant: Rate routing
OP4E Overview variant: Ref. rate routing
OP4F Overview var.:Scheduling of routings
OP61 Number range maintenance: ROUTING_3
OP62 Number ranges for routings
OP87 Maintain Routing/Ref.Op.Set Usage
OPGE Ref. Oper. Set - Rate Routings (PP)
OPGG Work Center - Rate Routings (PP)
OPJ7 Maintain Routing Usage
OQ49 Routing matchcode
QSR6 Delete routings
RTGDI Direct input for routings
SBCA Routing Server Administration
SBRAC Catalog of Routing Attributes
SBRRE Routing Server Reorganization
SBRT2 Routing Test
VTR2 XSI: Master Data: Routing Info
Regards,
Shyamal -
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. -
"BDC for multiple line items of PO"
I am using this code to move data for multiple line items of a PO. But only one is getting transferred. I am using BDC for this.
FORM transaction_bdc .
DATA :
v_cnt(2) TYPE n,
v_bst(2) TYPE n,
v_bn TYPE i,
v_bstpo(25),
v_ebtyp(25),
v_menge(25),
v_eeind(25),
v_xblnr(25),
v_xblnr1(25),
v_ebelp(2) TYPE n,
v_ebelpt(2),
v_menge1(11),
v_ebt TYPE i,
v_vebtyp LIKE ekes-ebtyp,
v_eb(2) TYPE n,
v_tcselflag(40),
v_tem(2) TYPE n,
v_correct TYPE i,
v_file TYPE string.
DATA: ls_outtab TYPE tb_struc.
DATA: l_valid TYPE c,
l_locked TYPE c.
CALL METHOD g_grid->check_changed_data
IMPORTING
e_valid = l_valid.
IF l_valid EQ 'X'.
LOOP AT tb_output WHERE check EQ 'X' .
MOVE-CORRESPONDING tb_output TO itab_output.
APPEND itab_output.
CLEAR itab_output.
ENDLOOP.
IF tb_output-check <> 'X'.
MESSAGE e003 WITH text-004.
ENDIF.
ENDIF.
IF itab_output[] IS NOT INITIAL.
PERFORM open_group.
***looping at purchase order level.
LOOP AT itab_output where ebelp is not initial .
CLEAR v_bn.
CLEAR v_ebt.
PERFORM bdc_dynpro USING 'SAPMM06E' '0105'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RM06E-BSTNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RM06E-BSTNR'
itab_output-ebeln.
***Changing alphanumeric fields and quantity fields to character type**
*v_ebelp = tB_OUTPUT-ebelp.
*clear v_ebelpt.
*v_menge1 = tB_OUTPUT-menge.
*v_ebelpt = v_ebelp.
***End Of Changing**
*Checking for the exact number of the item**
LOOP AT tb_output where ebeln = itab_output-ebeln.
READ TABLE itab_output INDEX 1.
IF tb_output-ebelp = itab_output-ebelp.
exit.
ELSE.
v_bn = v_bn + 1.
ENDIF.
ENDLOOP.
v_bst = v_bn + 1.
*End Of Checking**
**Mapping items**
v_tem = 1.
CONCATENATE 'RM06E-BSTPO(' v_bst ')' INTO v_bstpo.
CONCATENATE 'RM06E-TCSELFLAG(' v_tem ')' INTO v_tcselflag.
PERFORM bdc_dynpro USING 'SAPMM06E' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
v_bstpo.
PERFORM bdc_field USING 'BDC_OKCODE'
'=DETA'.
PERFORM bdc_field USING 'RM06E-EBELP'
v_ebelpt.
PERFORM bdc_dynpro USING 'SAPMM06E' '0111'.
PERFORM bdc_field USING 'BDC_CURSOR'
'EKPO-BSTAE'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_dynpro USING 'SAPMM06E' '0120'.
PERFORM bdc_field USING 'BDC_CURSOR'
v_bstpo.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BSTA'.
PERFORM bdc_field USING 'RM06E-EBELP'
v_ebelpt.
PERFORM bdc_field USING v_tcselflag
'X'.
**Checking weather Confirmation category already exists**
SELECT ebtyp FROM ekes INTO v_vebtyp WHERE ebelp =
itab_output-ebelp AND ebeln = itab_output-ebeln.
ENDSELECT.
IF sy-dbcnt > 0.
v_ebt = sy-dbcnt.
ENDIF.
v_eb = v_ebt + 1.
**End Of Checking**
**For Line items**
CONCATENATE 'EKES-EBTYP(' v_eb ')' INTO v_ebtyp.
CONCATENATE 'EKES-MENGE(' v_eb ')' INTO v_menge.
CONCATENATE 'RM06E-EEIND(' v_eb ')' INTO v_eeind.
CONCATENATE 'EKES-XBLNR(' v_eb ')' INTO v_xblnr.
**End**
PERFORM bdc_dynpro USING 'SAPLEINB' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR'
v_xblnr.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BU'.
PERFORM bdc_field USING v_ebtyp
itab_output-ebtyp.
PERFORM bdc_field USING v_eeind
itab_output-eindt.
PERFORM bdc_field USING v_menge
v_menge1.
PERFORM bdc_field USING v_xblnr
itab_output-xblnr.
**End Of Mappings**
*loop at itab_output.
MOVE-CORRESPONDING itab_output TO ekes.
modify ekes.
MOVE-CORRESPONDING itab_output TO eket.
MODIFY eket.
MOVE-CORRESPONDING tb_output TO ekpo.
MODIFY ekpo.
ENDLOOP.
CALL TRANSACTION 'ME22N'
USING itbdc
MODE 'E'.
commit work.
perform bdc_transaction using 'ME22N'.
**End Of Purchase Order Loop**
PERFORM close_group.
endloop.
endif.Hi Asha,
check the below code once...
LOOP AT tb_output where ebeln = itab_output-ebeln.
READ TABLE itab_output INDEX 1.
IF tb_output-ebelp = itab_output-ebelp.
exit.
ELSE.
v_bn = v_bn + 1.
ENDIF.
ENDLOOP.
Here you are reading the table itab_output with index 1, it means you alway reading the first record of that internal table.
Regards,
Satya.
Maybe you are looking for
-
ITunes 9.0.2 Unable to place podcasts in a playlist in custom order
In previous versions of iTunes it was possible to arrange podcasts in a playlist in the order in which I wished to listen by dragging and dropping items into the desired order in list view. This disappeared in iTunes 9 but it was still possible using
-
I use a VerizonWireless broadband PC Card in my PowerBook for internet access when travelling. The card obviously is not compatible with my wife's new MacBook Pro. Is there an adapter that will allow a PC Card like this to interface with the MacBook,
-
Glyphs in icon editor : gone
Ok- so I just opened my icon editor in 2013 and noticed my glyphs have dissapeared entirely. I found these while searching: http://forums.ni.com/t5/LabVIEW/Icon-editor-no-glyphs/m-p/1302384/highlight/true#M536775 http://forums.ni.com/t5/LabVIEW/Glyph
-
Webdynpro application integration with Webservices
Hi, I developed few webdynpro RFC model application like ATP check; outstanding etc .Now i want to make available this application on webservices for mobile integration .What is the methodology we should follow to reach this requirement? Any hel
-
This is a weird situation: My Macbook's battery has ceased to charge of function at all as a battery. It's only a year old, light use. Tried zapping PRAM, no luck. That's weird enough. Checked my Macbook Pro - same problem!! Different types of batter