Unable to capture the Line items row in BDC kindly help
Hi All,
I am trying to run the Tcode CJ40 here after i enter the project id and press enter a tabular form appears and we need to select the appropriate line item in that table .
When i try to do teh recoding using SHDB tcode it is not capturing that line item at all :(.
I tried to do the recordig usig the page down and tehn selecting teh line item in the table but still it doesnt capture in teh recording ,
Kidnly suggest me what needs to be done.
Thanks in Advance.
Sana.
Why dont you try with BAPI BAPI_BUS2054_CHANGE_MULTI
Check the Documentation
Similar Messages
-
I have a requirement where in i have to display a pop up with all the line items given by user in ME21N . The pop up has to display when user presses CHECK .
I written the code in the exit EXIT_SAPMM06E_017 . its working fine for single line item.
In case of multiple line items the popup appears for every line item instead of showing all the line items in a single pop up since in the user exit there is no provision of capturing the LAST LINE ITEM . The field EKKO-LPONR which captures the last line item , is populated only after the exit is triggered which captures the value of EKPO-EBELP( line-item). I manage to capture the line items in internal table but unable to capture last line item and then display the internal table in pop up .
If the user gives two line items say 10 , 20 .
Line item 10 is populated to field EKPO-EBELP . After the control comes out of the exit the value of EBELP is assigned to LPONR . At next control LPONR = 10 and EBELP = 20.
Thanks .Hi Priya,
To show popup for the last line item, try with this logic:
You have an internal table with all line items, take an internal table with same structure. Take the number of lines and read the line iten into work area and append this work area into another table. after that read this second internal table with EBELN and EBELP, if it is matching then show the popup for all line items from first internal table.
Put this code:
<b>dsescribe int_first into ws_lines.
if ws_lines gt 0.
read table int_first into wa_first index ws_lines.
if sy-subrc eq 0.
append wa_first to int_second.
endif.
endif.
if not int_second is initial.
read int_second into wa_first with key EBELN = 'structure ebeln value'
EBELP = 'structure ebelp value'
if sy-subrc eq 0.
" put POPUP code
endif.
endif.</b>
Hope it will solve ur problem. -
Captuing the Line Item info from the ALV Grid
Hi Abapper,
Suppose I have an OO ALV Grid displayed on the Screen by using SET_TABLE_FOR_FIRST_DISPLAY.
Now, suppose the grid contains 5 fields of the database table.
I have to display the 6 th one of tht table by capturing the line item on which I click into the grid and select the 6th one and displayed.
But how to capture the line item of the grid, when i click any rows in the grid.
Please reply.
Regards,
RahulHi Rahul,
Two methods are available,
1) Define the double_click method, or
2) Implement the HotSpot and User_command method.
i_callback_user_command = slis_ev_user_command
form user_alv_command using r_ucomm like sy-ucomm
w_selfield type slis_selfield.
*Routine called when user invokes a command not handled by the ALV
case r_ucomm.
when '&IC1'. "Hot Spot Click
read table itab index w_selfield-tabindex.
when others.
endcase.
endform. " USER_ALV_COMMAND
Kind Regards
David Cooper -
Need a exit while deleting the line item in PO
Hi to all experts ,
My requirement is to find an exit or badi when the user deletes a line item and click on save the line item should be captured,. Is there any badi or exit which can do it .Hi,
Try these user exits.
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of req
M06E0004 Changes to communication structure for release purch.
M06E0005 Role determination for release of purchasing document
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., prev
MEFLD004 Determine earliest delivery date f. check w. GR (only
MELAB001 Gen. forecast delivery schedules: Transfer schedule i
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tol
MM06E001 User exits for EDI inbound and outbound purchasing do
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into
MM06E008 Monitoring of contr. target value in case of release
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound proc
MMAL0004 ALE purchasing info record distribution: Inbound proc
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001
Regards,
Vijay -
How to Close a Purchase Order line Item for GRN W/O Deleting the Line Item
Hi,
I want to Close a line item for Goods Receipt in a Purchase Order. How Do I do this?
My Requirement is that the system should not allow for Goods Receipt for the Line Item.
I know of 2 options which are difficult to Implement.
1) I delete the Line item
2) Put the delivery Completed Indicator - For this the system still allows for GR
any Other way of Closing the line Item
NSHi, you can close the Line item by, doing partial GRPO, i.e if u use the Copy From option in GRPO, there comes a Draw docuemnt wizard, there you can choose one line item, and then put GRPO for that line item,
The Wizard comes only in the Copy From option,
Close the Line item, by right clicking on that Line item and then 'close Row'
Edited by: Gayathri Panneerselvam on Dec 19, 2008 10:25 AM -
Balance of the line items is not zero in FBRA
Hi Team,
we are resetting customer cleared docuemnt using FBRA t ocode it giving erro message like "Balance of the line items is not zero". we tried all possibilities, but it is giving same error. we search in SCN.SAP and found one note 1914004. but we are unable to download it. we tried
FBU8 - Reverse this tcode also. but same error.Re: Problems reversing a Clearing document
udayakumar krishnaraj Nov 9, 2011 9:15 AM (in response to Reddy D)
Hi,
Use transaction code FBRA for Reversal of Clearing Document.
System will ask for2 option
1. RESET
2RESET and REVERSE
Select 2 option you clearing document will get reset I.E become open and then it will get revered automatically. -
VA02-- Rejecting the line item
when i reject the line item in VA02 item overview tab, after giving reason for rejection, it showas the message as "item can no longer be changed automatically". hence i am unable to see in the feild reject date in VBEP table, can someone help me solving this.
Edited by: devi anushka on Sep 22, 2010 10:21 AMHi Devi,
He already given a reply for that.
There may be some documents created for the line item you want to reject.
If there is any "Delivery" or "Invoice" created for a line item, it is not possible to reject.
Still if you want to do the same, Cancel the invoice (VF11), reverse the goods movement (VL09) and delete the delivery (VL02N).
Now you will be able to reject a line item.
Try and let me know the feedback.
Regards,
Mullairaje -
Customer aging report-needs the line items behind it
We have created a Z report for customer aging report,is it feasible to get the drilldown against each aging bucket.I.e to call the FBL5n report to be displayed to see the line items behind each aging bucket.
Regards
RekhaIf standard report does not suffice your requirement, then create your own.
FOR vendor USE K in transaction code instead of D.
Hello,
The following example I have given is for customers.
The only difference is in transaction codes. For customer you go to FDI1, for vendor you go to FKI1 (reports).
For Customer you go to FDI4, for vendor you go to FKI4 for forms.
Remaining all are the same.
Hello,
Go to transaction code FDI4
Select Form Type RFFRRD20 Line item analysis
Give your form name and description
Structure (Two axis) - as defaulted
Click on Create
You will have lead column
Delete the rows 2, 3 and 4
Double click on column 1
Enter the customer numbers from 1 to 999999
First column double click (A)
Slelect following values
Due date analysis 1
Days for net due date 0 to 30
Give the short name, medium name and long text for the column.
Repeat this step in next columns like 31 to 60, 61 to 90, 91 to 120 and 121 to 99999 days etc in other columns and select due date analysis 1. (B,C,D,E)
Create one more column by way of formula. To create a new column you need to double click on blue line. Put formula add all five columns you have created above. (F = ABCDE)
You prepare one more column with
Due date analysis 2 (G)
Now you prepare one more column add (F+G) = This will be total open items = over due and not due.
Now go to FDI1 and prepare a report - assign the form created in FDI4 to the report.
Characteristics you need to select are
Account Type (Select Account Type as D for customers)
Currency
Customer
Document Type
Special G/L Ind
Company Code
Change the output types and options according to your requirement.
Refer FDI2 and FDI3 for other standard reports created.
Refer FDI5 and FDI6 for other standard forms created.
Save your report and execute.
From there you can put the cursor on customer number and from the menu goto -> line items then it will go for each line item wise..
Regards,
Nauma -
Unable to capture the adf table column sort icons using open script tool
Hi All,
I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.Hi keerthi,
1. I have pasted the code for the first issue
web
.button(
122,
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
.click();
adf
.table(
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
.columnSort("Ascending", "Name" );
} -
Unable to capture the excise duties for intra stocktransfer
Dear All,
while doing goods receipt aganist outbound delivery in receiving plant for intracompany(Depo to Depo) unable to capture the excise duties.Please help on this.
Thanks & regards,
BhargavHi Prabhu,
Excise duties are are not picking automatically while doing j1ig
Thanks & Regards,
Vijaybhaskar -
Unable to capture the Citrix network response time using OATS Load testing.
Unable to capture the Citrix network response time using OATS Load testing. Here is the scenario " in our project users logs into Citrix network and select the Hyperion application and does the Transaction and the Clients wants us to simulate the same scenario for load testing. We have scripted starting from Citrix Login and then launching Hyperion application. But the time taken to launch the Hyperion Application from Citrix network has not been captured whereas Hyperion Transaction time have been recorded. Can any help to resolve this issue ASAP?
Hi keerthi,
1. I have pasted the code for the first issue
web
.button(
122,
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
.click();
adf
.table(
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
.columnSort("Ascending", "Name" );
} -
Unable to capture the value of vbrk-vbeln value from VF02
Hi All,
am printing form from VF02 ,,,once i execute the VF02 , and select Billing Document -> Issue Output to option .., my printi program gets triggered ,......,
but in my print program am unable to capture the value of VBRK-VBELN which i have entered in the VF02 tcode..
any other table the value of VBELN is stored???
pls help me out with the alternatives...
thanks
johnHi Dhiraj
One doubt how the value is populating in the NAST in the Print Program . While debugging i'm getting the Values from NAST but i want to know from where NAST is loading with these data.
Thanks
Bintu -
Camera - Torch 9800 - Unable to capture the image
Hey everyone!
Had a torch 9800 for 18 months now and always been working fine... until today.
I went to use the camera and it all seemed to open up fine but instead of seeing what the lens sees the screen was black. The centre focus [ ] was there and I could zoom back and forth just a black screen.
When I click for a photo I get a message " Unable to capture the image "
I have searched the web and found nothing conclusive. Battery pulls, a full wipe and installation of the o/s have made no difference to it's lack of function.
Does anyone out there have a suggestion?I am having the exact same issue. I also tried rebooting, taking out the battery and sim card and cleaning out the back, alas no difference.
-
How to submit the values in the ztable to the line items
Hi everybody
Please give me the code to my task
I am having a Z Table with one field and with some certain records and i am having an unique value .
This unique value should be submitted in all the line items which are having the
Z table records.
Please help me and thanks in advancePlease provide the details of your requirement. Its not very clear.
-
Problem in fetching the code for the line item
Hi,
I am working on a report in which to display the values corresponding to the line item of a PO.
For, ex, if there are 3 line items 10,140,150 and their condition values such zing,zgrd,zbrd are the condition types consist of different values depending on the line item i.e. 10,140,150.
My problem is when i execute the code the data of 1st line item is correctly fetched but the rest 2 line item data is pasted as it is. only the main pricre changes and the code for zing,zbrd,zgrd remains same as it is in the first line item 10.
plzz proivde me guide lines how to solve this problem.
Here's d code:-
DATA : vspl LIKE konv-kbetr.
DATA : vspl1 LIKE konv-kbetr.
DATA : vkwert LIKE konv-kwert.
DATA: VSPL2 LIKE KONV-kbetr. "ZING COST
DATA: VSPL3 LIKE KONV-kbetr. "ZGRD COST
DATA: VSPL4 LIKE KONV-kbetr. "ZBDL COST
LOOP AT item.
SELECT kbetr FROM konv INTO item-rate WHERE knumv = header-knumv AND kposn = item-ebelp
AND ( kschl = 'ZP00' OR kschl = 'P001' OR kschl = 'PBXX' OR kschl = 'P000' OR kschl = 'PB00' OR kschl = 'ZING' OR kschl = 'ZBRD' OR kschl = 'ZGRD').
MODIFY item.
ENDSELECT.
ENDLOOP.
LOOP AT item.
SELECT kwert FROM konv INTO vkwert WHERE knumv = header-knumv AND kposn = item-ebelp
AND ( kschl = 'ZP00' OR kschl = 'P001' OR kschl = 'PBXX' OR kschl = 'P000' OR kschl = 'PB00' OR kschl = 'ZING' OR kschl = 'ZBRD' OR kschl = 'ZGRD').
ENDSELECT.
ENDLOOP.
CLEAR : vspl , vspl1 , vspl2 , vspl3 , vspl4.
LOOP AT item.
SELECT kbetr FROM konv INTO vspl WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZCOM'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl1 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZBR1'.
ENDSELECT.
*******************Begin - new code added on 14.01.2009******************
SELECT kbetr FROM konv INTO vspl2 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZING'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl3 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZGRD'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl4 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZBRL'.
ENDSELECT.
*******************End - new code added on 14.01.2009******************
ENDLOOP.
LOOP AT item.
item-rate = item-rate + vspl + vspl1.
*******************Begin - new code added on 14.01.2009******************
item-rate1 = item-rate1 + vspl2.
item-rate2 = item-rate2 + vspl3.
item-rate3 = item-rate3 + vspl4.
********************End - new code added on 14.01.2009*******************
MODIFY item INDEX sy-tabix TRANSPORTING rate.
*******************Begin -11`` new code added on 14.01.2009******************
MODIFY item INDEX sy-tabix TRANSPORTING rate1.
MODIFY item INDEX sy-tabix TRANSPORTING rate2.
MODIFY item INDEX sy-tabix TRANSPORTING rate3.
*********************End - new code added on 14.01.2009******************
ENDLOOP.
PLZ PROIVDE ME GUIDLINES HOW TO SOLVE THIS PROBLEM .
Edited by: ricx .s on Jan 19, 2009 10:16 AM
Edited by: Vijay Babu Dudla on Jan 19, 2009 5:22 AMHello,
Why are you looping at the same internal table so many times, you could probably perform everything within one loop instead.
DATA : vspl LIKE konv-kbetr.
DATA : vspl1 LIKE konv-kbetr.
DATA : vkwert LIKE konv-kwert.
DATA: VSPL2 LIKE KONV-kbetr. "ZING COST
DATA: VSPL3 LIKE KONV-kbetr. "ZGRD COST
DATA: VSPL4 LIKE KONV-kbetr. "ZBDL COST
field-symbols <fs>.
LOOP AT item assigning <fs>.
SELECT kbetr FROM konv INTO <fs>-rate WHERE knumv = header-knumv AND kposn = item-ebelp
AND ( kschl = 'ZP00' OR kschl = 'P001' OR kschl = 'PBXX' OR kschl = 'P000' OR kschl = 'PB00' OR kschl = 'ZING' OR kschl = 'ZBRD' OR kschl = 'ZGRD').
MODIFY item.
ENDSELECT.
SELECT kwert FROM konv INTO vkwert WHERE knumv = header-knumv AND kposn = item-ebelp
AND ( kschl = 'ZP00' OR kschl = 'P001' OR kschl = 'PBXX' OR kschl = 'P000' OR kschl = 'PB00' OR kschl = 'ZING' OR kschl = 'ZBRD' OR kschl = 'ZGRD').
ENDSELECT.
ENDLOOP.
CLEAR : vspl , vspl1 , vspl2 , vspl3 , vspl4.
SELECT kbetr FROM konv INTO vspl WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZCOM'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl1 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZBR1'.
ENDSELECT.
*******************Begin - new code added on 14.01.2009******************
SELECT kbetr FROM konv INTO vspl2 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZING'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl3 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZGRD'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl4 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZBRL'.
ENDSELECT.
*******************End - new code added on 14.01.2009******************
<fs>-rate = <fs>-rate + vspl + vspl1.
*******************Begin - new code added on 14.01.2009******************
<fs>-rate1 = item-rate1 + vspl2.
<fs>-rate2 = item-rate2 + vspl3.
<fs>-rate3 = item-rate3 + vspl4.
ENDLOOP.
Also, use field-symbols and use loop at itab assigning addition so that you can directly change the contents of the table without using modify statment.
regards,
Advait
Maybe you are looking for
-
A solution: Install Oracle 8.1.7 on P4 running Windows 2000
The following information maybe a solution to a P4/W2K Oracle 8I installation problem. Thanks to James S. Barrett. Known Oracle 8i Installation issue on P4 http://developer.intel.com/design/processor/future/manuals/knowni ssue.htm A solution is to re
-
Hi all, since i am relatively new to this field, i created a simple application which takes in carrid and displays the sflight details...i too have binded the table but whenever i try to test the application it displays the following error_..."Ad
-
I read the tutorial on Java Security but I couldn't understand it. I think I have to know first what authentication, authorization, SSL (and other related matters) are and how they work. I already did a seach on google for this but there are many. Pl
-
RMAN-11001: alter database mount standby database
I'm doing a duplicate for a standby database and I'm getting this error Oracle 8i Tru64 RMAN-03002: failure during compilation of command RMAN-03013: command type: Duplicate Db RMAN-03015: error occurred in stored script Memory Script RMAN-03006: non
-
Just downloaded yosemite and my macbook pro 15" failed I can't turn it back on
I just downloaded the new Yosemite on my 15" Macbook Pro and it failed, will not turn back on. I got a loud beeping noise from it. It will not do anything. I am on the phone with Apple right now and they made an appointment for me to take my Macbook