Billing document creation with BAPI...

Question:
Hello;
For a particular reason we need create billing documents using a BAPI. So far I tryed "BAPI_BILLINGDOC_CREATEMULTIPLE" using sales order data. I cannot use 'BAPI_BILLINGDOC_CREATE' because it does not have input parameters.
Thanks in advance.
Answer:
Hello;
I am sorry, I should say I did not succed creating the billing documents with BAPIs "BAPI_BILLINGDOC_CREATEMULTIPLE" and 'BAPI_BILLINGDOC_CREATE' neither. Please any help on what I could be missing is appreciated.
Thanks in advance.
Answer:
Have you looked at 'BAPI_BILLINGDOC_CREATEFROMDATA'?
The interface seems fairly self-explanatory.
Regards,
Tim
Answer:
Yes, I looked at it but there are some parameters that I dio not know for the CONDITION_DATA_IN like DATA_INDEX, COND_VALUE, COND_CURR. The only one I know is the COND_TYPE.
Also there is the parameter structure CCARD_DATA_IN and CONDITION_DATA_IN does not have the flag optional checked on, which means I have to populate those one. Where can I get that info.
Answer:
Yes, I looked at it but there are some parameters that I dio not know for the CONDITION_DATA_IN like DATA_INDEX, COND_VALUE, COND_CURR. The only one I know is the COND_TYPE.
I'm not overly familiar with this BAPI,
but I would have thought this table would allow you
to make some pricing changes, if needed.
I would expect, if you wanted to change a line price:
COND_TYPE = PR00
COND_VALUE = 100
COND_CURR = GBP
DATA_INDEX = line item on billing document (presumably)
Also there is the parameter structure CCARD_DATA_IN and CONDITION_DATA_IN does not have the flag optional checked on, which means I have to populate those one.
It doesn't actually mean that;
it just means you have to declare both tables for your interface,
but you can leave them empty if you so wish.
Regards,
Tim
Answer:
Thanks Tim.
I will try it again.
Have a nice day.

More Articles:

LSMW?
what's the best way to .?
join konv with vbak?
To get opening stock?
Function module problem?
Save variant for dates in Batch job?