Field value in function module BAPI_SALESORDER_GETSTATUS
Hi Ppl,
I am using FM BAPI_SALESORDER_GETSTATUS and for each line item a value of "B" is returned in DLV_STAT_H field, can somebody tell me where where to find the meaning of these values?
Thanks
Rob
Hi,
You can find documentation using transaction BAPI
A Not yet processed
<b>B</b> Partially processed
C Completely processed
<b>Reward points</b>
Regards
Similar Messages
-
Accessing all the fields of a function module in EWM
Hi All,
I have a requirement to prepare a report that pulls some fields of the Function module /SCWM/STOCK_INC_OUT_MON.
This Fuction module is in EWM.
I need result rows for multiple values(user inputs) of warehouse.
Cant we access individual fields from this FM without using the structure?
i need to pull the fields MATNR, NLPA PROC and GRDATE
for all the user entries in Wahrehouse code
Thanks, ArkaHi,
You can use the work area to capture the output of the function module and then use the data (fields) which ever you require.
The structure of the Work area (Data Types of the field) should be same as data types of output parameters of that Function Module.
Hope this helps.
Regards,
Shweta Soragavi -
Fields inclusion for Function Module Extractor
Hi Gurus,
I am planning to design a Function Module based extractor. This Function modules is supposed to extract data from approx 10 different tables. Most of the tables have 5 or more fields of it to be pulled in.
However, there are also few tables, which have got just a single field or just 2 fields.
As a design, is it a good idea to include the logic of extracting these fields in the Function module? or
Is it recommended to have these fields included via a user exit, once the datasource is developed?
I appreciate all the helpThanks Dash I have assigned the points.
I guess you are recommending the User Exit approach as mentioned in my original post where few of my tables have got just a single field or just 2 fields.
Let me know please.
Other SDNers,
Let me have your thoughts too -
Field Seperator in Function module TEXT_CONVERT_XLS_TO_SAP
Hi All,
Can anyone tell me the use of field seperator in
Function module
TEXT_CONVERT_XLS_TO_SAPHi
i_field_seperator parameter ........which explains the separator in the uploading data ....
if yes then place 'X'
else leave it as space..
Regards,
vamsi. -
How to add "CC" field in this function module SO_NEW_DOCUMENT_SEND_API1
Hi,
I have a receiver field in this function module SO_NEW_DOCUMENT_SEND_API1.
But i wanted to add a CC field also to this.. How do i do it???
Thanks & regards,
Aswinwhen you add the receiver entry in the receivers table, just make the parameter copy as 'X'. This will put the receiver in CC.
And if you want to put it in BCC use the parameter Blind copy.
Regards,
Lalit Mohan Gupta -
It is possible to get giving parameter field name in function module
i have one question like below .
at main report .
call funciton Fm1
exporting
var1 = W_A
var2 = W_B
at function module i want to get giving parameter field name, in here value was "W_A" and "W_B" .
plz give me some hints or any advise .Only a hint:
If you have a fm with an unspecified parameter like
FUNCTION ZTESTBABLFM.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(INPUT)
type-pools: sydes.
data: fieldinfo type SYDES_DESC.
describe field input into fieldinfo.
ENDFUNCTION.
you can get some information from DESCRIBE FIELD either using INTO as above or with other options as LENGTH, TYPE ... -
Passing values to function module
Hello Everybody!
I have defined a function group ZSUB_FGROUP1 and within that, I have defined a function module ZSUB_FMOD1. I wish to pass one set of values of following types:
VBELN, POSNR, MATNR, ARKTX, KWMENG, VRKME, NETWR from VBAP
and WAERK from VBAK.
from my main report ZSUB_REP1 to ZSUB_FMOD1, which will then print those values in the form of a list. When I processed the list from within the main report, I used regular methods like top-of-page and all. But, I am not sure how to handle things from within the function module. Please help!Hi...
When u create the function module , we generally provide the import and export parameters....
<b>Import parameters :</b> Which we pass to the function module ..
<b>Export parameters:</b> Which we receive from the function module...
<b>Tables parameters:</b> Tables to pass and to receive to and from the function module...
<b>Changing Parameters:</b> Which we pass to the function module and change these values in the function module and receive those from function module...
So define the fields
VBELN, POSNR, MATNR, ARKTX, KWMENG, VRKME, NETWR ,WAERK in the import parameters with LIKE declaration and corresponding type..
<b><u>Field || Type || Associated Type || Optional || Default ||</u></b>
vbeln || like || vbak-vbeln ||
<b>Optional : </b>If u check this then this field is not mandatory to receive the value..
If uncheck then we have to pass value to this field from the program !! otherwise it gives an error.
In the <b><u>source code</u></b> tab u can write the list output related code with these imported and exported parameters !!
To call the function module we use<b> PATTERN </b>which is present on the application tool bar of the SE38-Editor screen..
Click on this .. u will get a popup ..IN this check the <b>CALL FUNCTION</b> and in the input field of this,, give the function module name... and press enter ...Here u can give values for these imported fields...
reward if it helps u...
sai ramesh -
Reg : Setting a attribute value through function module
Hi guys,
I got a RFC to To read the attribute of a particular work item ( SWI_READ_CONTAINER_ATTRIBUTE ) simillarly Is there any function module to write the attribute?
Thanks,
MugundhanHi Mugundhan ,
if you want to pass Value to workflow container variable while starting the workflow
use function module SAP_WAPI_START_WORKFLOW and pass value to the Table parameter input_container
wa_container-element = 'TEMP_AGENT' .
wa_container-value = 'SAPUSER' .
APPEND wa_container TO lt_container .
if you want to update the workflow container .
using the function module SWW_WI_FIND_FATHER_WIS to get father workitem here only all the container variable available .
then pass father workitem to the function module SWW_WI_CONTAINER_READ, this function module will return the container values in table parameter wi_container
using the function module you can update the workflow container variable
CALL FUNCTION 'SWC_ELEMENT_SET'
EXPORTING
element = 'TMP_AGENT'
field = 'SAPUSER;
TABLES
container = lt_container
EXCEPTIONS
type_conflict = 1
OTHERS = 2.
thanks and Regards
Krishnan R -
Require following field from one function module
Hi,
This is a issue which I am working on.Can u help me in this issue The issue is as below.
It ia a Abaper related issue .They want the clarification from Functional side
We require your help in below mentioned Open order extractions. Basically we want to know.
Function modules for Open Sales/ Purchase order quantity and for open quantity
They also require the following field to be fetched in the table
Extraction for Open Purchase Order
Get all Purchase Order (EBELN) , Vendor (LIFNR) , Name (NAME1), Material (MATNR), Material Description (MAKTX), Material Group (MAKTL), Open Quantity (Order Qty (MENGE) - Received Qty(field)) > 0), Requested Date (BEDAT), Purchasing Group (EKGRP).
For Sales Organization Plant
PO No, Vendor, Vendor name, Material,Mat description, Mat group,Open qty,Requested date, Purchasing group
Thank youHi Sravanthi,
Maintain a table type in SE11 wich is of type your itab in the program to avoid type conflicts
you IMPORT EXPORT or SET PARA GET PARA
here you have to use the system table INDX(hk)
please go through the example provided in the KEY word documentaion
hope this will serve your purpose.
Regards
Ramchander Rao.K -
Ad-Hoc Query Field using HR_99S_INTERVAL_BETWEEN_DATES function module
I have created an additional field in Sq02 to calculate years between two dates and am using function module HR_99S_INTERVAL_BETWEEN_DATES.
There are no syntax erros but when I run a query in Sq01 and output the field it doesn't calculate instead gives "00000" output.
The field Code in the additional field
Clear ZHR_SERVICEYRS.
DATA: V_MONTHS TYPE i.
DATA: V_YEARS TYPE i.
DATA: V_MONTHS1 TYPE char20.
DATA: V_YEARS1 TYPE char20.
CALL FUNCTION 'HR_99S_INTERVAL_BETWEEN_DATES'
EXPORTING
BEGDA = P0002-GBDAT
ENDDA = Sy-Datum
TAB_MODE = ' '
IMPORTING
DAYS =
C_WEEKS =
C_MONTHS = V_MONTHS
C_YEARS = V_YEARS
WEEKS =
MONTHS =
YEARS =
D_MONTHS =
MONTH_TAB =
V_MONTHS1 = V_MONTHS.
V_YEARS1 = V_YEARS.
CONCATENATE V_YEARS1 '.' V_MONTHS1 INTO ZHR_SERVICEYRS.
condense ZHR_SERVICEYRS.
has anybody had similar problems! Help Appreciated!Hi Anuj,
Yes, you use Transaction Code SQ02. Find your infoset on the list - if you want to create a new infoset you can do so. If it is an existing infoset, select it and Change. On the next screen you will see all the infotypes in that infoset on the left. The fields available for Ad Hoc are on the right. Open the infotype table on the left and the field group on the right. If the field is not included in the field group all you have to do is drag and drop from the list on the left to the correct field group. If the infotype is not already in your infoset, select Edit --> Change Infotype Selection from the top menu bar. Place a check in the new infotype and then return and do the drag and drop if necessary. You will find the basic fields already moved to the field group.
You say you want information from IT0008-Basic Pay and IT1005-Planned Compensation. Problem is that if you use the standard HR logical data base, there is no link directly between a person and IT1005. IT1005 is assigned to a Position or a Job. If it is assigned to a Position, you can select the "Change Infotype Selection" action and ago to the bottom of the list to Related Objects. Here select Position and open that to find the IT1005. If the IT1005 is tied to the Job, there is no direct link. Thus, if it does not already exist, you will need to create an infoset based on the PCH logical database and object Position. Now you can link that Position to "Holder"-Person and "Described by"-Job. Again, select the infotypes and fields you want and you will be able to obtain your information via Ad Hoc Query based on that infoset.
Paul -
Financial Statement Version - Value Help Function Module
Hi,
I want a function module or a bapi which retrieves all the Financial Statement Versions defined in the system, just like bapi_companycode_getlist which list down all the company code.
Thanks,
James.Hi Drogo ( sorry u didn't make it to more sessions )
that Ledger above which Dinesh Kumar Rengarajan menitone is only relevant when New GL is activated. I think you didn't have New GL active or?
Please use simply in F.01 "Special evaluatioins" and field Alternative period selection ( for referenc use simply F1 ... it will show this example
Examples
Company code 0001 with fiscal year end 12
Company code 0002 with fiscal year end 09Calendar reporting period............. 01/01/1990 - 12/31/1990
The periods 1990/01 to 1990/16 are used as reporting periods for company code 0001 and the periods 1990/04 to 1990/16 and 1991/01 to 1991/03 are used as reporting periods for company code 0002. The same is valid for the comparison period.
I think this is what you want or?
Regards
Jan -
How to access screen field value in a module pool programming?
Hi Experts,
I have create a module pool program SAPMYDLG. It contains two screens 100 and 200.
The first screen contains Employee_ID field. This field is not a dictionary field.
In the second screen 200, I want to access the value of Employee_ID field from first screen.
For this I created a global variable v_empid in TOP include.
Then in the PAI of the screen 100 I have assigned the screen field value to global variable.
v_empid = Employee_ID.
But this gives an error saying " Field Employee_ID not defined".
What am I doing wrong? How can I access the screen field value?
Thanks
GopalHi,
Employee_ID field also must u define in the top include when u define that 100 screen and 200 screen will access.
regards,
muralii -
Extracting Text Field using a function module
Hi Experts,
We are trying to extract a test field from the R3 using a Function Module.
The Text from R3 Looks like this
Input Parameters
ID -1
SEQ 2
It displays
Column 1 Column2
This is test
strategy for Function
Module xxxx
So we put in some parameters to get this test field displayed. As you see the above is just one field but they are in different lines
So what happens when we put in the database is it adds a new field
Eg
ID SEQ Column 1 Column2
1 2 * This is test
1 2 * strategy for Function
1 2 * Module xxxx
The result that we need is
D SEQ Column 1 Column2
1 2 * This is test strategy for Function Module xxxx
How can we handle this in the Query Transform
Your help in advance is appreciated.
Thanks
Edited by: alangilbi on Nov 17, 2010 3:49 AMHave you considered using a pivot transform to get your rows into columns and then a query transform to concatenate the columns together?
-
Passing SELECT-OPTIONS value to Function Module
Hi,
I need to pass select-options value to a function module.
Code is like the following:
SELECT-OPTIONS seltab FOR object-type.
CALL FUNCTION 'Z_MY_FM'
EXPORTING
sel_tab = seltab
IMPORTING
result_tab = it_result
I have found a similar problem in the SDN forum: How to pass select-options parameter to FM?
However, that could not help me much in solving my problem.
So far I have tried to created a structure in DDIC with the following components for the select-options:
SIGN - BAPISIGN
OPTION - BAPIOPTION
LOW - ZBWOBJECTTYPE (my type)
HIGH - ZBWOBJECTTYPE (my type)
and subsequently a table type for this structure which is specified in the "Import" tab of my function module.
Unfortunately, when I ran the program a runtime exception occured (CALL_FUNCTION_CONFLICT_TYPE).
Could anyone please help me on this issue?
Thanks in advance.
Regards,
Joon MengHello Joon,
CALL FUNCTION 'Z_MY_FM'
EXPORTING
sel_tab = seltab
IMPORTING
result_tab = it_result
You have defined SELTAB as a SELECT-OPTION.
So when you pass only SELTAB, the header line is transferred to the FM. When you pass SELTAB[] the whole table(range) is passed.
It is similar to the concept of an internal table with header line.
Hope i am clear.
Anyways how have you defined result_tab and sel_tab ?
BR,
Suhas -
How to make input parameter with multiple values in function module?
Dear Experts,
I want to add BUKRS as import field to a FM, what is the best way of of making it accept multiple enteries.
Regards,
KiranhI kiran,
The simple way is to create a data element & domain with value range where u provide set of fixed values or provide a check table to it.
Use that data element in a table <ztable>.
Code:
Parameters:
p_burks like <ztable>-dataelement.
Call Function <function_name>
exporting
p_burks = p_burks,
Maybe you are looking for
-
hi, i am new to ALV programming,i awant to generate the report with three teable mseg,mkpf,mard. i need selection screen also. in the selection screen following is the field names. Matdoc number-mseg-mblnr mat number - mseg-matnr plant - mseg-werks s
-
How to recover contacts from nokia 3230 memory?
I have Nokia 3230 mobile, it is now having problem in getting powered on. I contacted the nearby Nokia care center, they told they can reset the phone, but all sms and contacts will be erased. But I need to recover all my contacts from the phone. I b
-
Why can't I install FCP X?
Hi, I downloaded FCP X trial version earlier this evening. After installing I try to launch the application but it gives me the same error message: Final Cut Pro Trial cannot be opened because of a problem the FCP version is 10.0.8 I am running a mac
-
HOW TO VIEW IMPORTED REQUESTS (WITH IN THE SYSTEM) BY USER NAME
Hi experts, I would like view the owner of the task which have been imported from 100 to 200 using t-code SCC1 in SCC3 the view is ristricted to DATE, TIME & REQUEST.NO and NO.OF REQUESTS as the actual imported requests are more than the requested d
-
Refreshing mview is hanging after a database level gather stats
hi guys, can you please help me identify the root cause of this issue. the scenario is this: 1. we have a scheduled unix job that will refresh an mview everyday, from tuesday to saturdays. 2. database maintenance being done during weekends (sundays),