Billing type in BAPI_SALESORDER_CREATEFROMDAT2 function Module


Am creating sales orders through my program using the Function Module "BAPI_SALESORDER_CREATEFROMDAT2".
I have data(fields) for which i have to create a Sales orders.
I have mapped all the fields to the structures in the FM except Billing Type, I couldn't find where to map this "billing type" field in the Function Module.
I want to know into which structure's field in the above FM should this Billing type to be mapped.
Adithya M.


Why do you need to pass the Billing Type when you are creating the Sales Order? Only Sales order type is required in the sales order creation.
Based on the configuration maintained in the sales order, if future, system will create the specific type of delivery and Specific type of Billing document.
Naimesh Patel

October 11, 2015

Billing type in BAPI_SALESORDER_CREATEFROMDAT2 function Module

Hi, Am creating sales orders through my program using the Function Module "BAPI_SALESORDER_CREATEFROMDAT2". I have data(fields) for which i have to create a Sales orders. I have mapped all the fields to the structures in the FM except Billing Ty

Type conflict in function module parameters

Hi All, i hve to pass dynamic field <dyn_field> into function module parameters but  it's giving a dump for type conflict. where VALUE2  data type in 'AUTHORITY_CHECK' is UST12-VON but if i define <dyn_field> type UST12-VON . then it'll give d

Get Import Parameters of a Function Module

Hi, Is there a way to find the import parameters and their Data Type of a Function Module in any Table?? For example, i know i can find the name and the include of the Funtion Module in TFDIR. Is there anywhere i can find the list of Import Parameter

Function module to copy INVOIC IDOC

One of our customers use the IDOC message type INVOIC. When the IDOC are received and the proces has been started, we will like to make a copy of the IDOC with the status code 70. I know this functionality exist when we change the segment data using

Vf01 billing type attched smartform

Hi Friends, I make one smart form for service invoice. And fuctional person already defined billing types in vf01. so how can i attached my smartform with that perticular billing type. Its functional work or technical? I don't know so please help me

How to add a created Z function module to the existing list in WE21

Hi all, There is some existing function modules ( like EDI_PATH_CREATE_CLIENT_DOCNUM ) in WE21 in the function module field. here, i need to create one Z function module as per user requirement & want to add to that list.  is it possible??? actually,

Function Module to Edit Billing Document Header (table VBRK)

Hi all, Can someone tell me if there is a function module that can edit the billing document header please?  I do not need to created the billing document, it already exists.  I just need to edit specific fields. Many thanks.The requirement is to upd

Types of function Modules

What are different types of function modules ?? Please tell in detail about Normal function modules and RFC enabled functional modules ? I have searched other threads also but did not get the enough descriptions of the same. Please respond !Hi Shreya

SAP Function Module Converting Stock UoM to the Billing UoM of the material

Hi Guys, I'm looking for an SAP Function Module that can handle the automatic conversion of a material's Stock Unit of Measure into its Billing Unit of Measure. Any idea?  Thank you in advance. -allexHi,      Check this Function module OIU_QCI_CALC_B

Types in function modules

hi   i want to know how many types of function modules are there please help in this . thankyou pavanHi, You have so much information regarding this in sdn. But function modules basically classified into 1)Normal Function Module 2)Remote-Enabled Modu

Receiver Type Function Module in SWE2 use of export parameter.

i am trying to understand the underlying concept in following things:(neednot to say i have searched alot and read sap documentation already). In event type linkage table say i have an entry for BOR -> AFVC_PM. As per sap Documentation says all these

How to access Business object type attribute from a method/function modul ?

Hello, i have created a business object type object along with attributes and methods. Now inside the method i want to access the attributes. inside the method i am writing: data a type XXX. a = me->attribute this is creating a compilation error. Now

Function Module to update Bill of Lading & No. of packages in a Delivery

Hi, Can any one suggest me a function module to update Bill of Lading & No. of packages in a Delivery ? Thanks in Advance.Hi: I am also trying to update components of PM. I used the function CO2M_COMPONENT_CHANGE_WITH_REF, but I am not sure if I am p

Want to change data type CHAR32 to CHAR40 in cutomized function module(CRM)

Hi Friends,      I have a requirement to change the data type CHAR32 to char40 .      Pls guide me how to do I need to change it directly or we have do anymore changes? Thx in Adv. BabaHello Baba, In my opinion the length of a data field has li

Suggest me way for calling Function Module in BSP page

Dear Friends, I want to create sales order using BSP. For that there is an bapi called BAPI_SALES_CREATEFROMDAT2. I have two ways to do that. 1. I will create all the required structure on the BW system and then i can call the bapi. 2. I will create

Function module to create Invoice from the Delivery no ?

Hi All, Is there any way (function module) to create an Invoice from the Delivery no and the Billing Type ? We do not want to go with BDC for transaction VF01. Details: We want to generate a pro-forma invoice while saving the delivery. We will have '

Execute function module using outputs

Hi, I want to create reservations automatically when a rental sales order is saved. I have the function module for creating reservations and want to know if I can execute it using outputs. I don't want to include code in user exits. Can anyone sugges

Need help for the Function Module 'PFL_GET_PARAMETER_INFO'

Hi Experts, The FM 'PFL_GET_PARAMETER_INFO'  returns the value for Profile Parameters for a system . The inputs required for this FM are :   1.   Parameter name  : ( eg . login/min_password_lng etc. )                      2 . Parameter Type I am not

Function module: bpc application to DSO

Hi friends, i'm trying to write bpc application data to DSO via BADI.  Is there any function module to update DSO? Thanks,Hi Naresh, It is important to use the right kind of DSO. Only DSOs for Direct Update support writing with a function module. The

Regarding function module

hi all, could u pls help me on my thread. in my program data:p_molga type molga. select-options:s_molga for p_molga. in function module source code select         pernr         jobseq         docnum         molga         bukrs         jobname