How to use function to Post with Clearing - Partial Pymnt with FB05
hi,Dears,
I am write a function to post with clearing - partial pymnt or Res. Items with FB05, but there is no any BAPI to do that, and I find the function POSTING_INTERFACE_CLEARING.
but it seems that the function is only for Post with Clearing-Standard Screen, how to use that function to post with clearing - partial pymnt or Res. Items???
Many thanks.
Hi Guys,
If you post partiall payment you don't clear the invoice. Just post a normal item and fill the connection with the invoice, filling fields rebzg, rebzj, rebzz.
PERFORM fill_ftpost using:
'P' '3' 'BSEG-BSCHL' '15', "
'P' '3' 'BSEG-HKONT' customer_id ,
'P' '3' 'BSEG-WRBTR' tmpt,
'P' '3' 'BSEG-GSBER' it_pozkli-gsber,
'P' '3' 'BSEG-SGTXT' 'Patial payment',
'P' '3' 'BSEG-REBZG' it_pozkli-belnr,
'P' '3' 'BSEG-REBZJ' it_pozkli-gjahr,
'P' '3' 'BSEG-REBZZ' it_pozkli-buzei.
Similar Messages
-
How to Use Function Module READ_TEXT
Hi
Anyone give me code or link or example for how to use function module READ_TEXT
and what are the parameters which we have to pass in module.
Regards.
MohsinHi,
refer the given below code.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'KOPF'uF0E0 these details we will get thru transaction , where we enter these details.
language = 'EN'uF0E0 these details we will get thru transaction , where we enter these details.
name = TNAME "table name
object = 'AUFK' " these details we will get thru transaction , where we enter these details.
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
IMPORTING
HEADER = HTEXT
tables
lines = LTEXT
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks
Arun -
How to use function:MLApp_DIMLAppPutWorkspaceData?
how to use function:MLApp_DIMLAppPutWorkspaceData?
MLApp_DIMLAppPutWorkspaceData is a function of MATLAB ACTIVE
在LABWINDOWS/CVI调用MATLAB的控件生成的函数有下面一个
MLApp_DIMLAppGetWorkspaceData (CAObjHandle objectHandle,ERRORINFO *errorInfo,const char *name,const char *workspace,VARIANT data);
在使用过程中应该如何用?
定义了一个VARIANT *DATA=NULL,无法获得数据,应该如何处理?Hi,
refer the given below code.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'KOPF'uF0E0 these details we will get thru transaction , where we enter these details.
language = 'EN'uF0E0 these details we will get thru transaction , where we enter these details.
name = TNAME "table name
object = 'AUFK' " these details we will get thru transaction , where we enter these details.
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
IMPORTING
HEADER = HTEXT
tables
lines = LTEXT
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks
Arun -
How to use functions in Message Mapping
Hi All,
I am new to SAP XI. I don't know how to use functions in message mapping. Can any body tell me how to use IF condition in message mapping.
Please provide me a good link where I can get the details how to use those functions.
Thanks,
Srinivas.HI Srinivas
Please take a look at these links,
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
This will help you
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/190eb190-0201-0010-0ab3-e69f70b6c257
http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7
This will give you a detailed Idea about Context
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95f835c111d1829f0000e829fbfe/frameset.htm
This will give more explanation on Queue
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/51a39490-0201-0010-5b9f-ae21e8b78195
For understanding node functions this blog will help you
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Not sure you can find a collection of all...
Cheers..
Vasu
<i>** REward Points if found useful **</i> -
How to use functional module " DETERMINE_DUE_DATE"
Hi All,
Can anyone suggest how to use functional module " DETERMINE_DUE_DATE" as it is used in an FI transaction code "FBL5N" and i have to use it in my zprogram to capture the net due date..please suggest..
Regards,
Shanuhi,
CALL FUNCTION 'DETERMINE_DUE_DATE'
EXPORTING
I_FAEDE = LS_FAEDE
IMPORTING
E_FAEDE = LS_FAEDE
EXCEPTIONS
OTHERS = 1 -
How to use functional global with a large amount of variables?
Hi all,
I'm currently developping a LV program which control and acquired data from a device. Up to now I used global variables ( very conveniente to use for experimental parameters). But now my program is become to be too large and I have too much "global" variables to continue to use a global.vi.
I'm wondering if functional global can help me. If someone has an exemple of how use functional global with a large amount of variables...
thanksI agree with Ben.
Using queues is better than a number of Globals or Action Engines (Functional Globals). If you need to pass data to a sub-vi, you can simply wire the queue out to a queue control of a sub-vi, or a reference. See attached example of passing data to a sub-vi using a queue. The example is an extremely simple, undocumented tid-bit of code that sends the loop count to the consumer VI.
Run the main program called QueueProducer.vi.
R
Attachments:
QueueProducer.vi 18 KB
QueueConsumer.vi 14 KB -
Hi I am new to oracle xml.
In the below scenario how can use the functions like (to_char,To_date,trim..etc) In oracle xmltable."username","password" are inputs to my procedure.
SELECT *
INTO l_username,
l_password
FROM xmltable('/InputParameters/ParamSet'
passing l_xmldoc
COLUMNS
l_username VARCHAR2(28) path 'username',
l_password VARCHAR2(28) path 'password'
and please Help how to write above with xmlquery.
Thanks,In the same place you would for any regular SELECT statement
SELECT TO_CHAR(...),
TO_NUMBER(...)
FROM random_table
WHERE TO_CHAR(...) = col1
AND TO_NUMBER(...) = col2
username and password are the results of the SQL statement. I'm guessing l_xmldoc is the input? There is not need to write something so simple as XQuery so what is your larger goal? If you provide a clearer example and question, we can help you better. -
HOW TO USE FUNCTION Deletion of Requests from the Change Log IN PRCSES CHAN
Respected all
i used Deletion of Requests from PSA from the prcess chain and found good results, now i have only one request at the psa and thus i am doing good space utililisation. but when i am using Deletion of Requests from the Change Log i am not getting any changes in the request of dso. kindly let me know how to use this 2nd function.
thanks
abhayHi Mahodaya,
As per SAp standards its good to delete the requestes that are no longer needed for the delta update and no longer used ffor inti from the change log table and the data is loaded already in to DSO.
Goto RSPC
Click on create New PC -> enter the PC name n long descp
Next we need to define the start process for the PC.Maintain the start variant process.save n come back.
for deletion of change log we have option in the Other BW Processes -> deletion of requestes from change log
Once u select the option we get a dialoge box here we need to create the variant for the process enter the process variant n long descp. cick ok.
Next in the maintenance screen for the deleting the request from change log table will appear.
Enter the selection patterns to which the requestes should be deleted from the change log.
In the maintenance screen, select one or more Data Store objects for which requests are to be deleted from the relevant change log tables under Data Store Object column and select theInfo Area of the corresponding Data Store Objects under Info Area
If you select the first check box exclude selction pattern, this means that del of requests from change log table will be ignored.
or
We can delete the requests which are Older than N-number of days (or) date in the above screen. For this one, enter the number of days (or) date in the filed Older than .
OR
If we want to select the requests with a certain status then we can also do in the above screen. We can select the following status indicators from the above screen.
Delete Successfully Updated Requests Only -This status will delete only requests which
are successfully updated into corresponding Data Store objects.
Delete Incorrect Requests that were not Updated - This status will delete only incorrect requests which are not successfully updated into the corresponding Data Store Objects.
Delete Activation Requests only, No Load requests- This status will delete only the activation requests (requests that begin with ODSR_... ). No load requests are deleted. -
F-30: posting with clearing a document with special G/L indicator and tax
Hi All,
by t.code F-02 I've posted a document with the follow items:
PK SG Account Description
40 Bank G/L Account u20AC 1200,00
19 A Customer code u20AC 1000,00- (1000,00 amount and 200,00 tax amount)
50 Tax G/L Account u20AC 200,00-
If I launch the t.code F-30 (post with clearing), choose that customer and select the special G/L indicator "A", SAP displays
the document I've posted with an amount equal to 1.200,00- instead of 1000,00.
This does't allow me to clear the open Item....
Could anyone hel me?
Thanks
GandalfHi
A payment recorded with special GL indicator is automatically set as locked. This is sap program and cant be changed. When the related invoice is recorded , the down payment can be cleared with it using F-39, provided the down payment relates to the same sales / purchase order.
For the difference in customer amount, its difficult to answer as it may be due to wrong account selection or wrong amount entered in customer.
Thanks
kamala -
How to use functions and views in SMP2.3
Hi all,
I am new to SUP/SMP, I did some samples for hwc like create the MBO with object queries and operations using tables. Now i have a doubt
Is it possible to use sql functions in smp2.3?
If it possible how to use them?
for Select Query can i use stored procedure?
Ex: Select * from Employee where EmpID=:empid for this querey i wrote a stored procedure like this
Create procedure Emp_sp(@empID int)
as
begin
Select * from Employee where EmpID=@empID;
end
This procedure shown in my database connections profile.
I created an operation,
when i invoke the operation this procedure is visible in the operations list, i give the success screen in that i put a listview but here the attributes are not comming.
Is there any mistake in my approach,
Please suggest me.
Thank you.I will suggest you to look at official document for more understanding:
SyBooks Online -
HOW TO USE FUNCTION MODULE IN ALV
hi guyz
I developed an alv report using join statements .But i got all that fields in a function module. so how can i use function module in alv .
if i got a function module with all the fileds do i need to use select statement.
plz help me.
thanks
sudheerHi,
Hope the following helps..
1)
LOOP AT IT_OUTPUT.
Call the function module to get the tracking number and store the output in the
variable V_TRACKINGNO.
IT_OUTPUT-TRACKING_NO = V_TRACKINGNO.
MODIFY IT_OUTPUT TRANSPORTING TRACKING_NO.
ENDLOOP.
2) Date conversion
DATA: V_CHAR(10) VALUE '2006.11.17'.
DATA: V_DATE TYPE SYDATUM.
CONCATENATE V_CHAR(4) V_CHAR5(2) V_CHAR8(2) INTO V_DATE.
WRITE: V_DATE TO V_CHAR MM/DD/YYYY.
WRITE: / 'MM/DD/YYY Format - ', V_CHAR.
Please make sure to reward points for helpful answers..
Thanks,
Naren -
How to use function module to update data
Hello ,
Can any body have idea how we can use function module SAVE_TEXT to update the master recipe header and operation long text.
I want to use this functional module to update the master recipe long text
step by step procedure is highly appreciated
thanks & regards
siddhasrthHi
SAVE_TEXT
SAVE_TEXT writes a text module back to the text file or the text memory, depending on the storage mode of the corresponding text object.
You can use this module either to change existing texts or to create new texts. If you know for sure that the text is new, use the parameter INSERT to indicate this. The system then does not have to read the text first, which improves the performance of the function module.
If the lines table passed with the function module is empty, the system deletes the text from the text file.
Function call:
CALL FUNCTION 'SAVE_TEXT'
EXPORTING CLIENT = SY-MANDT
HEADER = ?...
INSERT = SPACE
SAVEMODE_DIRECT = SPACE
OWNER_SPECIFIED = SPACE
IMPORTING FUNCTION =
NEWHEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
check thi sample code
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = t_header
SAVEMODE_DIRECT = 'X'
* OWNER_SPECIFIED = ' '
* LOCAL_CAT = ' '
* IMPORTING
* FUNCTION =
* NEWHEADER =
TABLES
LINES = t_long
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
Reward all helpfull answers
Regards
Pavan -
How to use function module SALRT_CREATE_API to trigger alert in XI?
Hi experts,
I have read that alert can be triggered in BPM or through a FM SALRT_CREATE_API. Now how to use this FM?
In what XI scenario I can use this FM and how?
Any example will be really appreciated.
Thanks
GopalHi Gopal,
I am not sure if any function module like SALRT_CREATE_API is used to create ALERTS.
If you want to <b>create alerts</b>, just check this blog,
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
Next , after you have done this to <b>test your configuration</b>,
go to T code - SE38.
In the program , type RSALERTTEST and then click on EXECUTE button ( F8 ). In the next window, it will ask you for your ALERTCATEGORY. Just give the name of your ALERT CATEGORY and click EXECUTE.
If you have configured your alerts correctly, you will receive a message that tells ALERT IS GENERATED and will give the ALERT ID.
Now, go to your Run TIme workbench and then select ALERT INBOX and see if you have got the ALERT message in your ALERT INBOX.
Finally if you are on <b>SP14 or above</b> , check this note <b>913858</b>
and if <b>below SP14</b>, just check this blog,
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
And. to use this alerts in your BPM,
/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
Regards,
Bhavesh
Message was edited by: Bhavesh Kantilal -
How to use function module SAPGUI_SET_FUNCTIONCODE?
Hi all,
I understand that the function module SAPGUI_SET_FUNCTIONCODE is being used to manully trigger the PAI/PBO at the POV. However, I was not able to get it to even trigger anything. Need suggestion as of how to use this function module. I try to call it at the end of the POV but to no avail. Any help is greatly appreciated and rewarded.Hi,
Afer POV control will not go to PBO until y pressed ENTER . for overcome this you need to set a dummy OKCODE. in the following way.
CALL FUNCTION SAPGUI_SET_FUNCTIONCODE
EXPORTING
FUNCTIONCODE = =
EXCEPTION
FUNCTION_NOT_SUPPORTED = 1
OTHERS = 2
Here is the sample code
PROCESS BEFORE OUTPUT.
MODULES l201_blanklines.
LOOP RK intdrad WITH CONTROL tab_x CURSOR tab_x-current_line.
MODULES l201_init.
FINAL LOOP.
PROCESS AFTER INPUT.
MODULES l201_new.
LOOP RK intdrad.
CHAIN.
FIELD equi equnr.
MODULES l201_bear.
FINAL CHAIN.
FINAL LOOP.
MODULES l201_end.
Importantly
PROCESS ON VALUE REQUEST.
field EQUI EQUNR of modules ZZ_DMS_MULTIPLE_EQUIS.
Importantly
--End to screen Logic
Modules ZZ_DMS_MULTIPLE_EQUIS
CALL FUNCTION F4IF_FIELD_VALUE_REQUEST
EXPORTING
TABNAME = EQUI
FIELDNAME = EQUNR
SEARCHHELP = EQUI
SHLPPARAM = EQUNR
DYNPPROG = system-repid
DYNPNR = system-dynnr
DYNPROFIELD = EQUI EQUNR
MULTIPLE_CHOICE = X
TABLES
RETURN_TAB = lt_return_tab
EXCEPTION
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5
CALL FUNCTION SAPGUI_SET_FUNCTIONCODE
EXPORTING
FUNCTIONCODE = =
EXCEPTION
FUNCTION_NOT_SUPPORTED = 1
OTHERS = 2
CALL FUNCTION DYNP_VALUES_UPDATE
EXPORTING
DYNAME = system-repid
DYNUMB = system-dynnr
TABLES
DYNPFIELDS = lt_dynpfields
EXCEPTION
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
MORE INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
UNDEFIND_ERROR = 7
OTHERS = 8
Regards
Sudheer -
How to use functions in back camera in ipad2
Below is the tech spec for "Back Camera" of iPad2 however there is no info or discussion I could find on "how to use zoom function in still mode", can you help?
Back camera: Video recording, HD (720p) up to 30 frames per second with audio; still camera with 5x digital zoom
Also if I start a video recording then will it automatically start in HD mode or do I need to make any changes anywhere before recording starts?Video is always HD. You need to read the User Guide, page 61: User Guide
Maybe you are looking for
-
Adding More than one document to a cell in a dataform
Hi All, I am using EPM 11.1.1.1.0 . I have a planing application and I need to add three documents to a cell in a data form. Is there a way i can do this... I can add one document and can open it as well but did not find a way of adding more than one
-
Authorization Control through BSP
Hello, When we use cv04n from sap gui we are able control plantwise authorization but we are unble to control authorization from BSP using the service CVAW_ENTIRE. Suggest me to achive the above. Regards, Basis Team
-
Upgrading iTunes for Windows 7.4.3.1 to 7.5 - Quicktime not found?
My version of iTunes (7.4.3.1) works fine, as does QuickTime (v7.2) independent of iTunes. Yet, running the download for iTunes 7.5 results in an error message that installation cannot continue as QuickTime is needed. I downloaded the update a second
-
Pavilion dv6 mic not detected. Windows 7 64-bit.
mic not detected during speech recording, skype, or ym. tried setting up mic in the configuration in control panel, installing updated driver for idt high def audio CODEC but still does not work
-
HELLO EXPERTS, I have created one PO having 3 items, 100 quantity each.( item 1 100 quantity, item 2 100 quantity, item 3 100 quantity) from the three items now I don't need 2nd item and only 50 quantity of first item. the PO was created before 3 mo