sap

Extracting Purchase Order texts in SAP

倾然丶 夕夏残阳落幕 提交于 2019-12-24 07:47:07
问题 Is there any way to view the details in Item Text tab in Purchase Order ME23N in a report form or table form? I have tried to search in many places but I couldn't find the table. Table EKKO/EKPO doesn't seem to help in this. 回答1: There are tables STXH (for header) and STXL (for lines) but they are not readable out-of-the-box. Usually reading texts is made by READ_TEXT FM: CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = 'F01' language = 'E' name = %PO_number% + %PO_pos% object =

Function modules to update table bsid (field: cession_kz)

女生的网名这么多〃 提交于 2019-12-24 07:46:42
问题 For a certain program I need to update table bsid. The field cession_kz needs to be updated. I've looked for many function modules but none of them fit my needs. Does someone know a best practice to solve this problem? 回答1: BSID is a secondary index for BSEG customer items, so updating it directly will lead to database inconsistencies and any update must go via BSEG. You can use a function module like FI_ITEMS_MASS_CHANGE . This FM updates BSEG by running a BDC for transaction FB02 (Change

How to recover a error message from oData response [SAPUI5]

自古美人都是妖i 提交于 2019-12-24 07:42:16
问题 I had this issue and i searched a lot how to fix it, but i can't find any solution at the moment... well, the issue is the next error message, i can write the error but i need a specific entry of this batch. Error, Messagebox and Batch response. the code showed on the message box: { "message": "HTTP request failed", "headers": { "Content-Type": "application/xml;charset=utf-8", "Content-Length": "1333", "DataServiceVersion": "1.0" }, "statusCode": "400", "statusText": "Bad Request",

How to Consume SAP Web Service in C#

元气小坏坏 提交于 2019-12-24 05:51:38
问题 I want to consume SAP web service into my c# application. For that i wrote one block of code given below. NetworkCredential ntobj = new NetworkCredential(); ZWEBSERVICE_INTERNAL_ORDER2 zClassobj = new ZWEBSERVICE_INTERNAL_ORDER2(); ZbapiFiCreateInternalOrder zMethodObj = new ZbapiFiCreateInternalOrder(); ZbapiFiCreateInternalOrderResponse zMethodResobj = new ZbapiFiCreateInternalOrderResponse(); ntobj.UserName = "alpldev"; ntobj.Password = "alpl123"; zClassobj.PreAuthenticate = true;

Add delivery info to query in SAP Crystal Reports

余生长醉 提交于 2019-12-24 00:46:12
问题 Below is a query linking Purchase Orders to Sales Orders. My understanding is that in order to include delivery doc # to this report, I need to add one more table - ODLN (so there would be an additional field titled "Delivery Doc#" aka [ODLN.DocNum]). My problem is I'm not sure how to join ODLN in the below query without messing anything up. ODLN.DocNum pretty much verifies that the PO did get placed at the time of the SO submission. SELECT DISTINCT o.CardName AS 'Customer Name' ,(isnull(c1

Difficulties with installation script for hybris 5.6.02

有些话、适合烂在心里 提交于 2019-12-24 00:21:53
问题 The installation script reports a Build failure... mlittle-mbook1:~ mlittle$ pwd /Users/mlittle mlittle-mbook1:~ mlittle$ cd hybris/bin/platform mlittle-mbook1:platform mlittle$ ls -a . .project build.number global.properties project.properties setantenv.sh tomcat .. .settings build.xml hybrisserver.bat resources tcServer .classpath adminserver.bat env.properties hybrisserver.sh roles.bat tenant_foo.properties .externalToolBuilders adminserver.sh ext lib roles.sh tenant_junit.properties

How to show month name in crystal report chart?

£可爱£侵袭症+ 提交于 2019-12-23 20:50:24
问题 I am using Crystal Report 2008, in Line Chart I want to show month name like Jan Feb March on x-Axes in report. How do I show months on x-Axes? 回答1: The best way to do this is create a separate formula field with the following formula cstr(monthname(month({YourDateFieldHere}))) Use this in your chart. This simply pulls the month from the date here. If you require to change this any, I'm sure you can change the format by right clicking, or alternatively if it shows up 01, 02, 03 ect.. you

After message type e, program doesn't return to selection-screen ABAP

江枫思渺然 提交于 2019-12-23 12:27:59
问题 I'm trying to use a message type E in my report. The thing is that when the message is triggered, the program doesn't return to the selection-screen. Can anyone help me? Here's the code I use to achieve this: IF rb_tri IS NOT INITIAL AND p_trim-low IS INITIAL. MESSAGE e038. ENDIF. Thanks :) 回答1: When I combine your question with your answer I offer another solution: Don't make your test after starting the process ( START-OF-SELECTION ) but on the selection screen: PARAMETER: p_test. AT

Why does nested LOOP AT SCREEN cause infinite loop/recursion?

情到浓时终转凉″ 提交于 2019-12-23 09:56:40
问题 Here is one for you. Although such a language construction does not make much sense I would like to know why the nested LOOP AT SCREEN cause infinite loop (recursion?). Let us take the following simple program. REPORT yyy. PARAMETERS: p_x1 TYPE abap_bool. AT SELECTION-SCREEN OUTPUT. LOOP AT SCREEN. BREAK-POINT. ENDLOOP. The BREAK-POINT statement will be executed only 4 times. This leads to an assumption that such a nested loop would run 16 times. Instead the below mentioned program runs

List allowed methods while connecting via RFC?

好久不见. 提交于 2019-12-23 08:38:24
问题 I can connect as user "foo" with password "bar" via SAP-RFC from my machine to the SAP server. Is introspection possible via SAP-RFC?nI would like to know which methods user "foo" is allowed to execute. I am using PyRFC, but AFAIK this should not matter for this question. According to user Suncatcher it is not available out of the box. My SAP knowledge is limited up to now. But wouldn't it be possible to loop like this pseudo code? (This code should run (as ABAP) inside in SAP and could be