How to Get details of list of SC from list of PO & vice versa ?
Hello All,
Can Please anyone tell me how to get the list of Shopping Carts from the list of PO. I have list of Purchase orders numbers. Can you please suggest any standard table or combination of standard tables from which I can get this report ?
We have Stand alone system and do not have access to back end system.
Thank you in advance.
Digant
you can use below code
TYPES: BEGIN OF ty_po_guid_sc_guid,
po_guid TYPE swo_typeid,
sc_guid TYPE swo_typeid,
END OF ty_po_guid_sc_guid.
TYPES: BEGIN OF ty_sc_guid_sc_num,
sc_guid TYPE guid,
sc_num TYPE crmt_object_id_db,
END OF ty_sc_guid_sc_num.
DATA: lt_po_guid_sc_guid TYPE STANDARD TABLE OF ty_po_guid_sc_guid,
ls_po_guid_sc_guid TYPE ty_po_guid_sc_guid,
lt_sc_guid_sc_num TYPE STANDARD TABLE OF ty_sc_guid_sc_num,
ls_sc_guid_sc_num TYPE ty_sc_guid_sc_num.
*Get the SC guid related to PO guid
SELECT a~objkey AS po_guid c~objkey AS sc_guid INTO TABLE lt_po_guid_sc_guid
FROM srrelroles AS a
JOIN bbp_pdbinrel AS b ON a~roleid EQ b~role_b
JOIN srrelroles AS c ON b~role_a EQ c~roleid
FOR ALL ENTRIES IN lt_po_guid_sc_guid
WHERE a~objkey EQ lt_po_guid_sc_guid-po_guid.
LOOP AT lt_po_guid_sc_guid INTO ls_po_guid_sc_guid.
MOVE ls_po_guid_sc_guid-sc_guid TO ls_sc_guid_sc_num-sc_guid.
APPEND ls_sc_guid_sc_num TO lt_sc_guid_sc_num.
ENDLOOP.
IF lt_sc_guid_sc_num[] IS NOT INITIAL.
* Get the shopping cart number
SELECT a~guid AS sc_guid b~object_id AS sc_num INTO TABLE lt_sc_guid_sc_num
FROM crmd_orderadm_i AS a
JOIN crmd_orderadm_h AS b ON a~header EQ b~guid
FOR ALL ENTRIES IN lt_sc_guid_sc_num
WHERE a~guid = lt_sc_guid_sc_num-sc_guid
AND b~object_type = 'BUS2121'.
ENDIF.
<removed>
Please do not ask for points. Message was edited by: Zoltan Keller
Similar Messages
-
How do I get my iPad to show iMessages from my iPhone, and vice versa?
My iPad used to show the same iMessages as on my iPhone, and vice versa...and now it doesn't. I don't know whether it was an iOS upgrade that fouled it up or what, but I'd like to restore the convenience of seeing and responding to iMessages on either device. They both send and receive iMessages, but one begun on one device does not appear on the other.
FredUsing FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
Cheers, Tom -
Does anybody know how to get a scroll bar for a long list of podcasts when selcting some for sync? Thanks
Hi lbadek
I can help with this please send us an email using the contact the mods link in my proifle and we will investigated from there.
Thanks
Stuart
BTCare Community Mod
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-) -
How to get an ArrayList Object in servlet from JSP?
How to get an ArrayList Object in servlet from JSP?
hi all
please give the solution for this without using session and application...
In test1.jsp file
i am setting values for my setter methods using <jsp:usebean> <jsp:setproperty> tags as shown below.
After that i am adding the usebean object to array list, then using request.setAttribute("arraylist object")
---------Code----------
<jsp:useBean id="payment" class="com.common.PaymentHandler" scope="request" />
<jsp:setProperty name="payment" property="strCreditCardNo" param="creditCardNumber" />
<%-- <jsp:setProperty name="payment" property="iCsc" param="securityCode" /> --%>
<jsp:setProperty name="payment" property="strDate" param="expirationDate" />
<jsp:setProperty name="payment" property="strCardType" param="creditCardType" />
<%--<jsp:setProperty name="payment" property="cDeactivate" param="deactivateBox" />
<jsp:setProperty name="payment" property="fAmount" param="depositAmt" />
<jsp:setProperty name="payment" property="fAmount" param="totalAmtDue" /> --%>
<jsp:useBean id="lis" class="java.util.ArrayList" scope="request">
<%
lis.add(payment);
%>
</jsp:useBean>
<%
request.setAttribute("lis1",lis);
%>
-----------Code in JSP-----------------
In testServlet.java
i tried to get the arraylist object in servlet using request.getAttribute
But I unable to get that arrayObject in servlet.....
So if any one help me out in this, it will be very helpfull to me..
Thanks in Advance
EdwardHi,
Im also facing the similar problen
pls anybody help..
thax in advance....
Litty -
How to get the values of Select-options from the screen.
The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.
Hi,
Refer this following code..this will solve your problem...
"Following code reads value entered in s_po select options and willprovide search
"help for s_item depending upon s_po value.
REPORT TEST.
TABLES : ekpo.
DATA: BEGIN OF itab OCCURS 0,
ebelp LIKE ekpo-ebelp,
END OF itab.
SELECT-OPTIONS s_po FOR ekpo-ebeln.
SELECT-OPTIONS s_item FOR ekpo-ebelp.
INITIALIZATION.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
DATA:
dyn_field TYPE dynpread,
temp_fields TYPE TABLE OF dynpread,
zlv_dynpro TYPE syst-repid.
zlv_dynpro = syst-repid.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = zlv_dynpro
dynumb = syst-dynnr
request = 'A'
TABLES
dynpfields = temp_fields
EXCEPTIONS
OTHERS = 0.
LOOP AT temp_fields INTO dyn_field.
IF dyn_field-fieldname EQ 'S_PO-LOW'.
SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
WHERE ebeln EQ dyn_field-fieldvalue.
EXIT.
ENDIF.
ENDLOOP. -
I update my IPhone4 to IOS6 from IOS4.3.3. My all songs are missing in the Iphone4. How to get those songs into my Iphone from ITunes. Even after sync also not coming to IPhone.
The iphone is not storage/backup device.
The sync is one way - computer to iphone.
The only exception is itunes purchases. File>Devices>Transfer Purchases
You should copy everything from your old computer, or your backup copy of your old computer, to your new one. -
How to get the current logged in username from windows and put it into an AS var
Hello,
I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
Thanks in advance
MichaelJust for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
In the html page that publishes with the .swf file under the <head> section:-
<script language="JavaScript" type="text/javascript">
function findUserName() {
var wshell=new ActiveXObject ("wscript.shell");
var username=wshell.ExpandEnvironmentStrings("%username%");
return username;
</script>
The ActionScript:-
import flash.external.ExternalInterface;
var username:String = ExternalInterface.call ("findUserName");
trace (username); // a quick test to see it in output -
i want to change my region and i don't know how to get rid of the remaing amout from my gift card ($0.48)
Request that iTunes Support zreo balance your account.
iTunes Support -
http://www.apple.com/support/itunes/ -
How to get POF object's field value from query result
hi,all:
I want to get field value from the query result, my code is below
Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
for (Iterator iter = setResults.iterator(); iter.hasNext(); )
Contact c=(Contact)iter.next();
System.out.println ("firstame####=" + c.getFirstName());
* but I get error*
Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
at com.oracle.handson.QueryExample.query(QueryExample.java:86)
at com.oracle.handson.QueryExample.main(QueryExample.java:43)
who can tell me how to get POF object's field value from query resultHi,
If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
for (Iterator iter = setResults.iterator(); iter.hasNext(); )
Map.Entry entry = iter.next();
Contact c=(Contact)entry.getValue();
System.out.println ("firstame####=" + c.getFirstName());
}JK -
How to get data with the raw pattern from resultset ?
would you tell me how to get data with the raw pattern from resultset ?
thank you in advance!
longgger2000I tried getBytes() and getObject()
, but I can not get the right result , for example the
data in oracle database is 01000000DFFF, when In used
the method of getBytes() and getObject(), I get the
result of [B@1c2e8a4, very different , please tell me
why !
thank you
longgger2000
[B is byte arrayseem that it return an bytes array for you. -
How to get standard program ,script,smartforms all from sap
hi friends
how to get standard program ,script,smartforms all from sap.
thanks®ards
BabasishHi,
reports:
goto se38
all programs not starting with y or z will be sap std programs only
same for se71 scripts
samse for smartforms
but the use of those will be known when you see the documentation
for each programme
for std programs there will be documentation available so that you can understand
why they have developed that object
thanks & regards,
Venkatesh -
How to call a Applet from a servlet and vice versa...?
Hi all
Can anyone help me how to call a applet from a servlet and vice versa. When the applet is called it should contact the database (oracle8i) and get the data. When i submit the applet form the data in the applet should be saved in the database.
Thanks in advance
KamalakannanSweep is correct about requestDispatcher being another approach for inter-servlet delegation; the only issue that i recall with this approach is that it defaults the method of the destination servlet to the one it was called from...for example, calling servlet2 from within servlet1.post() resulted in the dispatcher attempting to utilize servlet2.post() - i believe that i searched for a parameterize solution to no avail :( (ended up handling the request by placing a "fake" doPost() in servlet2 that simply called servlet2.doGet())
however, if your application is functioning correctly on your pc/webserver then the problem may be external to servlet communication (e.g. client webserver's ports not configured or blocked, missing runtime classes, etc.)
my suggestion would be to set aside the programmatic concerns for the moment - what is the response if you open a browser on a client's machine and access the URL in question (i.e. http://clientserver:port/stefanoServlet)? If it will not respond to access in this manner then it certainly won't when your application calls for it.
It's possible that there is a coding error but, given the info supplied, i'd start examining the environment, first. Let us know if you have any luck with the test i recommended or not (please provide abundant detail). Or, if you've found the solution then you may want to post back with a quick blub so the next person knows how to escape the trap.
D -
SAP_WAPI_GET_OBJECTS: How to get detailed values
Hi experts,
I am using BAPI SAP_WAPI_GET_OBJECTS to get container information within my Java Web Dynpro Application. This RFC (BAPI) contains some information about the used Business Object with the given Import-Parameter and some other general values (in TABLE Output Objects and Objects2) but I also need the dependent values from this Business Object. For example, I use BUS1001with a material number as input in order to get detailed information like material group and other values in that container.
How can I retrieve that in BAPIs (RFC) in order to use it in Web Dynpro? Are there some other existing BAPIs, I can use to get these information?
Best regards,
FrankHi,
If you need just few attributes from the business object(s), it might be easier to just bind them from the business object to the task container. Then you can read the container with SAP_WAPI_READ_CONTAINER.
If you want to really instantiate the business objects, you need to develop your own RFC enabled function. And even then it might be finally easier (inside your custom function) to get your needed business data by using some other BAPIs or even direct SELECTs from database with your key fields.
REgards,
KArri -
How to get detailed specifications by machine type model ?
Hi,
I am looking for a refurbished Thinkpad Lenovo (model X220/X230, T420(s)/T430(s)).
I would like to know where I can find the detailed specifications by using the machine type model ?
For the moment, I was using the PSREF, but I discovered that not all machine type were detailed.
For example, the machine 2324-C44.
I found this : http://support.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x23... but the specifications seems to be incomplete : baclit keyboard ? IPS premium screen ? finger print reader ? webcam ? WWAN ?
Thanks,
Moderator note: fixed broken link.
Lenovo X220 4287-CTO / Intel Core i7 2640M @ 2.8 / Corsair Vengeance 16 Go@1866 MHz CL10 / Samsung SSD 840 PRO 512 Go / Bios 1.38 / Linux Xubuntu 14.04LTS / eGPU ATI Radeon 5870 Eyefinity 6 / 2x DELL U2142M / 2x DELL U2212HMUpdate stauts, I found some solution to get ActiveXData and analytic parameters.result.
PropertyObject ProObj = MyContext.AsPropertyObject();
PropertyObject ProObjResult = ProObj.GetPropertyObject("Parameters.Result",0);
The next question is how to get result by engine OnUIMessageEvent? Current is use timer loop.
Any ideas? -
How to get rid of websites on the reading list?
I need help getting rid of websites on my reading list. Please help
click on the spectacles, then hover over the links in the list. As you do that a little "x" appears in the top right.
Click on that and it goes away. Now if you can show me how to get rid of the reading list option and stop if from collecting links I accidentally put there, that would be something. lol
Maybe you are looking for
-
Please help...my screen is wacko and no one can help me
I have a toshiba satellite laptop...I bought it second hand in feb, and it was new in the fall of 08... I had no issues untill very recently it began having weird lines on the screen and freezing if I bump the screen, or move funny if its on my lap e
-
Is there any way to add a password to the guest account?
We use a computer reservation system for public computers in my library. I would love to have the functionality of the guest account so the account is wiped after every log out. The problem with our reservation system is, it requires an account wit
-
How to find the last element of a byte array
Dear all, I have a byte array with a max lenght of 1024*50 bytes. In that array I store the bytes read from a file. How can I find where the array ends (i.e. which is the last valid element of the byte array)? Thank you for your help. Best Regards, J
-
How to include a favorit list into a role?
We need to assign a role to some users so that the users can have a favorit list that is included in the role. It's easy to include iViews into a role. But I have tried very hard to include a favorit list into a role without success. Points guarantee
-
No PXA storage space available at the moment.
Dear All, When I am doing delivery or Reverse the delivery (T.Codes VL09, VL01N), in Client 800, it is going to ABAP dump. Please see below. Please help me in this. Runtime Errors PXA_NO_FREE_SPACE Date and Time